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.

50 lines
2.0 KiB

<!--components/region/region.wxml-->
<!-- 选择器 -->
<van-popup show="{{ showRegion }}" position="bottom" duration="250" round custom-style="height: 90%;" bind:close="_closeBank" closeable lock-scroll>
<view class="content-province-title">
<image src="../../img/left-black.png" class="content-province-title-left" wx:if="{{backShow}}" />
请选择
</view>
<!-- 银行/地址 -->
<view class="tab-box" wx:if="{{capitalId !='04'}}">
<view>
<picker bindchange="bindBankList" range="{{bankNameList}}" range-key='name'>
<view class="picker-box">
<view wx:if="{{bankNamed !=''}}">
{{bankNamed}}
</view>
<view class="content-text content-text-gray" wx:else>
开户银行
</view>
</view>
</picker>
</view>
<view>
<picker mode="region" bindchange="bindRegionChange" value="{{region}}" custom-item="{{customItem}}" level="city">
<view class="picker-box">
<view wx:if="{{region.length>0}}">{{region[0]}}{{region[1]}}</view>
<view wx:else>开户地址</view>
<view class="close" data-type="adr" catchtap="emptyData" wx:if="{{region.length>0}}">X</view>
</view>
</picker>
</view>
</view>
<view class="search-box">
<van-search
value="{{ bankName }}"
placeholder="请输入至少2个字符"
bind:search="onSearch"
bind:clear="onSearchClear"
bind:change="onSearch"
></van-search>
</view>
<scroll-view scroll-y="true" bindscrolltolower='more' class="content-province-sc" >
<view wx:if="{{provinceList.length>0}}" wx:for="{{provinceList}}" wx:key="index" class="content-province" bind:tap="_chooseBank" data-id="{{item.number}}" data-name="{{item.bank_name}}">{{item.bank_name}}</view>
<van-empty
wx:if="{{provinceList.length<=0}}"
class="custom-image"
image=""
description="暂无可选择数据,请先搜索"
/>
</scroll-view>
</van-popup>