You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.7 KiB
37 lines
1.7 KiB
3 years ago
|
<!--pages/activity/index.wxml-->
|
||
|
<view class="activity-page">
|
||
|
<view class="tab-box">
|
||
|
<view class="tab-box acea-row row-around" style="position:fixed;">
|
||
|
<view class="tab-item {{active == 0 ? 'tab-item-active' : ''}}" data-i="0" bindtap="tabClick">报名中</view>
|
||
|
<view class="tab-item {{active == 10 ? 'tab-item-active' : ''}}" data-i="10" bindtap="tabClick">已完成</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
<view class="activity-list-box">
|
||
|
<view class="activity-item acea-row row-between" wx:for="{{activityList}}" wx:key="index" bindtap="toDetail" data-id="{{item.id}}">
|
||
|
<view class="activity-img">
|
||
|
<view class="img-box">
|
||
|
<!-- <image src="{{item.images}}" mode="widthFix"></image> -->
|
||
|
<image src="{{item.images}}" mode="widthFix"></image>
|
||
|
</view>
|
||
|
</view>
|
||
|
<view class="activity-info-box">
|
||
|
<view class="activity-info-title acea-row">
|
||
|
<view class="line2"><text class="sm-card">{{item.cateName}}</text>{{item.name}}</view>
|
||
|
</view>
|
||
|
<view class="activity-info-time acea-row row-middle">
|
||
|
<text>{{item.activityStartTime}}</text>
|
||
|
<text class="address line1">{{item.address}}</text>
|
||
|
</view>
|
||
|
<view class="signUp-box acea-row row-between">
|
||
|
<text>已报名人数:{{item.users.length}}</text>
|
||
|
<view class="status-box" wx:if="{{item.status == 0}}">筹备中</view>
|
||
|
<view class="status-box" wx:if="{{item.status == 1}}">报名中</view>
|
||
|
<view class="status-box" wx:if="{{item.status == 2}}">待举办</view>
|
||
|
<view class="status-box" wx:if="{{item.status == 3}}">已结束</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
<view class="under-line">—已显示全部活动—</view>
|
||
|
</view>
|