Authored by 李奇

未登录状态下修改

@@ -60,13 +60,20 @@ @@ -60,13 +60,20 @@
60 <view class="action-item action-list" bindtap="goList"> 60 <view class="action-item action-list" bindtap="goList">
61 <image class="action-image" src="./images/list_icon@2x.png"></image> 61 <image class="action-image" src="./images/list_icon@2x.png"></image>
62 </view> 62 </view>
63 - 63 + <block wx:if="{{product.status === 1}}">
  64 + <button class="action-item over" bindtap="goLogin">即将开始</button>
  65 + </block>
64 <block wx:if="{{product.status === 2}}"> 66 <block wx:if="{{product.status === 2}}">
65 <button class="action-item confirm" bindtap="goLogin">0元参加抽奖</button> 67 <button class="action-item confirm" bindtap="goLogin">0元参加抽奖</button>
66 </block> 68 </block>
67 -  
68 - <block wx:else>  
69 - <view class="action-item over">活动已结束</view> 69 + <block wx:if="{{product.status === 3}}">
  70 + <button class="action-item over" bindtap="goLogin">等待开奖中</button>
  71 + </block>
  72 + <block wx:if="{{product.status === 4}}">
  73 + <button class="action-item over" bindtap="goLogin">活动已结束</button>
  74 + </block>
  75 + <block wx:if="{{product.status === 5}}">
  76 + <button class="action-item over" bindtap="goLogin">等待开奖中</button>
70 </block> 77 </block>
71 </view> 78 </view>
72 </block> 79 </block>