123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- <view class=" content main">
- <view class="one">
- <view class="one_1 {{user.type=='0'?'type':''}}">
- <input class="input" type="text" bindconfirm="toSearch" confirm-type="search" placeholder-style=' text-align: center;' placeholder="搜索" />
- </view>
- <view class="one_2" wx:if="{{user.type=='1'}}">
- <button class="button" type="primary" size="mini" bindtap="toAdd">添加</button>
- </view>
- </view>
- <view class="two">
- <scroll-view class="scroll-view" scroll-y="true" bindscrolltolower="toLower" bindscroll="toScroll">
- <view class="list" wx:for="{{list}}" wx:key="index" wx:for-item="item">
- <view class="list_1">
- <view class="name textOver"> {{item.name||"暂无比赛名称"}} </view>
- <view class="color{{item.status}}"> {{item.status_name||'暂无状态'}} </view>
- </view>
- <view class="other">
- <view class="other_1">
- 手机号:{{item.phone||'暂无手机号'}}
- </view>
- <view class="other_1">
- 成立时间:{{item.create_time||'暂无成立时间'}}
- </view>
- <view class="other_1">
- 团队人数:{{item.number||'0'}}人
- </view>
- <view class="other_1 textOver">
- 单位地址:{{item.address||'暂无单位地址'}}
- </view>
- </view>
- <view class="button">
- <button class="color btn_1" type="primary" size="mini" data-item="{{item}}" bindtap="toView">
- 查看详情
- </button>
- <button wx:if="{{user.type=='1'&&item.status=='1'}}" class="color btn_2" type="primary" size="mini" data-item="{{item}}" bindtap="toExam">
- 审核成员
- </button>
- <button wx:if="{{user.type=='1'&&item.status=='0'}}" class="color btn_3" type="primary" size="mini" data-item="{{item}}" bindtap="toEdit">
- 修改
- </button>
- </view>
- </view>
- </scroll-view>
- </view>
- </view>
|