123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- <!--pages/activity/activityhistory/activityHistory.wxml-->
- <view class="container">
- <view class="tabs">
- <view bindtap="chooseTab" data-state='1' class="{{tabState=='1'?'choose':'nochoose'}}">我发起的
- <view wx:if="{{tabState=='1'}}"
- style=" width: 40rpx; height: 5rpx;margin-left: 130rpx; position: absolute;background:#FE5F36;"></view>
- </view>
- <view bindtap="chooseTab" data-state='2' class="{{tabState=='2'?'choose':'nochoose'}}">我参与的
- <view wx:if="{{tabState=='2'}}"
- style="width: 40rpx; height: 5rpx; margin-left: 130rpx; position: absolute;background:#FE5F36;"></view>
- </view>
- </view>
- <!--我发起的-->
- <view class="table" wx:if="{{tabState=='1'}}">
- <view class="hang" wx:for="{{myPost}}">
- <view class="shijian">{{item.startTime}}</view>
- <view class="row">
- <view class="left">
- <!--<view class="shijian">2020-10-10 10:10:10</view> -->
- <view class="wenzi">邀请亲友,立赚60现金券</view>
- <view class="touxiang">
- <image wx:for="{{item.invitees}}" wx:for-item="imgs" src="{{imgs.cusPic}}"></image>
- <view wx:if="{{item.invitees.length==0}}">
- <image src="/static/images/active/dtzl.png"></image>
- <image src="/static/images/active/dtzl.png"></image>
- <image src="/static/images/active/dtzl.png"></image>
- </view>
- </view>
- </view>
- <view class="right">
- <view class="chengtuan">
- <span wx:if="{{item.status==0}}" style="color:black;font-size:30rpx">还差<span style="color:#FE5F36;">{{3-item.qty}}</span>人成团</span>
- <span wx:if="{{item.status==1}}" style="color:#FE5F36; font-size:30rpx">成团成功</span>
- <span wx:if="{{item.status==2}}" style="color:#FE5F36; font-size:28rpx">已失效</span>
- </view>
- <view bindtap="goCouponList" class="xjq" wx:if="{{item.status==1}}">使用现金券</view>
- <button open-type="share" class="xjq" wx:if="{{item.status==2}}" >再试一次</button>
- <button open-type="share" class="qyq" wx:if="{{item.status==0}}">
- <view style="font-size:24rpx;color:white;">去邀请</view>
- <view style="font-size:22rpx;color:white;">{{item.shichang}}</view>
- </button>
- </view>
-
- </view>
- </view>
- <view class="mygd"><span>没有更多了</span></view>
- </view>
- <!--我参与的-->
- <view class="table" wx:if="{{tabState=='2'}}">
- <view class="hang" wx:for="{{myJoin}}">
- <view class="shijian">{{item.startTime}}</view>
- <view class="row">
- <view class="left">
- <!--<view class="shijian">2020-10-10 10:10:10</view> -->
- <view class="wenzi">已帮朋友助力</view>
- <view class="touxiang">
- <image wx:for="{{item.invitees}}" wx:for-item="imgs" src="{{imgs.cusPic}}"></image>
- <!-- <image src="/static/images/active/dtzl.png"></image>
- <image src="/static/images/active/dtzl.png"></image> -->
- </view>
- </view>
- <view class="right">
- <view class="chengtuan">
- <span wx:if="{{item.status==0}}" style="color:black;font-size:30rpx">还差<span style="color:#FE5F36;">{{3-item.qty}}</span>人成团</span>
- <!-- <span wx:if="{{item.status==1}}" style="color:#FE5F36; font-size:30rpx">成团成功</span> -->
- <span wx:if="{{item.status==1}}" style="color:#FE5F36; font-size:28rpx">已获得新人券</span>
- <span wx:if="{{item.status==2}}" style="color:#FE5F36; font-size:28rpx">已失效</span>
- </view>
-
- <button open-type="share" style="font-size:20rpx" class="xjq">发起我的活动</button>
- <!-- <view class="xjq">再试一次</view> -->
- <!-- <view class="qyq">
- <view style="font-size:24rpx;color:white;">去邀请</view>
- <view style="font-size:22rpx;color:white;">23:59:59</view>
- </view> -->
- </view>
- </view>
- </view>
- <view class="mygd"><span>没有更多了</span></view>
- </view>
- </view>
|