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.
87 lines
3.0 KiB
87 lines
3.0 KiB
<view class="g-bd" wx:if="{{ iniLoaded }}">
|
|
<view class="fixed-tit" wx:if="{{ iniLoaded }}">
|
|
<titleList-gridNameTitle id="titleList" />
|
|
</view>
|
|
|
|
<view class="g-fixed_top">
|
|
<top-tabs bind:shift="handleShiftMenu" curr-menu="{{ current }}" menu-list="{{ menuList }}" />
|
|
</view>
|
|
|
|
<view wx:if="{{showType==='map'}}" class="g-fixed-icon" bind:tap="toList">
|
|
<image class="image1" src="/assets/images/list.png"></image>
|
|
</view>
|
|
<view wx:if="{{showType==='list'}}" class="g-fixed-icon" bind:tap="toMap">
|
|
<image class="image2" src="/assets/images/common/pos.png"></image>
|
|
</view>
|
|
|
|
<swiper wx:if="{{showType==='list'}}" class="m-swiper_list" current="{{ current }}" bindchange="handleSwiperChange">
|
|
<swiper-item>
|
|
<list wx:if="{{ iniLoaded }}"
|
|
id="voting"
|
|
status="voting"
|
|
list-is-mock="{{ false }}"
|
|
list-params="{{ listParams }}"
|
|
list-url="{{ votingUrl }}"/>
|
|
</swiper-item>
|
|
<swiper-item>
|
|
<list wx:if="{{ iniLoaded }}"
|
|
id="turned"
|
|
status="ing"
|
|
list-is-mock="{{ false }}"
|
|
list-params="{{ listParams }}"
|
|
list-url="{{ ingUrl }}"/>
|
|
</swiper-item>
|
|
<swiper-item>
|
|
<view class="m-tabs">
|
|
<view class="tab {{index===currentTab ? 'z-on':''}}"
|
|
bind:tap="handleTapTab"
|
|
data-index="{{index}}"
|
|
wx:for="{{tabList}}">{{item}}</view>
|
|
</view>
|
|
|
|
<list wx:if="{{ iniLoaded && currentTab==0 }}"
|
|
status="final"
|
|
list-is-mock="{{ false }}"
|
|
list-params="{{ listParams }}"
|
|
list-url="{{ finalUrl }}"/>
|
|
<list wx:if="{{ iniLoaded && currentTab==1 }}"
|
|
status="closed"
|
|
list-is-mock="{{ false }}"
|
|
list-params="{{ listParams }}"
|
|
list-url="{{ closedUrl }}"/>
|
|
<list wx:if="{{ iniLoaded && currentTab==2 }}"
|
|
status="noneed"
|
|
list-is-mock="{{ false }}"
|
|
list-params="{{ listParams }}"
|
|
list-url="{{ noneedUrl }}"/>
|
|
</swiper-item>
|
|
</swiper>
|
|
|
|
<swiper wx:if="{{showType==='map'}}" class="m-swiper_list map-wr"
|
|
current="{{ current }}"
|
|
bindchange="handleSwiperChange">
|
|
<swiper-item>
|
|
<map-list list="{{mapList1}}" bind:click="handleClickMap" />
|
|
</swiper-item>
|
|
<swiper-item>
|
|
<map-list list="{{mapList2}}" bind:click="handleClickMap" />
|
|
</swiper-item>
|
|
<swiper-item>
|
|
<view class="m-tabs">
|
|
<view class="tab {{index===currentTab ? 'z-on':''}}"
|
|
bind:tap="handleTapTab"
|
|
data-index="{{index}}"
|
|
wx:for="{{tabList}}">{{item}}</view>
|
|
</view>
|
|
|
|
<map-list wx:if="{{ iniLoaded && currentTab==0 }}" list="{{mapList3}}" bind:click="handleClickMap" />
|
|
<map-list wx:if="{{ iniLoaded && currentTab==1 }}" list="{{mapList4}}" bind:click="handleClickMap" />
|
|
<map-list wx:if="{{ iniLoaded && currentTab==2 }}" list="{{mapList5}}" bind:click="handleClickMap" />
|
|
|
|
</swiper-item>
|
|
</swiper>
|
|
|
|
</view>
|
|
|
|
<loading showed="{{ !iniLoaded }}" />
|
|
<modal id="modal"></modal>
|