Commit 59f6ed4ed1facb2140eac9fd224e9b4a3ed5252e
1 parent
bb0a834d
分享的优化
Showing
1 changed file
with
7 additions
and
1 deletions
packageA/pages/goodsInfo/goodsInfo.js
... | ... | @@ -3726,7 +3726,7 @@ Page({ |
3726 | 3726 | var unit = that.data.screenWidth / 750 * 1.35; //基础单位, |
3727 | 3727 | var path2 = that.data.data.original_img; |
3728 | 3728 | |
3729 | - var scene = th.data.gid + "_"+th.data.presellList.id; | |
3729 | + var scene = th.data.gid; | |
3730 | 3730 | var user_id = getApp().globalData.user_id ? getApp().globalData.user_id : 0; |
3731 | 3731 | if (user_id > 0) { |
3732 | 3732 | scene += "_" + user_id; |
... | ... | @@ -3736,6 +3736,12 @@ Page({ |
3736 | 3736 | //固定房间是第3个字符 |
3737 | 3737 | if (!user_id) scene += "_0"; |
3738 | 3738 | scene += "_" + getApp().globalData.room_id; |
3739 | + }else{ | |
3740 | + if (!user_id) scene += "_0"; | |
3741 | + scene += "_0"; | |
3742 | + } | |
3743 | + if(this.data.prom_type){ | |
3744 | + scene += "_" + this.data.prom_type+"_"+th.data.prom_id; | |
3739 | 3745 | } |
3740 | 3746 | |
3741 | 3747 | ... | ... |