|
@@ -20,27 +20,29 @@
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="List">
|
|
<view class="List">
|
|
|
- <view class="ListItem" v-for="(item,index) in List" :key="index" @click="activeDetail(item.id)">
|
|
|
|
|
- <image :src="item.banners?item.cover_img:'http://t9.9026.com/imgs/Kudosbg.png'" style="width: 640rpx;height:420rpx;border-radius: 12rpx;"></image>
|
|
|
|
|
- <view class="kudosicon" @click.stop="kudosActive(item.id,index)">
|
|
|
|
|
- <image src="/static/icon/Kudos.png" v-if="item.is_like==0"></image>
|
|
|
|
|
- <image src="/static/icon/Kudos(1).png" v-if="item.is_like==1"></image>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="nav">
|
|
|
|
|
- <view class="events">
|
|
|
|
|
- <text>{{item.title}}</text>
|
|
|
|
|
|
|
+ <template v-for="(item,index) in List" >
|
|
|
|
|
+ <view class="ListItem" v-if="item.show_status" :key="index" @click="activeDetail(item.id)">
|
|
|
|
|
+ <image :src="item.banners?item.cover_img:'http://t9.9026.com/imgs/Kudosbg.png'" style="width: 640rpx;height:420rpx;border-radius: 12rpx;"></image>
|
|
|
|
|
+ <view class="kudosicon" @click.stop="kudosActive(item.id,index)">
|
|
|
|
|
+ <image src="/static/icon/Kudos.png" v-if="item.is_like==0"></image>
|
|
|
|
|
+ <image src="/static/icon/Kudos(1).png" v-if="item.is_like==1"></image>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="voteStatus" style="width: 100rpx;">
|
|
|
|
|
- <text style="font-size: 30rpx;color: #999;" v-if="item.activity_status==1">未开始</text>
|
|
|
|
|
- <text style="font-size: 30rpx;color: #FF6503;" v-if="item.activity_status==2">进行中</text>
|
|
|
|
|
- <text style="font-size: 30rpx;color: #999;" v-if="item.activity_status==3">已结束</text>
|
|
|
|
|
|
|
+ <view class="nav">
|
|
|
|
|
+ <view class="events">
|
|
|
|
|
+ <text>{{item.title}}</text>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="voteStatus" style="width: 100rpx;">
|
|
|
|
|
+ <text style="font-size: 30rpx;color: #999;" v-if="item.activity_status==1">未开始</text>
|
|
|
|
|
+ <text style="font-size: 30rpx;color: #FF6503;" v-if="item.activity_status==2">进行中</text>
|
|
|
|
|
+ <text style="font-size: 30rpx;color: #999;" v-if="item.activity_status==3">已结束</text>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="foot">
|
|
|
|
|
+ <image src="/static/icon/data.png"></image>
|
|
|
|
|
+ <text>{{item.end_time}} 结束</text>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="foot">
|
|
|
|
|
- <image src="/static/icon/data.png"></image>
|
|
|
|
|
- <text>{{item.end_time}} 结束</text>
|
|
|
|
|
- </view>
|
|
|
|
|
- </view>
|
|
|
|
|
|
|
+ </template>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
<!-- 触底 -->
|
|
<!-- 触底 -->
|