<!--packageG/mycomponent/fight_group.wxml-->
<view class="content">
  <view class="goods_box" wx:for="{{list}}" wx:key="index">
    <view class="goods_img">
      <image src="{{item.has_one_goods.thumb}}" />
    </view>
    <view class="goods_info ul">
      <view class="name li" style="-webkit-box-orient: vertical;">{{item.title}}</view>
      <view class="price li" style="display:flex;align-items:center;" wx:if="{{item.has_many_option_levels && item.has_many_option_levels.length > 0}}">
        <text class="span">{{language['money']}}	{{item.has_many_option_levels[0].group_price}}</text>
        <view class="span" style="text-decoration: line-through;">
          {{language['money']}}{{item.has_many_option_levels[0].has_one_fight_groups_option.option_price}}
        </view>
      </view>
      <view class="number li">
        <view class="left" wx:if="{{item.has_many_option_levels && item.has_many_option_levels.length > 0}}">
          <icon class="iconfont icon-group_list"></icon>
          <text class="span">{{item.has_many_option_levels[0].member_num}}人</text>
        </view>
        <view class="go_group" data-id="{{item.id}}" data-store_id="{{item.store_id}}" catchtap="goGroup">
          <text class="span">去开团</text>
          <icon class="fa fa-angle-right" style="margin-top:-16rpx;"></icon>
        </view>
      </view>
    </view>
  </view>
</view>
