<wxs src='../../../utils/wxsUtil.wxs' module="wxs"></wxs>
<!-- 拼团专区顶部图片 -->
<view class="top">
  <image src="https://we-spa.oss-cn-shenzhen.aliyuncs.com/wxapp/20221027/banner%402x.png"></image>
  <!-- 拼团记录 -->
  <view class="activeExplain" bindtap="goExplain">活动说明</view>
  <view class="groupRecord" bindtap="goRecord">拼团记录</view>
</view>
<!-- 次卡拼团 -->
<view class="title-name">
  <view class="line"></view>
  <view class="cardGroupTitle">次卡拼团</view>
  <view class="line"></view>
</view>
<view class="cardGroup">
  <view class="group-item" data-id="{{item.id}}" bindtap="goGoodsGroup" wx:key="index" wx:for="{{groupList.card_list}}">
    <view class="group-item-left">
      <image src="{{item.cover_url}}"></image>
    </view>
    <view class="group-item-right">
      <view class="item-title">{{item.name}}</view>
      <view class="item-oldPrice">￥{{item.original_price}}</view>
      <view class="right-bottom">
        <view class="item-price"><text>¥</text><text class="price__big">{{wxs.formatValue(item.price, 'split')[0]}}</text><text>.{{wxs.formatValue(item.price, 'split')[1]}}</text></view>
        <view class="item-button" >去开团 ></view>
      </view>
    </view>
  </view>
</view>
<!-- 商品拼团 -->
<view class="title-name">
  <view class="line"></view>
  <view class="goodsGroupTitle">商品拼团</view>
  <view class="line"></view>
</view>
<view class="cardGroup">
  <view class="group-item" data-id="{{item.id}}" bindtap="goGoodsGroup" wx:key="index" wx:for="{{groupList.goods_list}}">
    <view class="group-item-left">
      <image src="{{item.cover_url}}"></image>
    </view>
    <view class="group-item-right">
      <view class="item-title">{{item.name}}</view>
      <view class="item-oldPrice">￥{{item.original_price}}</view>
      <view class="right-bottom">
        <view class="item-price"><text>¥</text><text class="price__big">{{wxs.formatValue(item.price, 'split')[0]}}</text><text>.{{wxs.formatValue(item.price, 'split')[1]}}</text></view>
        <view class="item-button" >去开团 ></view>
      </view>
    </view>
  </view>
</view>