Authored by 李奇

Merge branch 'hotfix/button-status' into 'master'

未登录状态下按钮文案优化



See merge request !11
@@ -64,11 +64,14 @@ @@ -64,11 +64,14 @@
64 <view class="action-item action-list" bindtap="goList"> 64 <view class="action-item action-list" bindtap="goList">
65 <image class="action-image" src="./images/list_icon@2x.png"></image> 65 <image class="action-image" src="./images/list_icon@2x.png"></image>
66 </view> 66 </view>
67 -  
68 - <block wx:if="{{product.status === 2}}">  
69 - <button class="action-item confirm" bindtap="goLogin">0元参加抽奖</button>  
70 - </block>  
71 - 67 + <block wx:if="{{product.status === 1 || product.status === 2}}">
  68 + <block wx:if="{{product.status === 1}}">
  69 + <button class="action-item over" bindtap="goLogin">即将开始</button>
  70 + </block>
  71 + <block wx:if="{{product.status === 2}}">
  72 + <button class="action-item confirm" bindtap="goLogin">0元参加抽奖</button>
  73 + </block>
  74 + </block>
72 <block wx:else> 75 <block wx:else>
73 <view class="action-item over">活动已结束</view> 76 <view class="action-item over">活动已结束</view>
74 </block> 77 </block>