- <view class="award-item" bindtap='handleClick'>
- <image class="award-img" src="{{award.cover_images ? award.cover_images[0] : ''}}" mode="scaleToFill" lazy-load="true" binderror="" bindload=""></image>
- <view class="award-bottom">
- <text class="award-title">{{award.title}} x {{award.winner_count}}</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' : ''}}"
- wx:if="{{!custom}}">{{award.state === '2' ? '已结束' : award.state === '0' ? '未开始' : award.user_draw_state ? '已参与' : '点击抽奖'}}</view>
- <view class="award-btn"
- wx:if="{{custom}}">点击进入</view>
- </view>
- </view>
|