Commit 150fb469 by 高淑倩

modify: 小程序配置

parent 51a24553
......@@ -10,6 +10,7 @@ App({
},
onShow: function (options = {}) {
console.log('app-onshow', options)
// 是不是第一次进入小程序
const baseUserInfo = wx.getStorageSync('_baseUserInfo')
if (baseUserInfo) {
......
{
"pages": [
"pages/userCenter/userCenter",
"pages/welcome/welcome",
"pages/mySpend/mySpend",
"pages/memberOfOwn/memberOfOwn",
"pages/userCenter/userCenter",
"pages/memberRules/memberRules",
"pages/integralWater/integralWater",
"pages/deliveryService/deliveryService",
......@@ -11,8 +11,7 @@
"pages/couponDetail/couponDetail",
"pages/consumptionDetails/consumptionDetails",
"pages/IntegralMall/IntegralMall",
"pages/integralMallDetail/integralMallDetail",
"component/personCenter/personCenter"
"pages/integralMallDetail/integralMallDetail"
],
"window": {
"backgroundTextStyle": "light",
......
......@@ -20,6 +20,7 @@ wxService.page({
})
},
onShow(){
console.log('===1===1111', this.options)
},
onLoad: function () {
// if (app.globalData.userInfo) {
......
......@@ -436,8 +436,9 @@ class WXService extends Http {
}
})
} else {
this.router('/pages/index/index')
console.log('开卡成功跳转')
// this.router('/pages/index/index')
this.router('/pages/memberRules/memberRules')
console.log('取消开卡跳转')
}
},
complete: () => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment