cation.wxml 1.7 KB

1
  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"><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="{{'3150083b-1-'+tabIndex}}" bind:__l="__l"></empty></block><view class="list"><block wx:for="{{tabItem.orderList}}" wx:for-item="ls" wx:for-index="__i0__"><view class="list-item"><view class="item-top"><block wx:if="{{ls.cname}}"><view class="tip-info flex-shrink-false">{{ls.cname}}</view></block><view class="name clamp flex-grow-true">{{ls.explain}}</view></view><view class="title">{{"申请人:"+ls.name}}</view><view class="title">{{"状态:"+(ls.status==0?'正在审核':ls.status==1?'审核通过':'审核驳回')+" "+(ls.status==2?ls.fail_msg:'')}}</view></view></block></view><uni-load-more vue-id="{{'3150083b-2-'+tabIndex}}" status="{{tabItem.loadingType}}" bind:__l="__l"></uni-load-more></scroll-view></swiper-item></block></swiper><view data-event-opts="{{[['tap',[['ToHelp',['$event']]]]]}}" class="tip" bindtap="__e"><text>申请帮扶</text></view></view>