摘要:
获取手机号第一次不能在开发工具中使用,需要在真机上获取,第一次需要用户获取短信验证码。 微信小程序代码: getPhoneNumber: function (e) { if (e.detail.errMsg == 'getPhoneNumber:fail user deny') { that.cal 阅读全文
摘要:
微信小程序中使用weui将weui.wxss文件放在与app.wxss同目录下在app.wxss中引入 @import 'weui.wxss';直接在小程序页面中使用weui的class。详情https://github.com/Tencent/weui-wxss/blob/master/dist/ 阅读全文