摘要:
//watch.js /** * 设置监听器 */ function setWatcher(page) { let data = page.data; let watch = page.watch; // page.watch!=undefined用于解决Cannot convert undefin 阅读全文
摘要:
1. jssdk 必须1.60 以上 2. 在wx.config 进行注册 wx.config({ debug: false, appId: data.data.appid, timestamp: data.data.timestamp, nonceStr: data.data.noncestr, 阅读全文
摘要:
转载:https://news.cnblogs.com/n/689215/ 作者: itwriter 阅读全文
摘要:
ruleNave(goUrl){ const _this = this ; var ua = navigator.userAgent.toLowerCase(); if(ua.match(/MicroMessenger/i)=="micromessenger") { //ios的ua中无miniPr 阅读全文
摘要:
<scroll-view :style="{height:autoHeight}" :scroll-y="true" @scrolltolower="scrolltolower" @scroll="scroll" :scroll-into-view="toView" :scroll-with-ani 阅读全文
摘要:
getCity(){ const _this = this ; wx.request({ url: 'https://pv.sohu.com/cityjson?ie=utf-8', data: {}, header: { 'Content-Type': 'application/json' }, s 阅读全文
摘要:
1.下载city.js (https://download.csdn.net/download/qq_39023042/15502002) 2. 引入citys import citys from "@/utils/citys"; 3. 城市分组 // onLoad 里面: // 筛选level 3 阅读全文
摘要:
1.首先引入qrCode.js . 下载地址:https://download.csdn.net/download/qq_39023042/15501782 import QR from "@/utils/qrcode"; 2. template 里面 <img class="qr_pic" :sr 阅读全文