<!-- 团购列表 -->
<!--pages/aBulkList/aBulkList.wxml-->
<view class="abulk-list-wrapper">
  <view class="banner">
    <view class="bg"><image src="../../images/icon/group-bg.png"></image></view>
    <view class="img"><image src="../../images/icon/group-banner.png"></image></view>
  </view>
  <view class="abulk-list">

    <!-- 商品项 -->
    <block wx:for="{{aBulkList}}" wx:key="index">
      <view class="abulk-list-item" bindtap="toAbulkListPage" data-groupactivityid="{{item.groupActivityId}}"  data-prodid='{{item.prodId}}'>
        <!-- 商品图片 -->
        <view class="prod-img">
          <image src="{{item.prodPic}}"></image>
        </view>
        <!-- 商品信息 -->
        <view class="prod-msg">
          <view class="prod-title"><view class="prod-describe">{{item.groupNumber}}人团</view>{{item.prodName}}</view>
          <view class="prod-price">
            <!-- 团购价 -->
            <view class="pic">
              <text class='symbol'>￥</text>
              <text class='big-num'>{{wxs.parsePrice(item.actPrice)[0]}}</text>
              <text class='small-num'>.{{wxs.parsePrice(item.actPrice)[1]}}</text>
            </view>
            <!-- 原价 -->
            <view class="original-price">￥{{wxs.toPrice(item.price)}}</view>
            <!-- <view class="cart">
              <image src="../../images/tabbar/basket-sel.png"></image>
            </view> -->
          </view>
        </view>
      </view>
    </block>

  </view>

  <!-- 空 -->
  <view class="empty" wx:if="{{!aBulkList.length}}">
    <view class="empty-icon">
      <image src="../../images/icon/empty.png"></image>
    </view>
    <view class="empty-text">商家还未发布团购相关商品</view>
  </view>

</view>

<wxs module="wxs" src="../../wxs/number.wxs" />