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