Parcourir la source

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

tags/湖南版5.1.4
Stormeye Wu il y a 6 ans
Parent
révision
df5d88bc11
2 fichiers modifiés avec 7 ajouts et 7 suppressions
  1. +3
    -3
      pages/getuserinfo/index.js
  2. +4
    -4
      pages/index/index.js

+ 3
- 3
pages/getuserinfo/index.js Voir le fichier

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


+ 4
- 4
pages/index/index.js Voir le fichier

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


Chargement…
Annuler
Enregistrer