account.wxml 2.0 KB

12345678910111213141516171819202122
  1. <view class="content" wx:if="{{ishow !=1}}">
  2. <view class="navbar">
  3. <view bindtap="__e" class="{{['nav-item',tabCurrentIndex===index?'current':'']}}" data-event-opts="{{[ [ 'tap',[ [ 'tabClick',[index] ] ] ] ]}}" wx:for="{{navList}}" wx:key="index">{{item.text}}</view>
  4. </view>
  5. <swiper bindchange="__e" class="swiper-box" current="{{tabCurrentIndex}}" data-event-opts="{{[ [ 'change',[ [ 'changeTab',['$event'] ] ] ] ]}}" duration="300">
  6. <swiper-item class="tab-content" wx:for="{{navList}}" wx:for-index="tabIndex" wx:for-item="tabItem" wx:key="tabIndex">
  7. <view class="row b-b">
  8. <text class="tit">姓名</text>
  9. <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>
  10. </view>
  11. <view class="row b-b">
  12. <text class="tit">{{tabIndex==0?'账号':'银行卡号'}}</text>
  13. <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>
  14. </view>
  15. <view class="row b-b" wx:if="{{tabIndex==1}}">
  16. <text class="tit">所属银行</text>
  17. <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>
  18. </view>
  19. </swiper-item>
  20. </swiper>
  21. <button bindtap="__e" class="add-btn up" data-event-opts="{{[ [ 'tap',[ [ 'confirm',['$event'] ] ] ] ]}}">提交申请</button>
  22. </view>