| @@ -384,11 +384,102 @@ Page({ | |||
| wx.redirectTo({ | |||
| url: `/pages/getuserinfo/index?id=${options.id}&frommd=md` | |||
| }); | |||
| }// 门店详情 | |||
| else if (options && options.id && app.globalData.type == 'md') { | |||
| wx.redirectTo({ | |||
| url: `/pages/index/searchbar/detail/index?id=${options.id}` | |||
| }); | |||
| } 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 (options && options.id && app.globalData.type == 'ra') { | |||
| // 砍价专场 | |||
| else if (app.globalData.type == 'bl') { | |||
| // 砍价专场 | |||
| wx.redirectTo({ | |||
| url: `/pages/radetail/index?id=${options.id}`, | |||
| 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' | |||
| }) | |||
| } | |||
| // 兑换 | |||
| @@ -396,7 +487,13 @@ Page({ | |||
| wx.redirectTo({ | |||
| url: '/pages/exchange/exchange' | |||
| }) | |||
| } else { | |||
| } | |||
| // 门店 | |||
| else if (app.globalData.type == 'ml') { | |||
| wx.switchTab({ | |||
| url: '/index/searchbar' | |||
| }) | |||
| } else { | |||
| wx.switchTab({ | |||
| url: '/index/index', | |||
| }) | |||