Comments (9)
可以用 jssdk 的方法 wx.closeWindow()
from weui.js.
jssdk 是不是需要引入才可以使用?
from weui.js.
是的,使用方式详见 https://mp.weixin.qq.com/wiki 微信网页开发——微信JS-SDK说明文档
from weui.js.
麻烦问一下其它功能不需要,就单独的关闭页面操作,不使用微信JS-SDK操作,常规方法是不生效的?
from weui.js.
常规的 windows.close()
估计不生效,但是可以试试 WeixinJSBridge.invoke('closeWindow');
。在微信内有 WeixinJSBridge
对象,closeWindow 好像不用签名鉴权
from weui.js.
谢谢你,刚才试了一下是可以的。:gift_heart:
from weui.js.
不客气~
from weui.js.
ios 貌似不生效
from weui.js.
IOS不生效 有什么办法可以解决吗
from weui.js.
Related Issues (20)
- 建议大家使用weui之马版,是别人改良好的版本 HOT 3
- 为什么高版本不能兼容低版本勒 HOT 1
- input输入框在ios暗色模式下,显示异常,请问这个要怎么处理呢?
- 简直了:引用weui.css和weui.min.css导致Half-screen Dialog的展示结果不一样,这算BUG吗? HOT 1
- Body设置居中后,Slider点击滑块值问题 HOT 1
- 示例中uploader图片手动上传的问题 HOT 1
- picker关闭没效果,closeText也没有效果
- 不支持夜间模式啊。。。
- 安卓手机(小米) 系统浏览器使用Uploader组件上传多张图片时,页面会自动刷新 HOT 1
- uploader如何在上载的时候添加其他表单数据?
- 是否可以设置isAndroid的默认值
- weui.uploader 在安卓系统效果正常,但是在IOS系统失效
- 华为mate 20 pro ,荣耀10,内嵌h5页面在使用weui-uploader拍照,点击确定后不回显图片,相册原本图片都不显示了,请问能否提供下解决问题思路,其他手机正常。 HOT 1
- uploader的 input file 多图上传BUG
- 安卓手机浏览器使用actionSheet弹出来的样式不对 是一个弹窗了
- 1.2.19 js 移动端 picker 点击会多次触发 onChange HOT 1
- bala.js 已经改名成 tsimmes 了,应该更新下依赖 HOT 1
- 只需要使用到某个组件,有单个组件对应的代码文件吗?
- datePicker 显示年月2级时报错啦~!
- picker数组格式问题
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from weui.js.