wallet.wxml 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <view class="content">
  2. <view class="content-money">
  3. <view class="money-box flex">
  4. <view>
  5. <view class="text">余额(元)</view>
  6. <view class="money">{{$root.f0}}</view>
  7. </view>
  8. </view>
  9. <view bindtap="__e" class="moneyTx" data-event-opts="{{[ [ 'tap',[ [ 'navto',['/pages/wallet/recharge'] ] ] ] ]}}">充值</view>
  10. <view bindtap="__e" class="moneyTxs" data-event-opts="{{[ [ 'tap',[ [ 'navto',['/pages/wallet/withdrawal'] ] ] ] ]}}">提现</view>
  11. </view>
  12. <view class="navbar">
  13. <view bindtap="__e" class="{{['nav-item',tabCurrentIndex===index?'current':'']}}" data-event-opts="{{[ [ 'tap',[ [ 'tabClick',[index] ] ] ] ]}}" wx:for="{{navList}}" wx:key="index">{{item.text}}</view>
  14. </view>
  15. <swiper bindchange="__e" class="swiper-box" current="{{tabCurrentIndex}}" data-event-opts="{{[ [ 'change',[ [ 'changeTab',['$event'] ] ] ] ]}}" duration="300" style="{{'height:'+maxheight+'px'+';'}}">
  16. <swiper-item class="tab-content" wx:for="{{navList}}" wx:for-index="tabIndex" wx:for-item="tabItem" wx:key="tabIndex">
  17. <scroll-view bindscrolltolower="__e" class="list-scroll-content" data-event-opts="{{[ [ 'scrolltolower',[ [ 'loadData',['$event'] ] ] ] ]}}" scrollY="{{true}}">
  18. <empty bind:__l="__l" vueId="{{'ce6f9bc0-1-'+tabIndex}}" wx:if="{{tabItem.loaded===true&&tabItem.orderList.length===0}}"></empty>
  19. <view class="itemList" wx:for="{{tabItem.orderList}}" wx:for-index="indexs" wx:for-item="items" wx:key="indexs">
  20. <view class="order-item flex" wx:for="{{items.list}}" wx:key="index">
  21. <view class="title-box">
  22. <view class="title">
  23. <text>{{item.title}}</text>
  24. </view>
  25. <view class="time">
  26. <text>{{item.add_time}}</text>
  27. </view>
  28. </view>
  29. <view class="money">
  30. <text>{{(item.pm==0?'-':'+')+item.number}}</text>
  31. </view>
  32. </view>
  33. </view>
  34. <uni-load-more bind:__l="__l" status="{{tabItem.loadingType}}" vueId="{{'ce6f9bc0-2-'+tabIndex}}"></uni-load-more>
  35. </scroll-view>
  36. </swiper-item>
  37. </swiper>
  38. </view>