| 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="{{'bb3df7e0-1-'+tabIndex}}" bind:__l="__l"></empty></block><block wx:for="{{tabItem.orderList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{item.info.title}}"><view data-event-opts="{{[['tap',[['toDetail',['$0'],[[['navList','',tabIndex],['orderList','',index]]]]]]]}}" class="fu-box" bindtap="__e"><image class="fu-img" src="{{item.info.image}}" mode="aspectFill"></image><view class="fu-right"><view><view class="fu-tit">{{item.info.title}}</view><view class="fu-text">{{item.info.info}}</view></view><block wx:if="{{tabCurrentIndex==2&&item.info&&item.info.title}}"><view class="fu-bottom"><text class="fu-jifen">{{"+"+item.info.integral+"积分"}}</text><block wx:if="{{!item.remark}}"><view data-event-opts="{{[['tap',[['upInfo',['$0'],[[['navList','',tabIndex],['orderList','',index,'hid']]]]]]]}}" class="fu-sczl" catchtap="__e">上传资料</view></block><block wx:if="{{item.status==3}}"><view class="fu-shenqing">公示中</view></block></view></block><block wx:if="{{tabCurrentIndex==3&&item.info&&item.info.title}}"><view class="fu-bottom"><text class="fu-jifen">{{"+"+item.info.integral+"积分"}}</text><view data-event-opts="{{[['tap',[['upInfo',['$0',1],[[['navList','',tabIndex],['orderList','',index,'hid']]]]]]]}}" class="fu-sczl" catchtap="__e">修改资料</view></view></block><block wx:if="{{tabCurrentIndex!==2&&tabCurrentIndex!==3&&tabCurrentIndex!==4&&item.info&&item.info.title}}"><view class="fu-bottom"><view class="fu-shenqing">{{"已有"+item.info.sales+"人申请"}}</view><text class="fu-jifen">{{"+"+item.info.integral+"积分"}}</text></view></block><block wx:if="{{tabCurrentIndex==4&&item.info&&item.info.title}}"><view class="fu-bottom"><view class="fu-shenqing"></view><text class="fu-yjs">已结束</text></view></block><block wx:if="{{item.info&&!item.info.title}}"><view class="fu-bottom"><view class="fu-shenqing"></view><text class="fu-yjs">该项目已删除</text></view></block></view></view></block></block><uni-load-more vue-id="{{'bb3df7e0-2-'+tabIndex}}" status="{{tabItem.loadingType}}" bind:__l="__l"></uni-load-more></scroll-view></swiper-item></block></swiper></view>
|