Authored by 邱骏

Merge branch 'develop' of http://git.yoho.cn/fe/yoho-limited-sell-miniapp into develop

@@ -482,9 +482,7 @@ Page(Object.assign({ @@ -482,9 +482,7 @@ Page(Object.assign({
482 482
483 if ((this.data.avatarList.length + 1) === this.data.assistLimit) { 483 if ((this.data.avatarList.length + 1) === this.data.assistLimit) {
484 detailModel.getLimitCode(this.data.originUid, this.data.limitProductCode); 484 detailModel.getLimitCode(this.data.originUid, this.data.limitProductCode);
485 - } else if (this.data.avatarList.length === this.data.assistLimit) {  
486 - detailModel.getLimitCode(this.data.originUid, this.data.limitProductCode);  
487 - } 485 + }
488 } else if (result.code === 401) { 486 } else if (result.code === 401) {
489 this.setData({ 487 this.setData({
490 assistSuccess: ASSIST_SUCCESS.REPEAT 488 assistSuccess: ASSIST_SUCCESS.REPEAT
@@ -100,11 +100,11 @@ @@ -100,11 +100,11 @@
100 </block> 100 </block>
101 </block> 101 </block>
102 102
103 - <block wx:elif="{{showStatus === 2 || showStatus === 7}}"> 103 + <block wx:elif="{{showStatus === 2}}">
104 <block wx:if="{{productSourceType === 1}}"> 104 <block wx:if="{{productSourceType === 1}}">
105 <action-bar> 105 <action-bar>
106 <view class="bottom1-action"> 106 <view class="bottom1-action">
107 - <view class="as-bottom cancel">立即购买</view> 107 + <view class="as-bottom cancel">限购码已抢光</view>
108 </view> 108 </view>
109 </action-bar> 109 </action-bar>
110 </block> 110 </block>
@@ -149,7 +149,7 @@ @@ -149,7 +149,7 @@
149 <block wx:elif="{{showStatus === 5}}"> 149 <block wx:elif="{{showStatus === 5}}">
150 <action-bar> 150 <action-bar>
151 <view class="bottom1-action"> 151 <view class="bottom1-action">
152 - <view class="as-bottom cancel">即将售罄</view> 152 + <view class="as-bottom cancel">限购码已抢光</view>
153 </view> 153 </view>
154 </action-bar> 154 </action-bar>
155 </block> 155 </block>
@@ -162,6 +162,24 @@ @@ -162,6 +162,24 @@
162 </action-bar> 162 </action-bar>
163 </block> 163 </block>
164 164
  165 + <block wx:elif="{{showStatus === 7}}">
  166 + <block wx:if="{{productSourceType === 1}}">
  167 + <action-bar>
  168 + <view class="bottom1-action">
  169 + <view class="as-bottom cancel">立即购买</view>
  170 + </view>
  171 + </action-bar>
  172 + </block>
  173 + <block wx:if="{{productSourceType === 2}}">
  174 + <action-bar>
  175 + <view class="top-assist-action">
  176 + <view class="top-title" >当前活动已结束</view>
  177 + <view class="as-bottom ok" bindtap="goList">查看其他活动</view>
  178 + </view>
  179 + </action-bar>
  180 + </block>
  181 + </block>
  182 +
165 <block wx:else> 183 <block wx:else>
166 <action-bar> 184 <action-bar>
167 <view class="top-assist-action"> 185 <view class="top-assist-action">
@@ -184,7 +202,7 @@ @@ -184,7 +202,7 @@
184 202
185 <action-bar wx:elif="{{queueStatus === 2}}"> 203 <action-bar wx:elif="{{queueStatus === 2}}">
186 <view class="bottom1-action"> 204 <view class="bottom1-action">
187 - <view class="as-bottom ok" bindtap="goQueueList">参加排队</view> 205 + <view class="as-bottom ok" bindtap="goQueueList">参加排队赢取限购码</view>
188 <view class="help" bindtap="goHelp">?</view> 206 <view class="help" bindtap="goHelp">?</view>
189 </view> 207 </view>
190 </action-bar> 208 </action-bar>
@@ -103,12 +103,12 @@ @@ -103,12 +103,12 @@
103 103
104 .bottom1-action .help { 104 .bottom1-action .help {
105 position: absolute; 105 position: absolute;
106 - height: 36rpx;  
107 - width: 36rpx;  
108 - line-height: 36rpx;  
109 - border-radius: 18rpx; 106 + height: 50rpx;
  107 + width: 50rpx;
  108 + line-height: 50rpx;
  109 + border-radius: 25rpx;
110 color: #fff; 110 color: #fff;
111 - font-size: 28rpx; 111 + font-size: 40rpx;
112 background-color: #d0021b; 112 background-color: #d0021b;
113 right: 30rpx; 113 right: 30rpx;
114 top:50%; 114 top:50%;