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.
 

208 lines
8.5 KiB

<!--index.wxml-->
<view class="container">
<view class="nav">
<!-- <view class="search">
<view class="search-box" bindtap="toSearch">
<view class="search-icon">
<image src="/images/search.png"></image>
</view>
<view class="search-input">
<input type="text" placeholder="搜索关键词" placeholder-class="defalt-style" />
</view>
</view>
</view> -->
<!-- <view class="banner">
<view class="banner-box">
<swiper display-multiple-items='1' autoplay="true" indicator-dots="true">
<block wx:for="{{imgUrls}}" wx:key='lunbo'>
<swiper-item>
<view class='box'>
<image src='{{item.url}}' bindtap="toactiveDetail" data-id="{{item.objectId}}" mode='aspectFill'></image>
</view>
</swiper-item>
</block>
</swiper>
</view>
</view> -->
</view>
<!-- <view class="index-five">
<view class="five-list" data-id="" bindtap="toTypeList">
<image src='../../images/index_all.png' mode='aspectFill'></image>
<view>全部</view>
</view>
<block wx:for="{{fiveImages}}" wx:key='five'>
<view class="five-list" data-id="{{item.typeKey}}" bindtap="toTypeList">
<image src='{{item.typeImg}}' mode='aspectFill'></image>
<view>{{item.typeName}}</view>
</view>
</block>
</view> -->
<!-- <view class="active" wx:if="{{twoImages.length>0}}">
<view class="active-title">
<view class="name">精品活动推荐</view>
<image src="/images/activeBac.png"></image>
</view>
<block wx:for="{{twoImages}}" wx:key="twoImages">
<view class="ac-img" bindtap="toactiveDetail" data-id="{{item.activityId}}">
<image src="{{item.coverFirstImage?item.coverFirstImage:'/images/logo.jpg'}}" mode='aspectFill'></image>
</view>
</block>
<view class="ac-img">
<image src="/images/logo.jpg" mode='aspectFill'></image>
</view>
</view> -->
<!-- <view class="active">
<view class="active-title">
<view class="name">正在进行的活动</view>
<image src="/images/activeBac.png"></image>
</view>
<view class="ing-content">
<view class="ing-title">
<view class="title-hot title-name">
<image src="/images/hot.png"></image>热门
</view>
<view class="title-start title-name" bindtap="toactiveing">即将开始</view>
</view>
<view class="img-circle">
<block wx:for="{{fourImages}}" wx:key='four'>
<view class="four-list" bindtap="toactiveDetail" data-id="{{item.activityId}}">
<image src='{{item.activityLogo?item.activityLogo:logo}}' mode='aspectFill' class="bigimg"></image>
<view class="four-word">
<view class="four-title">{{item.activityName}}</view>
<view class="four-log">
<text>{{item.startTime}}</text>
<view>|</view>
<text>{{item.totalDay}}天</text>
<view>|</view>
<text>{{item.activityAddr}}</text>
</view>
<view class="four-name">{{item.clubName}}
<image src="/images/person.png" wx:if="{{item.verifyType==1}}"></image>
<image src="/images/comp.png" wx:elif="{{item.verifyType==2}}"></image>
<image src="/images/nouser.png" wx:else></image>
</view>
<view class="four-bottom">
{{item.totalRegister?item.totalRegister:0}}人已参加
<text><text>¥</text>{{item.rangePrice}}</text>
</view>
</view>
</view>
</block>
</view>
</view>
<view class="active-more" bindtap="toactiveing">
<image src="/images/more.png"></image>
查看更多
</view>
</view> -->
<view class="popularity">
<!-- <image src="/images/popBac.png" class="popimg"></image> -->
<view class="popview" style="background:url('/images/popBac.png') no-repeat;background-size: cover;">
<view class="poptitle">
<view class="title-left">
<image src="/images/popone.png" ></image>
<view>人气活动</view>
</view>
<!-- <view class="title-right" bindtap="torank">
<image src="/images/add.png"></image>全部榜单
</view> -->
</view>
<view class="index-three">
<block wx:for="{{threeImages}}" wx:key='three'>
<view class="three-list" bindtap="toactiveDetail" data-id="{{item.activityId}}">
<view class="three-left">
<image src='{{item.activityLogo?item.activityLogo:logo}}' mode='aspectFill'></image>
</view>
<view class="three-right">
<view class="four-word">
<view class="four-title three-title">{{item.activityName}}</view>
<view class="four-log">
<text>{{item.startTime || '-'}}</text>
<view>|</view>
<text>{{item.totalDay || '-'}}天</text>
<view>|</view>
<text>{{item.activityAddr || '-'}}</text>
</view>
<view class="four-name">{{item.clubName || '-'}}
<!-- <image src="/images/person.png" wx:if="{{item.verifyType==1}}"></image>
<image src="/images/comp.png" wx:elif="{{item.verifyType==2}}"></image>
<image src="/images/nouser.png" wx:else></image> -->
</view>
<view class="four-bottom">
{{item.totalRegister?item.totalRegister:0}}人已参加
<text><text>¥</text>{{item.rangePrice}}</text>
</view>
</view>
</view>
</view>
</block>
</view>
</view>
</view>
<!-- <view class="wonderful">
<view class="wonder-name">
<view class="wonderful-title">
<view class="name">TA们在办精彩活动</view>
<image src="/images/wonder.png"></image>
</view>
<view class="wonder-more" bindtap="changeing">
<image src="/images/new.png"></image>
换一批
</view>
</view>
<view class="wonder-view">
<block wx:for="{{wonderPerson}}" wx:key='wonder'>
<view class="wonder-list" bindtap="gotojulebu" data-id="{{item.clubId}}">
<view class="list-top">
<image src='{{item.clubLogo?item.clubLogo:"../../images/logo.jpg"}}' mode='aspectFill' class="top-ava"></image>
<image src="/images/person.png" wx:if="{{item.user==1}}" class="top-log"></image>
<image src="/images/comp.png" wx:elif="{{item.user==2}}" class="top-log"></image>
<image src="/images/nouser.png" wx:else class="top-log"></image>
</view>
<view class="list-view">
<view class="list-name">{{item.clubName}}</view>
<view class="list-intro">{{item.intro}}</view>
<view class="join" wx:if="{{item.isJoin=='false'}}">加入</view>
<view class="joined" wx:else>已加入</view>
</view>
</view>
</block>
</view>
</view>
<view class="wonderful">
<view class="wonder-name">
<view class="wonderful-title">
<view class="names">猜你喜欢</view>
<image src="/images/youlike.png"></image>
</view>
</view>
<view class="youlike-view">
<block wx:for="{{youlike}}" wx:key='youlike'>
<view class="four-list" bindtap="toactiveDetail" data-id="{{item.activityId}}">
<image src="{{item.activityLogo?item.activityLogo:logo}}" mode='aspectFill' class="bigimg"></image>
<view class="four-word">
<view class="four-title">{{item.activityName}}</view>
<view class="four-log">
<text>{{item.startTime}}</text>
<view>|</view>
<text>{{item.totalDay}}天</text>
<view>|</view>
<text>{{item.activityAddr}}</text>
</view>
<view class="four-name">{{item.clubName}}
<image src="/images/person.png" wx:if="{{item.verifyType==1}}"></image>
<image src="/images/comp.png" wx:elif="{{item.verifyType==2}}"></image>
<image src="/images/nouser.png" wx:else></image>
</view>
<view class="four-bottom">
{{item.totalRegister?item.totalRegister:0}}人已参加
<text><text>¥</text>{{item.rangePrice}}</text>
</view>
</view>
</view>
</block>
</view>
</view> -->
</view>