|
@@ -1,44 +1,32 @@
|
|
|
<view class="swiper-cont container-fill">
|
|
|
- <!-- <view class="scroll-fullpage" bindtouchstart="scrollTouchstart" bindtouchend="scrollTouchend" style="transform:translateY(-{{scrollindex*100}}%);margin-top: {{margintop}}px">
|
|
|
- <view class="section section01 {{scrollindex==0?'active':''}}" style='background:red'>
|
|
|
- <view class='cont'>
|
|
|
- <image src="../../images/active_bar1.png" class='cont-body'></image>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="section section02 {{scrollindex==1?'active':''}}" style='background:pink'>
|
|
|
- <view class='cont'>
|
|
|
- <view class='cont-body'>
|
|
|
- <view>two</view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="section section03 {{scrollindex==2?'active':''}}" style='background:blue'>
|
|
|
- <view class='cont'>
|
|
|
- <view class='cont-body'>
|
|
|
- <view>three</view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="section section04 {{scrollindex==3?'active':''}}" style='background:green'>
|
|
|
- <view class='cont'>
|
|
|
- <view class='cont-body'>
|
|
|
- <view>foure</view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view> -->
|
|
|
- <view class="tabbar">
|
|
|
- <view class="tab1" bindtap="goIndex">
|
|
|
- <image src="../../images/active_bar1.png" style="width:40rpx;height:40rpx;padding-top:10rpx"></image>
|
|
|
- <view style="color:#a342ff">首页</view>
|
|
|
+ <swiper class="imageContainer" bindchange="handleChange" previous-margin="50rpx" next-margin="50rpx" circular autoplay>
|
|
|
+ <block wx:for="{{3}}" wx:key="{{index}}">
|
|
|
+ <swiper-item class="item">
|
|
|
+ <image class="itemImg {{currentIndex == index ? 'active': ''}}" src="../../images/lb.png"></image>
|
|
|
+ </swiper-item>
|
|
|
+ </block>
|
|
|
+ </swiper>
|
|
|
+ <image src="../../images/show.png" style="width:650rpx;margin-left:50rpx;height:200rpx"></image>
|
|
|
+ <view style="display:flex;margin-left:30rpx;margin-top:20rpx;margin-bottom:20rpx"><view style='width:10rpx;height:35rpx;background-color:#986aff;margin-right:20rpx;border-radius:10rpx'></view>近期活动</view>
|
|
|
+ <view wx:for="{{arr}}" class="box" bindtap="goActive">
|
|
|
+ <view class="top">
|
|
|
+ <image src="../../images/activephoto.png" style="width:80rpx;height:80rpx;"></image>
|
|
|
+ <view class="text">
|
|
|
+ <view class="title">{{item.title}}</view>
|
|
|
+ <view class="remark">{{item.remark}}</view>
|
|
|
+ </view>
|
|
|
+ <view wx:if="{{item.activeStatus==0}}" class="btn btn1">未开始</view>
|
|
|
+ <view wx:if="{{item.activeStatus==1}}" class="btn btn2">进行中</view>
|
|
|
+ <view wx:if="{{item.activeStatus==2}}" class="btn btn3">已结束</view>
|
|
|
</view>
|
|
|
- <view class="tab1">
|
|
|
- <image src="../../images/active_bar1.png" style="width:40rpx;height:40rpx;padding-top:10rpx"></image>
|
|
|
- <button id="red" type="primary" session-from="nickName={{userInfo.nickName}}|avatarUrl={{userInfo.avatarUrl}}" open-type="contact">红娘</button>
|
|
|
+ <image src="../../images/activeimg.png" class="img2"></image>
|
|
|
+ <view class="p1">
|
|
|
+ <van-icon name="clock-o" color="#a267ff" size="35rpx" />
|
|
|
+ <view style="margin-left:15rpx">活动时间:{{item.activeTime}}</view>
|
|
|
</view>
|
|
|
- <view class="tab1" bindtap="goMy">
|
|
|
- <image src="../../images/active_bar1.png" style="width:40rpx;height:40rpx;padding-top:10rpx"></image>
|
|
|
- <view>我的</view>
|
|
|
+ <view class="p1">
|
|
|
+ <van-icon name="location-o" color="#a267ff" size="35rpx" />
|
|
|
+ <view style="margin-left:15rpx">活动地点:{{item.address}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|