數(shù)據(jù)驅(qū)動(dòng)、堅(jiān)持為客戶提供有價(jià)值的服務(wù)和內(nèi)容
傳遞字符串
//傳遞參數(shù)(?model中,model是下個(gè)頁(yè)面獲取時(shí)的key)
click:function(e){
var model = this.data.str;
wx.navigateTo({
url: '../detail/detail?model=' + model,
})
}
//在下個(gè)頁(yè)面的onload中獲取,