第一步:小程序內單獨新建page,在.wxml文件里,url就是跳轉的路徑,線上需要https,并且在公眾平臺配置了開發(fā)管理-》開發(fā)設置-》業(yè)務...
// 模糊匹配 fuzzyMatch(str, key){ let index = -1, flag = false; for(var ...
<view @click=getUserInfo">獲取微信信息</view> // 獲取用戶信息 getUserInfo() { if(thi...
onLoad(options){ if(options.scene != undefined){ console.log(decodeURICo...
設置兩行樣式就可以啦 <rich-text class="rich-val" :nodes="detail"></rich-text> .ric...
Page({ /** *頁面的初始數(shù)據(jù) */ data:{ }, /** *生命周期函數(shù)--監(jiān)聽頁面加載 */ onLoad:function(...
layui.use(['element'],function(){ letelement=parent.layui.element; //獲...
.border-b:after { position: absolute; content: ''; width: 100%; left...
注意1: 第一次使用報錯 wx.requestSubscribeMessage is not undefined 原因是因為這個api是從2.8...