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.
65 lines
2.4 KiB
65 lines
2.4 KiB
<view class="container">
|
|
<view class="page-body">
|
|
<view class="page-section page-section-spacing swiper">
|
|
<swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" circular="{{circular}}" interval="{{interval}}" duration="{{duration}}" bindchange="swiperChange">
|
|
<block wx:if="{{banner.length > 0}}">
|
|
<block wx:for="{{banner}}" wx:key="*this">
|
|
<swiper-item>
|
|
<view bindtap="toActDetail" class="swiper-item" data-id="{{item.actId}}">
|
|
<image class="banner" src='{{item.bannerImg}}' mode="aspectFill" />
|
|
</view>
|
|
</swiper-item>
|
|
</block>
|
|
</block>
|
|
<block wx:else>
|
|
<swiper-item>
|
|
<view>
|
|
<image class="banner" src="https://epdc-kongcun.elinkit.com.cn/epdcFile/M00/00/09/rBAB717MxROAWjyBAAJZd_4ygpQ188.jpg" mode="aspectFill" />
|
|
</view>
|
|
</swiper-item>
|
|
</block>
|
|
|
|
</swiper>
|
|
<!-- 重置小圆点的样式 -->
|
|
<view class="dots">
|
|
<block wx:for="{{ banner }}" wx:key="index">
|
|
<view class="dot {{index == currentSwiper ? ' active' : '' }}"></view>
|
|
</block>
|
|
</view>
|
|
</view>
|
|
|
|
</view>
|
|
<view class="toptabs">
|
|
<wux-tabs controlled scroll current="{{ key }}" bindchange="onTabsChange">
|
|
<wux-tab key="tab1" title="下单参与"></wux-tab>
|
|
<wux-tab key="tab2" title="精彩活动"></wux-tab>
|
|
<wux-tab key="tab3" title="参与记录"></wux-tab>
|
|
</wux-tabs>
|
|
<view class="top" bindtap="toLeaderboard">
|
|
<view class="imgtop">
|
|
<image class="topimg" src="https://epdc-kongcun.elinkit.com.cn/epdcFile/M00/00/07/rBAB71646VqAUpWyAAAC6j5D3pU580.png" />
|
|
</view>
|
|
<view class="toptxt">志愿积分</view>
|
|
</view>
|
|
</view>
|
|
<block>
|
|
|
|
<view class="swiper-item-con" hidden="{{zml}}">
|
|
<activity bind:toActDetail="toActDetailDown" id="state-0" state="0"></activity>
|
|
</view>
|
|
|
|
<block wx:if="{{ index == '1' }}">
|
|
<view class="swiper-item-con">
|
|
<activity bind:toActDetail="toActDetailDown" id="state-1" state="1"></activity>
|
|
</view>
|
|
</block>
|
|
<block wx:if="{{ index == '2' }}">
|
|
<view class="swiper-item-con">
|
|
<activity bind:toActDetail="toActDetailDown" id="state-2" state="2"></activity>
|
|
</view>
|
|
</block>
|
|
</block>
|
|
|
|
|
|
<load-more loadMoreVisible="{{loadMoreVisible}}" loadMoreType="{{loadMoreType}}"></load-more>
|
|
</view>
|