|
@@ -3,6 +3,9 @@
|
|
<view class="award-bottom">
|
|
<view class="award-bottom">
|
|
<text class="award-title">{{award.title}} x {{award.winner_count}}</text>
|
|
<text class="award-title">{{award.title}} x {{award.winner_count}}</text>
|
|
<text class="award-time">{{award.draw_ts}} 自动开奖</text>
|
|
<text class="award-time">{{award.draw_ts}} 自动开奖</text>
|
|
- <view class="award-btn {{award.state === '2' ? 'done' : award.state === '0' ? 'done' : award.user_draw_state ? 'joined' : ''}}">{{award.state === '2' ? '已结束' : award.state === '0' ? '未开始' : award.user_draw_state ? '已参与' : '点击抽奖'}}</view>
|
|
|
|
|
|
+ <view class="award-btn {{award.state === '2' ? 'done' : award.state === '0' ? 'done' : award.user_draw_state ? 'joined' : ''}}"
|
|
|
|
+ wx:if="{{!custom}}">{{award.state === '2' ? '已结束' : award.state === '0' ? '未开始' : award.user_draw_state ? '已参与' : '点击抽奖'}}</view>
|
|
|
|
+ <view class="award-btn"
|
|
|
|
+ wx:if="{{custom}}">点击加入</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|