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