12345678910111213141516171819202122 |
- <view class="content" wx:if="{{ishow !=1}}">
- <view class="navbar">
- <view bindtap="__e" class="{{['nav-item',tabCurrentIndex===index?'current':'']}}" data-event-opts="{{[ [ 'tap',[ [ 'tabClick',[index] ] ] ] ]}}" wx:for="{{navList}}" wx:key="index">{{item.text}}</view>
- </view>
- <swiper bindchange="__e" class="swiper-box" current="{{tabCurrentIndex}}" data-event-opts="{{[ [ 'change',[ [ 'changeTab',['$event'] ] ] ] ]}}" duration="300">
- <swiper-item class="tab-content" wx:for="{{navList}}" wx:for-index="tabIndex" wx:for-item="tabItem" wx:key="tabIndex">
- <view class="row b-b">
- <text class="tit">姓名</text>
- <input bindinput="__e" class="input" data-event-opts="{{[ [ 'input',[ [ '__set_model',[ '$0','name','$event',[] ],[ [ ['navList','',tabIndex,'orderList'] ] ] ] ] ] ]}}" placeholder="提款人姓名" placeholderClass="placeholder" type="text" value="{{tabItem.orderList.name}}"></input>
- </view>
- <view class="row b-b">
- <text class="tit">{{tabIndex==0?'账号':'银行卡号'}}</text>
- <input bindinput="__e" class="input" data-event-opts="{{[ [ 'input',[ [ '__set_model',[ '$0','code','$event',[] ],[ [ ['navList','',tabIndex,'orderList'] ] ] ] ] ] ]}}" placeholder="请输入账号" placeholderClass="placeholder" type="text" value="{{tabItem.orderList.code}}"></input>
- </view>
- <view class="row b-b" wx:if="{{tabIndex==1}}">
- <text class="tit">所属银行</text>
- <input bindinput="__e" class="input" data-event-opts="{{[ [ 'input',[ [ '__set_model',[ '$0','bankName','$event',[] ],[ [ ['navList','',tabIndex,'orderList'] ] ] ] ] ] ]}}" placeholder="请输入账号" placeholderClass="placeholder" type="text" value="{{tabItem.orderList.bankName}}"></input>
- </view>
- </swiper-item>
- </swiper>
- <button bindtap="__e" class="add-btn up" data-event-opts="{{[ [ 'tap',[ [ 'confirm',['$event'] ] ] ] ]}}">提交申请</button>
- </view>
|