bt-lcyd/pages/activity/activity.wxml

55 lines
2.0 KiB
Plaintext
Raw Normal View History

2022-06-14 10:56:41 +08:00
<view class="activity-swiper">
<swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" >
<swiper-item class="swiper-item" wx:for="{{swiperList}}" wx:key="index">
<image src="{{requestIp}}route/file/downloadfile/true/{{item}}"></image>
</swiper-item>
</swiper>
</view>
<view class="link-box">
<view class="link" bindtap="goMatch" data-type="match">
<view class="link-img">
<image src="../../images/competition.png"></image>
</view>
<view class="link-text">
<view class="cn">赛事</view>
<view class="en">Competition</view>
</view>
</view>
<view class="link" bindtap="goMatch" data-type="activity">
<view class="link-img">
<image src="../../images/activity.png"></image>
</view>
<view class="link-text">
<view class="cn">活动</view>
<view class="en">Activity</view>
</view>
</view>
</view>
<view class="match">
<view class="match-title" style="background: url(../../images/title-bg.png) no-repeat left bottom">热门赛事</view>
<view class="match-list">
<view class="match-box" wx:for="{{matchList}}" wx:key="index" bindtap="goDetail" data-id="{{item.articleContentId}}" data-type="match">
<view class="match-image">
<image src="{{requestIp}}route/file/downloadfile/true/{{item.images}}"></image>
</view>
<view class="match-name">
{{item.title}}
</view>
</view>
</view>
</view>
<view class="activity">
<view class="activity-title" style="background: url(../../images/title-bg.png) no-repeat left bottom">最新活动</view>
<view class="activity-list">
<view class="activity-box" wx:for="{{activityList}}" wx:key="index" data-id="{{item.articleContentId}}" data-type="acitivty" bindtap="goDetail">
<view class="activity-image">
<image src="{{requestIp}}route/file/downloadfile/true/{{item.images}}"></image>
</view>
<view class="activity-name">
<view class="name">{{item.title}}</view>
<view class="date">{{item.activityTimeEnd}}</view>
</view>
</view>
</view>
</view>