Browse Source

[专题跳转问题修改]

newMall
liuhui 5 years ago
parent
commit
256834325d
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      pages/index/index.js

+ 7
- 0
pages/index/index.js View File

@@ -196,6 +196,7 @@ Page({
}
})
.then(res => {
console.log(options,77777777)
//参与拼团
if (options && options.orderGroupId) {
wx.redirectTo({
@@ -439,6 +440,12 @@ Page({
url: `/pages/getuserinfo/index?orderId=${options.orderId}&from='${"discount"}`
})
}
// 专题
else if (options && options.id && app.globalData.type == 'td') {
wx.redirectTo({
url: `/pages/topicDetail/index?id=${options.id}`
});
}
// 通过分享进入的门店详情
else if (options && options.id && options.frommd == 'md') {
wx.redirectTo({


Loading…
Cancel
Save