1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- <wxs src='../../../utils/wxsUtil.wxs' module="wxs"></wxs>
- <!-- 拼团失败图片 -->
- <view class="fail-image">
- <image src="https://we-spa.oss-cn-shenzhen.aliyuncs.com/wxapp/20221027/%E5%A4%B1%E8%B4%A5%402x.png"></image>
- </view>
- <!-- 拼团提醒 -->
- <!-- 状态:0拼团中,1拼团成功,-1已取消(拼团失败),-2已结束(拼团失败) -->
- <view class="group-tip" wx:if="{{groupStatus==-2||groupStatus==-1}}">拼团已结束,您可以发起新的拼团</view>
- <view class="group-tip" wx:if="{{checkGrouping==0&&self==false}}">你不符合参与拼团条件,可发起新的拼团</view>
- <!-- 拼团说明 -->
- <view class="group-explain">
- <view>拼团说明:</view>
- <view>1.被邀请人为小程序新用户</view>
- <view>2.美妆产品在拼团成功后在【我的】-【美妆产品订单】</view>
- <view>3.次卡拼团成功后在【我的卡包】</view>
- </view>
- <!-- 拼团商品 -->
- <view class="group-product">
- <view class="product-item-left">
- <image src="{{groupGoodsDetail.cover_url}}"></image>
- </view>
- <view class="product-item-right">
- <view class="item-right-title">{{groupGoodsDetail.name}}</view>
- <!-- <view class="item-right-price">¥{{item.price}}</view> -->
- <view class="item-right-price"> <text>¥</text><text class="price__big">{{wxs.formatValue(groupGoodsDetail.price, 'split')[0]}}</text>.<text>{{wxs.formatValue(groupGoodsDetail.price, 'split')[1]}}</text></view>
- </view>
- </view>
- <!-- 拼团列表 -->
- <view class="groupList" wx:if="{{groupingList.length!=0&&checkGrouping==1}}">
- <view class="group-title">
- <view class="newGroup">{{total}}人发起拼团,新用户直接参与拼团</view>
- <view class="Checkmore">查看更多></view>
- </view>
- <swiper class="groupList-box" bindchange='swiperChange' autoplay autoplay='2000'>
- <swiper-item wx:for="{{swiperPage}}" wx:key="index">
- <view class="groupList-item" wx:for="{{groupingList}}" wx:key="index">
- <view class="item-image">
- <image src="{{item.avatar_url}}"></image>
- </view>
- <view class="item-content">{{item.nickname}} 发起拼团 还差 <text>1人</text> 拼成</view>
- <view class="item-goGroup" data-grouping_id="{{item.id}}" bindtap="goGrouping">去拼单</view>
- </view>
- </swiper-item>
- </swiper>
- </view>
- <!-- 支付 -->
- <view class="bottom">
- <view class="oneselfBuy" bindtap="toGoodsOrderConfrim">
- <view class="bottom-price">¥{{groupGoodsDetail.original_price}}</view>
- <view class="bottom-type">单独购买</view>
- </view>
- <view class="toGroupBuy" bindtap="toGroupOrderConfrim">
- <view class="bottom-price">¥{{groupGoodsDetail.price}}</view>
- <view class="bottom-type">发起拼团</view>
- </view>
- </view>
|