Commit de739b4a by 高淑倩

商品详情页

parent 105ad21a
...@@ -23,7 +23,7 @@ wxService.page({ ...@@ -23,7 +23,7 @@ wxService.page({
memberLevel: false, memberLevel: false,
showCardModal: false, showCardModal: false,
currentShareContent: null, currentShareContent: null,
fromZc : false, fromZc: false,
}, },
/** /**
...@@ -37,7 +37,7 @@ wxService.page({ ...@@ -37,7 +37,7 @@ wxService.page({
fromZc: options.fromZc == 1 fromZc: options.fromZc == 1
}); });
//不是从种草过来的, 需要清除本地临时的触点信息 //不是从种草过来的, 需要清除本地临时的触点信息
if (!options.fromZc){ if (!options.fromZc) {
wx.removeStorageSync('TEMP_TENTACLE_INFO'); wx.removeStorageSync('TEMP_TENTACLE_INFO');
wx.removeStorageSync('TIME_EXPIRATION'); wx.removeStorageSync('TIME_EXPIRATION');
} }
...@@ -238,8 +238,9 @@ wxService.page({ ...@@ -238,8 +238,9 @@ wxService.page({
let parmas = { let parmas = {
trolleySku2Buy: JSON.stringify(trolleySku2Buy) trolleySku2Buy: JSON.stringify(trolleySku2Buy)
} }
const { fromZc } = this.data
//判断是否从种草商品过来购买 //判断是否从种草商品过来购买
if (fromZc){ if (fromZc) {
wxService.updateLocalTentacleInfo(); wxService.updateLocalTentacleInfo();
} }
wxService wxService
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment