摘要: (app,小程序) uni.scanCode({ onlyFromCamera: true, //只能通过相机扫码 success: function (res) { if(res.result.indexOf("%")!=-1){ var str = res.result.substr(50); 阅读全文
posted @ 2022-01-25 14:58 Monroe_Yu 阅读(888) 评论(0) 推荐(0) 编辑
摘要: (公众号打开小程序) 第一步->进入项目目录: npm install jweixin-module --save 第二步->在要调用得页面里面 import jweixin from 'jweixin-module' 第三步->获取签名信息 视图层:因为我是多个跳转按钮所以用一个for循环 <bl 阅读全文
posted @ 2022-01-25 11:16 Monroe_Yu 阅读(643) 评论(0) 推荐(0) 编辑