123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <!--dispatcher/pages/home/home.wxml-->
- <import src="../../../templates/loading/loading.wxml" />
- <view class='container'>
- <template is='loading' wx:if='{{!isLoaded}}'></template>
- <view class='wrapper' wx:else>
- <view class='header {{content.length > 0 ? "header-active" : ""}}'>
- <view class='search-container'>
- <view class='search-wrapper'>
- <image class='search-icon' src='../../../assets/search.png'></image>
- <input class='search-input' type='text' value='{{content}}' placeholder='如:夏洛特的烦恼' placeholder-class='search-placeholder' bindinput='inputSearchCtl'></input>
- <image class='search-icon' wx:if='{{content.length > 0}}' src='../../../assets/error_gray.png' bindtap='clearSearchCtl'></image>
- </view>
- <view class='search-button' bindtap='submitSearchCtl'>搜索</view>
- </view>
- </view>
- <view class='list'>
- <view class='li' wx:for='{{list}}' wx:key='index'>
- <view class='li-title'>{{item.league_name}}</view>
- <view class='li-row'>
- <view>
- <image class='li-icon' src='../../../assets/text_blue.png'></image>
- <text class='li-text-blue'>{{item.order_num}}</text>
- <image class='li-icon' src='../../../assets/heart_red.png'></image>
- <text class='li-text-red'>{{item.wish_num}}</text>
- </view>
- <view wx:if='{{item.audit_stat == 1}}' data-index='{{index}}' bindtap='selectLiCtl'>
- <text class='li-text-gray'>查看详情</text>
- <image class='li-icon-arrow' src='../../../assets/arrow_gray.png'></image>
- </view>
- <view class='li-btns' wx:else>
- <view class='li-btn btn-blue' data-index='{{index}}' data-type='1' bindtap='commitDispatcherAuditCtl'>确认</view>
- <view class='li-btn btn-red' data-index='{{index}}' data-type='2' bindtap='commitDispatcherAuditCtl'>拒绝</view>
- </view>
- </view>
- </view>
- </view>
- <view class='scan' data-url='dispatcher/pages/dispatch_leave/dispatch_leave' data-zindex='3' bindtap='navigateTo'>
- <image class='scan-icon' src='../../../assets/scan.png'></image>
- <view class='scan-text'>扫书</view>
- </view>
- </view>
- </view>
|