You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.8 KiB
44 lines
1.8 KiB
5 years ago
|
<view class="page">
|
||
|
<view class="toptabs">
|
||
|
<wux-tabs controlled scroll current="{{ key }}" bindchange="onTabsChange">
|
||
|
<wux-tab wx:for="{{childNav}}" key="tab{{index+1}}" title="{{item.label}}"></wux-tab>
|
||
|
<!-- <wux-tab key="tab2" title="待处理"></wux-tab>
|
||
|
<wux-tab key="tab3" title="已驳回"></wux-tab>
|
||
|
<wux-tab key="tab4" title="已关闭"></wux-tab> -->
|
||
|
</wux-tabs>
|
||
|
</view>
|
||
|
|
||
|
<block>
|
||
|
<block wx:if="{{ index == '0' }}">
|
||
|
<view class="swiper-item-con">
|
||
|
<subject id="state-0" state="0"></subject>
|
||
|
</view>
|
||
|
</block>
|
||
|
<block wx:if="{{ index == '1' }}">
|
||
|
<view class="swiper-item-con">
|
||
|
<view class="layout">
|
||
|
<view class="newhot-tabs">
|
||
|
<span class="top font-13 {{currenttab=='new'?'cur-tab':''}}" data-case="new" bindtap="newhot">
|
||
|
最新
|
||
|
</span>
|
||
|
<span class="top font-13 {{currenttab=='hot'?'cur-tab':''}}" data-case="hot" bindtap="newhot">
|
||
|
最热
|
||
|
</span>
|
||
|
</view>
|
||
|
</view>
|
||
|
<subject id="state-1" state="1"></subject>
|
||
|
</view>
|
||
|
</block>
|
||
|
<block wx:if="{{ index == '2' }}">
|
||
|
<view class="swiper-item-con">
|
||
|
<subject id="state-2" state="2"></subject>
|
||
|
</view>
|
||
|
</block>
|
||
|
<block wx:if="{{ index == '3' }}">
|
||
|
<view class="swiper-item-con">
|
||
|
<subject id="state-3" state="3"></subject>
|
||
|
</view>
|
||
|
</block>
|
||
|
</block>
|
||
|
<image src='../../images/icon_fanhuidingbu.png' hidden='{{!floorstatus}}' class='goTop' bindtap="goTop"></image>
|
||
|
</view>
|