<wxs src="./icon.wxs" module="icon" />
<view  id="member_choose_bank">
  	<view class="content">
      	<view class="bank-list">
          <view class="bank {{icon.getIconUrl(item,pay_type)}}" wx:for="{{ bank }}" wx:key="index"  catchtap="toPay" data-item="{{item}}">
            <view class="top">
              <view class="avator">

            <image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/bank_2.png" wx:if='{{item.bank_name=="中国工商银行"}}'></image>
						<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/bank_1.png" wx:if='{{item.bank_name=="中国银行"}}'></image>
						<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/bank_3.png" wx:if='{{item.bank_name=="中信银行"}}'></image>
						<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/bank_4.png" wx:if='{{item.bank_name=="上海银行"}}'></image>
						<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/bank_12.png" wx:if='{{item.bank_name=="中国建设银行"}}'></image>
						<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/bank_5.png" wx:if='{{item.bank_name=="光大银行"}}'></image>
						<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/bank_6.png" wx:if='{{item.bank_name=="民生银行"}}'></image>
						<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/bank_7.png" wx:if='{{item.bank_name=="北京银行"}}'></image>
						<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/bank_8.png" wx:if='{{item.bank_name=="平安银行"}}'></image>
						<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/bank_9.png" wx:if='{{item.bank_name=="交通银行"}}'></image>
						<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/bank_10.png" wx:if='{{item.bank_name=="招商银行"}}'></image>
						<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/bank_11.png" wx:if='{{item.bank_name=="广发银行"}}'></image>
						<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/bank_13.png" wx:if='{{item.bank_name=="浦发银行"}}'></image>
						<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/bank_14.png" wx:if='{{item.bank_name=="邮政银行"}}'></image>
         
              </view>
              	<view class="right">
                  <text>{{item.bank_name}}</text>
                  <text style="font-size:14px;">{{item.bank_type_name}}</text>
					      </view>
            </view>
            <view class="bottom">
                <text>{{icon.changeBank(item.card_no)}}</text>
            </view>
            <view class="close" catchtap="tapUnbound" data-item="{{item}}">解绑</view>
          </view>
        </view>
    </view>
    <view class="btn" bindtap="toAdd">
		  <view class="add"><text style="margin-right:0.75rem;font-size:24px;">+</text>添加银行卡</view>
	  </view>
</view>