award.wxml 2.0 KB

1
  1. <view class="content"><view class="content-money"><view class="money-box"><view data-event-opts="{{[['tap',[['toBack',['$event']]]]]}}" class="goback-box" bindtap="__e"><image class="goback" src="../../static/img/fanhui.png" mode></image></view><view class="header">我的余额</view><image class="money_bg" src="../../static/img/anchor11.png"></image><view class="money">{{$root.f0}}</view></view></view><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" style="{{'height:'+(maxheight+'px')+';'}}" 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"><scroll-view class="list-scroll-content" scroll-y="{{true}}" data-event-opts="{{[['scrolltolower',[['loadData',['$event']]]]]}}" bindscrolltolower="__e"><block wx:if="{{tabItem.loaded===true&&tabItem.orderList.length===0}}"><empty vue-id="{{'8819e118-1-'+tabIndex}}" bind:__l="__l"></empty></block><block wx:for="{{tabItem.orderList}}" wx:for-item="ls" wx:for-index="index"><block wx:for="{{ls.list}}" wx:for-item="item" wx:for-index="i"><view class="order-item flex"><view class="title-box"><view class="title"><text>{{item.title}}</text></view><view class="time"><text>{{item.add_time}}</text></view></view><view class="money"><text>{{(item.pm==0?'-':'+')+item.number}}</text></view></view></block></block><uni-load-more vue-id="{{'8819e118-2-'+tabIndex}}" status="{{tabItem.loadingType}}" bind:__l="__l"></uni-load-more></scroll-view></swiper-item></block></swiper><view data-event-opts="{{[['tap',[['navto',['/pages/money/recharge']]]]]}}" class="wallet-btn" bindtap="__e">立即充值</view></view>