1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <mobile-main frameStyle="{{frameStyle}}" bind:back="back" bind:tabPath="tabPath">
- <view slot="info" class="container main">
- <view class="zero one">
- <view class="one_1">
- <input type="text" value="{{searchInfo.name}}" bindconfirm="search" placeholder="请输入比赛项目" />
- </view>
- <view class="one_2">
- <button type="primary" size="mini" bindtap="toAdd">添加</button>
- </view>
- </view>
- <view class="zero two">
- <scroll-view scroll-y="true" class="scroll-view">
- <view class="list-scroll-view">
- <view class="list" wx:for="{{list}}" wx:key="item">
- <view class="info">
- <view class="list_2">
- <view class="name">
- <text>{{item.name||'暂无'}}</text>
- </view>
- <view class="other">
- <view class="other_1">
- <text>比赛项目说明:</text>
- <text>{{item.explain||'暂无'}}</text>
- </view>
- <view class="other_1">
- <text>比赛人数:</text>
- <text>{{item.num||'0'}}人</text>
- </view>
- </view>
- </view>
- </view>
- <view class="btn">
- <button type="primary" bindtap="toEdit" data-id="{{item._id}}" size="mini">信息维护</button>
- <button size="mini" type="warn" bindtap="toDel" data-id="{{item._id}}">信息删除</button>
- </view>
- </view>
- </view>
- </scroll-view>
- </view>
- </view>
- </mobile-main>
|