Przeglądaj źródła

[公众号链接][修改]:专题活动页修改

tags/湖南版5.1.4
Stormeye Wu 6 lat temu
rodzic
commit
df5d88bc11
2 zmienionych plików z 7 dodań i 7 usunięć
  1. +3
    -3
      pages/getuserinfo/index.js
  2. +4
    -4
      pages/index/index.js

+ 3
- 3
pages/getuserinfo/index.js Wyświetl plik

@@ -124,7 +124,7 @@ Page({
} else if (that.data.orderId&&app.globalData.type=='bg') {
// 参与砍价
wx.navigateTo({
url: `/pages/bargain/bargainDatail/bargainDatail?orderId=${that.data.orderId}&from=${"friend"}`
url: `/pages/bargain/bargainDatail/bargainDatail?orderId=${that.data.orderId}`
});
} else if (app.globalData.type == 'uc') {
// 我的
@@ -172,7 +172,7 @@ Page({
url: '/pages/bargain/bargain?from=myhtml'
});
} else if (app.globalData.type == 'sl') {
// 我的拼团
// 拼团专场
wx.redirectTo({
url: '/pages/spellGroup/spellGroup'
});
@@ -186,7 +186,7 @@ Page({
wx.redirectTo({
url: '/pages/discountCardList/discountCardList'
});
} else if (app.globalData.type == 'td') {
} else if (options && options.id && app.globalData.type == 'td') {
// 专题活动页
wx.redirectTo({
url: '/pages/topicDetail/index'


+ 4
- 4
pages/index/index.js Wyświetl plik

@@ -147,7 +147,7 @@ Page({
} else if (options && options.orderId && app.globalData.type == 'bg') {
// 参与砍价
wx.redirectTo({
url: `/pages/bargain/bargainDatail/bargainDatail?orderId=${options.orderId}&from='${"discount"}`,
url: `/pages/bargain/bargainDatail/bargainDatail?orderId=${options.orderId}&from=${"discount"}`,
})
} else if (app.globalData.type == 'uc') {
// 我的
@@ -195,7 +195,7 @@ Page({
url: '/pages/bargain/bargain?from=myhtml'
});
} else if (app.globalData.type == 'sl') {
// 我的拼团
// 拼团专场
wx.redirectTo({
url: '/pages/spellGroup/spellGroup'
});
@@ -209,10 +209,10 @@ Page({
wx.redirectTo({
url: '/pages/discountCardList/discountCardList'
});
} else if (app.globalData.type == 'td') {
} else if (options && options.id && app.globalData.type == 'td') {
// 专题活动页
wx.redirectTo({
url: '/pages/topicDetail/index'
url: `/pages/topicDetail/index?id=${options.id}`
});
} else if (app.globalData.type == 'ml') {
// 门店


Ładowanie…
Anuluj
Zapisz