68 lines
2.5 KiB
Plaintext
68 lines
2.5 KiB
Plaintext
<view class="queue_index">
|
|
<view class="search" catchtap="tosearch">
|
|
<view class="left">
|
|
<view class="iconfont icon-sousuo1"></view>
|
|
</view>
|
|
<view class="right">
|
|
<input type="text" disabled="{{true}}" placeholder="搜索活动标题" />
|
|
</view>
|
|
</view>
|
|
<view class="c_swipe" wx:if="{{is_rotation}}">
|
|
<swiper style='height:{{Height}}' interval="{{4000}}" indicator-dots="{{true}}" autoplay="{{true}}" circular="{{true}}"
|
|
indicator-active-color="#ffffff">
|
|
<block wx:for="{{rotation}}" wx:key="index" wx:for-index="index" wx:for-item="ithumb">
|
|
<swiper-item wx:if="{{ithumb}}">
|
|
<image src="{{ithumb.img}}" mode='widthFix' bindload='imgHeight' catchtap="gotoDiy" data-url="{{item.small_url}}" />
|
|
</swiper-item>
|
|
</block>
|
|
</swiper>
|
|
</view>
|
|
<view class="hot_contetnt">
|
|
<view class="top">
|
|
<view class="left">
|
|
<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/img/queue_icon_1.png" mode='aspectFill' />
|
|
</view>
|
|
<view class="right">热门推荐</view>
|
|
</view>
|
|
<view class="bottom">
|
|
<view class="advert">
|
|
<view class="li" wx:if="{{advert_one.img}}" catchtap="gotoDiy" data-url="{{advert_one.link}}">
|
|
<image src="{{advert_one.img}}" mode='widthFix' />
|
|
</view>
|
|
<view class="li" wx:if="{{advert_two.img}}" catchtap="gotoDiy" data-url="{{advert_two.link}}">
|
|
<image src="{{advert_one.img}}" mode='widthFix' />
|
|
</view>
|
|
<view class="li" wx:if="{{advert_three.img}}" catchtap="gotoDiy" data-url="{{advert_three.link}}">
|
|
<image src="{{advert_three.img}}" mode='widthFix' />
|
|
</view>
|
|
</view>
|
|
<view class="banner" wx:if="{{advert_four.img}}" catchtap="gotoDiy" data-url="{{advert_four.link}}">
|
|
<image src="{{advert_four.img}}"
|
|
mode='widthFix' />
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="new_content">
|
|
<view class="top">
|
|
<view class="left">
|
|
<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/img/queue_iocn_2.png" mode='aspectFill' />
|
|
</view>
|
|
<view class="right">最新活动</view>
|
|
</view>
|
|
<view class="bottom">
|
|
<view class="li" wx:for="{{activity_list}}" wx:key="index" wx:for-index="index" wx:for-item="item" catchtap="gotoDetail"
|
|
data-index="{{index}}">
|
|
<view class="left">
|
|
<image src="{{item.cover}}" mode='aspectFill' />
|
|
</view>
|
|
<view class="right">
|
|
<view class="title">
|
|
{{item.title}}
|
|
</view>
|
|
<view class="participants">{{item.join_num?item.join_num:0}} 人参与</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|