| @@ -13,6 +13,7 @@ Page({ | |||
| */ | |||
| onLoad: function(options) { | |||
| let that = this; | |||
| console.log(options); | |||
| wx.showToast({ | |||
| title: '加载中', | |||
| icon: "loading", | |||
| @@ -309,7 +310,6 @@ Page({ | |||
| } | |||
| // 我的拼团 | |||
| else if (app.globalData.type == 'ms') { | |||
| // 我的拼团 | |||
| wx.redirectTo({ | |||
| url: '/pages/spellGroup/spellGroup?from=myhtml' | |||
| }) | |||
| @@ -378,6 +378,104 @@ Page({ | |||
| wx.redirectTo({ | |||
| url: `/pages/getuserinfo/index?id=${options.id}&frommd=md` | |||
| }); | |||
| } else if (app.globalData.type == 'uc') { | |||
| wx.switchTab({ | |||
| url: '/index/user' | |||
| }); | |||
| } | |||
| // 积分 | |||
| else if (app.globalData.type == 'jf') { | |||
| wx.redirectTo({ | |||
| url: '/pages/integralmall/index' | |||
| }); | |||
| } | |||
| // 首页 | |||
| else if (app.globalData.type == 'in') { | |||
| wx.switchTab({ | |||
| url: '/index/index' | |||
| }); | |||
| } | |||
| // 停车 | |||
| else if (app.globalData.type == 'pc') { | |||
| // 停车 | |||
| wx.switchTab({ | |||
| url: '/index/passCar' | |||
| }); | |||
| } | |||
| // 我的券包 | |||
| else if (app.globalData.type == 'mc') { | |||
| // 我的券包 | |||
| wx.redirectTo({ | |||
| url: '/pages/couponorder/index/index' | |||
| }); | |||
| } | |||
| // 我的订单 | |||
| else if (app.globalData.type == 'mo') { | |||
| // 我的订单 | |||
| wx.redirectTo({ | |||
| url: '/pages/order/index/index?id=all' | |||
| }); | |||
| } | |||
| // 我的卡包 | |||
| else if (app.globalData.type == 'ca') { | |||
| // 我的卡包 | |||
| wx.redirectTo({ | |||
| url: '/pages/cardorder/index/index' | |||
| }); | |||
| } | |||
| // 特享礼遇 | |||
| else if (app.globalData.type == 'sc') { | |||
| // 特享礼遇 | |||
| wx.redirectTo({ | |||
| url: '/pages/specialcourtesy/specialcourtesy' | |||
| }); | |||
| } | |||
| // 限时秒杀 | |||
| else if (app.globalData.type == 'rb') { | |||
| // 限时秒杀 | |||
| wx.redirectTo({ | |||
| url: '/pages/rushToBuy/index' | |||
| }) | |||
| } | |||
| // 砍价专场 | |||
| else if (app.globalData.type == 'bl') { | |||
| // 砍价专场 | |||
| wx.redirectTo({ | |||
| url: '/pages/bargain/bargain' | |||
| }) | |||
| } | |||
| // 我的砍价 | |||
| else if (app.globalData.type == 'mb') { | |||
| // 我的砍价 | |||
| wx.redirectTo({ | |||
| url: '/pages/bargain/bargain?from=myhtml' | |||
| }) | |||
| } | |||
| // 拼团专场 | |||
| else if (app.globalData.type == 'sl') { | |||
| // 拼团专场 | |||
| wx.redirectTo({ | |||
| url: '/pages/spellGroup/spellGroup' | |||
| }) | |||
| } | |||
| // 我的拼团 | |||
| else if (app.globalData.type == 'ms') { | |||
| wx.redirectTo({ | |||
| url: '/pages/spellGroup/spellGroup?from=myhtml' | |||
| }) | |||
| } | |||
| // 消费卡 | |||
| else if (app.globalData.type == 'dc') { | |||
| // 消费卡 | |||
| wx.redirectTo({ | |||
| url: '/pages/discountCardList/discountCardList' | |||
| }) | |||
| } | |||
| // 门店 | |||
| else if (app.globalData.type == 'ml') { | |||
| wx.switchTab({ | |||
| url: '/index/searchbar' | |||
| }) | |||
| } else { | |||
| wx.switchTab({ | |||
| url: '/index/index', | |||