Commit d6a7068cdcab8a7db6d74781edcd35ecfd44e1ee

Authored by 后端研发-苏泰源
1 parent 4a52d8ca

幸运购修改

packageC/pages/luckyGo/luckyGo_activityList/luckyGo_activityList.wxss
... ... @@ -70,6 +70,7 @@ page {
70 70  
71 71 .name {
72 72 height: 88rpx;
  73 + word-break: break-all;
73 74 }
74 75  
75 76 .no-more {
... ...
packageC/pages/luckyGo/luckyGo_details/luckyGo_details.js
... ... @@ -113,16 +113,17 @@ Page({
113 113  
114 114  
115 115 onUnload: function () {
116   - console.log('999999999999999999999onUnolad~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~',this.data.luckyGoInfo);
117 116 // 开团成功后,清除storage里的team_id
118   - if(this.data.luckyGoInfo && this.data.luckyGoInfo.num == 0) {
119   - wx.removeStorageSync('team_id');
120   - };
121   - // 如果是从会员中心的幸运购列表点击进来的,退出时清除storage里的team_id
122   - if(this.data.param.from == 1) {
123   - let team_id = wx.getStorageSync('team_id');
124   - if(team_id != null && team_id != undefined) wx.removeStorageSync('team_id');
125   - };
  117 + // if(this.data.luckyGoInfo && this.data.luckyGoInfo.num == 0) {
  118 + // wx.removeStorageSync('team_id');
  119 + // };
  120 + // // 如果是从会员中心的幸运购列表点击进来的,退出时清除storage里的team_id
  121 + // if(this.data.param.from == 1) {
  122 + // let team_id = wx.getStorageSync('team_id');
  123 + // if(team_id != null && team_id != undefined) wx.removeStorageSync('team_id');
  124 + // };
  125 +
  126 + wx.removeStorageSync('team_id');
126 127 },
127 128  
128 129 //关闭展开列表
... ...
packageC/pages/luckyGo/luckyGo_goodsInfo/luckyGo_goodsInfo.wxml
... ... @@ -922,7 +922,7 @@
922 922 <!-- openSpecModel_pt -->
923 923 <view class="xc-ash-b f1 flex ai-center jc-center white fs26" wx:if="{{isTimeUp}}">活动已经结束</view>
924 924 <block wx:else>
925   - <view class="btn-red f1 flex ai-center jc-center" bindtap="go" data-it="0" data-url="/packageC/pages/luckyGo/luckyGo_details/luckyGo_details?group_id={{luckGoInfo.id}}&goods_id={{luckGoInfo.goods_id}}&goods_name={{data.goods_name}}&team_id={{buyInfo.team_id}}&&from=list" wx:if="{{showDetails}}">查看详情</view>
  925 + <view class="btn-red f1 flex ai-center jc-center" bindtap="go" data-it="0" data-url="/packageC/pages/luckyGo/luckyGo_details/luckyGo_details?group_id={{luckGoInfo.id}}&goods_id={{luckGoInfo.goods_id}}&goods_name={{data.goods_name}}&team_id={{buyInfo.team_id}}" wx:if="{{showDetails}}">查看详情</view>
926 926 <view class="btn-red f1 flex ai-center jc-center" bindtap="openSpecModel_pt" data-it="0" wx:elif="{{!showDetails && surplus != 0 && canBuy}}">立即参团</view>
927 927 <view class="f1 flex ai-center jc-center xc-ash-b fs26 white" wx:elif="{{!showDetails && surplus == 0}}">已经抢光了</view>
928 928 <view class="f1 flex ai-center jc-center xc-ash-b fs26 white" wx:elif="{{!showDetails && surplus != 0 && !canBuy}}">已超限购次数</view>
... ...
pages/index/index/index.wxss
... ... @@ -1180,6 +1180,7 @@ page {
1180 1180  
1181 1181 .luck .name {
1182 1182 height: 88rpx;
  1183 + word-break: break-all;
1183 1184 }
1184 1185  
1185 1186  
... ...