12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- <!--dispatcher/pages/withdraw/withdraw.wxml-->
- <import src="../../../templates/nodata/nodata.wxml" />
- <import src="../../../templates/loading/loading.wxml" />
- <view class='container'>
- <template is='loading' wx:if='{{!isLoaded}}'></template>
- <view class='wrapper {{navIndex == 0 ? "pb" : ""}}' wx:else>
- <view class='header'>
- <view class='header-content'>
- <view class='header-text-black'>{{league_name}}</view>
- <view class='header-text-gray'>{{league_address}}</view>
- <view class='header-items'>
- <view class='header-item' wx:for='{{items}}' wx:key='{{index}}'>
- <view class='header-item-line-left {{index < itemIndex + 1 ? "bg-blue" : "bg-gray"}}' wx:if='{{index > 0}}'></view>
- <view class='header-item-line-right {{index < itemIndex ? "bg-blue" : "bg-gray"}}' wx:if='{{index < items.length - 1}}'></view>
- <image class='header-item-icon' src='{{index < itemIndex ? item.actIcon : item.icon}}'></image>
- <view class='header-item-text {{index < itemIndex ? "text-blue" : "text-gray"}}'>{{item.text}}</view>
- <view class='header-item-text text-gray-small' wx:if='{{index < itemIndex && item.name}}'>操作人:{{item.name}}</view>
- </view>
- </view>
- </view>
- </view>
- <view class='nav'>
- <view class='nav-item' wx:for='{{navList}}' wx:key='{{index}}' data-index='{{index}}' bindtap='selectNavCtl'>
- <view class='nav-item-row {{navIndex == index ? "nav-item-row-active" : ""}}'>
- <view class='nav-item-text {{navIndex == index ? "nav-item-text-active" : ""}}'>{{item.text}}</view>
- <view class='nav-item-button {{navIndex == index ? "nav-item-button-active" : ""}}'>{{item.number}}本</view>
- </view>
- </view>
- </view>
- <template is='nodata' data='{{...navList[navIndex]["nodataArray"]}}' wx:if='{{navList[navIndex]["list"].length == 0}}'></template>
- <view class='list' wx:else>
- <view class='li' wx:for='{{navList[navIndex]["list"]}}' wx:key='{{index}}'>
- <image class='li-img' mode='aspectFill' src='{{item.local_image ? baseImgUrl + item.local_image : "../../../assets/default_headicon.png"}}'></image>
- <view class='li-col'>
- <view class='li-label' wx:if='{{item.parent_name}}'>
- <text class='li-label-tips' style='background: {{item.color}};'></text>
- <text class='li-label-text' style='color: {{item.color}};'>{{item.parent_name}}</text>
- <block wx:if='{{item.child_name}}'>
- <text class='li-label-arrow' style='border-top: solid 2rpx {{item.color}}; border-right: solid 2rpx {{item.color}};'></text>
- <text class='li-label-text' style='color: {{item.color}};'>{{item.child_name}}</text>
- </block>
- </view>
- <view class='li-text-black'>{{item.title || ''}}</view>
- </view>
- </view>
- </view>
- <view class='footer-box' wx:if='{{navIndex == 0}}'>
- <view class='footer-box-item' wx:if='{{navList[1].number == 0 && navList[2].number == 0}}' bindtap='scanCtl'>{{options.type == 1 ? '扫描收书' : '扫描入库'}}</view>
- <block wx:else>
- <view class='footer-box-item' bindtap='scanCtl'>{{options.type == 1 ? '继续扫描收书' : '继续扫描入库'}}</view>
- <view class='footer-box-item' bindtap='submitCtl'>{{options.type == 1 ? '完成收书' : '完成入库'}}</view>
- </block>
- </view>
- </view>
- </view>
|