<wxs module="util">
  var inOf = function (val, str) { if (val) { return val.indexOf(str) } };
  module.exports.inOf = inOf;

  var substring = function (val) { if (val) { return val.substring(0,1) } };
  module.exports.substring = substring;
</wxs>
<view class="component-wrapper {{'component-'+component_id}}" style="background-color: {{datas.preview_color}};">
  <!-- 商品组 列表 -->
  <view class="u_goodslist" wx:if="{{datas.preview_color}}"
    style="background-color: {{datas.preview_color}};padding-top: {{datas.padding_top}}px;padding-bottom: {{datas.padding_bottom}}px;padding-left: {{datas.padding_left}}px;padding-right: {{datas.padding_right}}px;">
    <view class="u_goodslist_two" wx:if="{{datas.sort_style.choose_icon == 1}}">
      <!-- 大图样式 -->
      <!-- 大图失效的 两种样式 是一样-->
      <view wx:if="{{list.length <= 0 && showList}}"
        style="width: 100%;height: 300rpx;line-height: 100rpx;text-align: center;font-size: 18px">
        <image src='https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/blank.png' mode='heightFix' style="height:200rpx"/>
      </view>
      <view class="u_goodslist_two_child big" wx:for="{{list}}" wx:key="index"  wx:for-item="item" data-item="{{item}}" catchtap="gotoDetail" wx:if="{{item.stock_status === 0 || datas.disable_good != 0}}"  style="border-radius: {{datas.item_radius}}px;border: {{datas.show_border?'1':'0'}}px solid {{datas.border_color}};box-shadow: {{datas.show_shadow?'1':'0'}}px {{datas.show_shadow?'1':'0'}}px {{datas.show_shadow?'5':'0'}}px {{datas.border_color}};">
        <view wx:if="{{datas.disable_good != 0 && item.stock_status && item.stock_status != 0}}" class="{{datas.disable_good == 1?'failure_cover':''}} Failure"
          style="border-radius: 0;">
          <view wx:if="{{item.stock_status==1}}" class="Failure_text">售罄</view>
          <view wx:if="{{item.stock_status==2}}" class="Failure_text">已下架</view>
          <view wx:if="{{item.stock_status==3 || item.stock_status==4}}" class="Failure_text">不存在</view>
        </view>
        <yz-image src="{{item.img || emptyImage}}" mode='widthFix' alt="" custom-class="goodsImg" />
        <view class="good_Attributes" style="width:{{ datas.good_tag.choose_icon ==7? '50px':''}};height: {{datas.good_tag.choose_icon ==7? 'auto':''}}">
          <!-- 限时抢购 -->
          <image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/xianshiqianggou@2x.png"
            wx:if="{{datas.good_tag.choose_icon ==5}}" alt="" />
          <!-- 包邮 -->
          <image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/baoyou@2x.png" wx:if="{{datas.good_tag.choose_icon ==4}}"
            alt="" />
          <!-- 热销 -->
          <image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/hot@2x.png" wx:if="{{datas.good_tag.choose_icon ==2}}" alt="" />
          <!-- 新上 -->
          <image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/new@2x.png" wx:if="{{datas.good_tag.choose_icon ==3}}" alt="" />
          <!-- 推荐 -->
          <image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/recommend@2x.png" wx:if="{{datas.good_tag.choose_icon ==1}}"
            alt="" />
          <!-- 自定义 -->
          <yz-image src="{{datas.good_tag.image}}" custom-style="width:100%" wx:if="{{datas.good_tag.choose_icon ==7}}" mode='widthFix' />
        </view>
        <view class="twoChild_bottom">
          <view class="Child_title" style="color:#fff;" wx:if="{{util.inOf(datas.content_list,'1') > -1}}">
            {{item.name || '商品标题'}}
          </view>
          <view class="Child_other">
            <view class="oneChild_sales" style="color:#fff;" wx:if="{{util.inOf(datas.content_list,'7') > -1}}">销量 {{item.sales}}
            </view>
            <view class="oneChild_activity" style="color:#fff;"
              wx:if="{{!util.inOf(datas.content_list,'5') > -1&& util.inOf(datas.content_list,'6') > -1 && item.point != 0}}">赠送{{item.point}}{{integral}}
            </view>
            <view class="oneChild_activity" style="color:#fff;" wx:if="{{util.inOf(datas.content_list,'5') > -1 && item.award == 1 && (!item.vip_level_status || (item.vip_level_status && item.vip_level_status.status==0))}}">
              赠送{{item.award_proportion}}{{item.love_name||"爱心值"}}</view>
          </view>
          <view class="Child_member_price" wx:if="{{util.inOf(datas.content_list,'4') > -1 && !item.point_goods && !item.notshow}}">会员价 {{ item.vip_level_status&&item.vip_level_status.status==1
              ?item.vip_level_status.word
              :(item.price_level==1?item.vip_price:item.vip_next_price) }}
          </view>
          <view class="Child_price">
            <view class="Child_now_price" style="width: {{datas.button_type == 0 ? '100%' : '70%'}}">
              <text wx:if="{{(util.inOf(datas.content_list,'3') > -1 && util.inOf(datas.content_list,'8') <= -1) || (util.inOf(datas.content_list,'8') > -1 && item.coupon && item.coupon.coupon_method === 0)}}" style="font-size: {{item.vip_level_status&&item.vip_level_status.status==1 ? '12px': ''}}">
                <text class="span" wx:if="{{datas.show_price_text && !item.point_goods}}"> {{price_text}} </text><text class="span" wx:if="{{!item.point_goods}}">{{language['money']}}</text> {{ item.point_goods ? item.point_goods.min_point
                :(item.vip_level_status && item.vip_level_status.status == 1
                ? item.vip_level_status.word
                : item.pricenow) }}<text class="span" wx:if="{{item.point_goods}}">{{integral}}</text></text>
              <text wx:if="{{util.inOf(datas.content_list,'8') > -1 && item.coupon && item.coupon.coupon_method !== 0}}"><text class="span" wx:if="{{datas.show_price_text}}"> 券后价 </text><text class="span">{{language['money']}}</text> {{item.coupon.deduct_price}}</text>

              <text class="oneChild_original_price" wx:if="{{util.inOf(datas.content_list,'2') > -1 && item.priceold != 0 && item.priceold!=item.pricenow && !item.point_goods}}"><text wx:if="{{datas.show_price_text}}"> {{market_price_text}}</text> {{language['money']}}{{item.priceold}}</text></view>
            <view class="Child_buyBtn" wx:if="{{datas.button_type!=0}}">
              <view class="buyBtn_{{datas.button_type}} buyBtn" style="border: solid 1rpx {{datas.button_bg_color}};color: {{datas.button_type == 2 || datas.button_type == 4 || datas.button_type == 6 ? datas.button_bg_color: datas.button_color}};background-color: {{datas.button_type == 1 || datas.button_type == 3 || datas.button_type == 5 ? datas.button_bg_color: ''}}">
                <view wx:if="{{datas.button_type == 1||datas.button_type==2}}">{{datas.button_title}}</view>
                <icon class="iconfont icon-gaiicon-" wx:if="{{datas.button_type == 3||datas.button_type==4}}"></icon>
                <icon class="iconfont icon-life-game-plus" wx:if="{{datas.button_type == 5||datas.button_type==6}}">
                </icon>
              </view>
            </view>
          </view>
          <view class="show_price_box" wx:if="{{item.goods_show&&item.goods_show.length>0}}">
            <view class="show_price {{idx % 2 == 0 ? 'red_white' : 'white_red'}}" wx:for="{{item.goods_show}}" wx:for-index="idx" wx:for-item="itemName">
              {{ itemName.name }}:{{ itemName.value }}
            </view>
          </view>
          <view class="pass_price" wx:if="{{item.pass_price}}">{{item.pass_price.name}}:{{item.pass_price.price}}</view>
        </view>
      </view>
    </view>

    <view class="u_goodslist_three" wx:if="{{datas.sort_style.choose_icon == 2}}">
      <view wx:if="{{list.length <= 0 && showList}}"
        style="width: 100%;height: 300rpx;line-height: 100rpx;text-align: center;font-size: 18px">
        <image src='https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/blank.png' mode='heightFix' style="height:200rpx"/>
      </view>
      <!-- 双排样式 -->
      <view class="u_goodslist_three_child " wx:for="{{list}}" wx:for-item="item" catchtap="gotoDetail" wx:if="{{item.stock_status === 0 || datas.disable_good != 0}}" data-item="{{item}}" wx:key="index" style="border-radius: {{datas.item_radius}}px;">
        <view wx:if="{{datas.disable_good != 0 && item.stock_status && item.stock_status != 0}}" class="{{datas.disable_good == 1?'failure_cover':''}} Failure">
          <view wx:if="{{item.stock_status==1}}" class="Failure_text">售罄</view>
          <view wx:if="{{item.stock_status==2}}" class="Failure_text">已下架</view>
          <view wx:if="{{item.stock_status==3 || item.stock_status==4}}" class="Failure_text">不存在</view>
        </view>
        <view
          style="overflow: hidden;border-radius: {{datas.item_radius}}px;">
          <view class="threeChild_top">
            <view class="good_Attributes" style="width:{{ datas.good_tag.choose_icon ==7? '35px':''}};height: {{datas.good_tag.choose_icon ==7? 'auto':''}}">
              <!-- 限时抢购 -->
              <image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/xianshiqianggou@2x.png"
                wx:if="{{datas.good_tag.choose_icon ==5}}" alt="" />
              <!-- 包邮 -->
              <image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/baoyou@2x.png" wx:if="{{datas.good_tag.choose_icon ==4}}"
                alt="" />
              <!-- 热销 -->
              <image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/hot@2x.png" wx:if="{{datas.good_tag.choose_icon ==2}}"
                alt="" />
              <!-- 新上 -->
              <image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/new@2x.png" wx:if="{{datas.good_tag.choose_icon ==3}}"
                alt="" />
              <!-- 推荐 -->
              <image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/recommend@2x.png" wx:if="{{datas.good_tag.choose_icon ==1}}"
                alt="" />
              <!-- 自定义 -->
              <yz-image src="{{datas.good_tag.image}}" custom-style="width:100%" wx:if="{{datas.good_tag.choose_icon ==7}}" mode='widthFix' />
            </view>
            <yz-image src="{{item.img || emptyImage}}" alt="" custom-class="goodsImg" />
          </view>
          <view class="threeChild_b">
            <view class="Child_title" wx:if="{{util.inOf(datas.content_list,'1') > -1}}">
              {{item.name || '商品标题'}}
            </view>
            <view class="Child_other">
              <view class="oneChild_sales" wx:if="{{util.inOf(datas.content_list,'7') > -1}}">销量 {{item.sales}}</view>
              <view class="oneChild_activity"
                wx:if="{{!util.inOf(datas.content_list,'5') > -1 && util.inOf(datas.content_list,'6') > -1 && item.point != 0}}">赠送{{item.point}}{{integral}}
              </view>
              <view class="oneChild_activity" wx:if="{{util.inOf(datas.content_list,'5') > -1 && item.award == 1 && (!item.vip_level_status || (item.vip_level_status && item.vip_level_status.status==0))}}">赠送{{item.award_proportion}}{{item.love_name||"爱心值"}}</view>
            </view>
            <view class="Child_member_price" wx:if="{{util.inOf(datas.content_list,'4') > -1 && !item.point_goods && !item.notshow}}">会员<text style="font-size:12px">{{language['money']}}</text>{{ item.vip_level_status&&item.vip_level_status.status==1
              ?item.vip_level_status.word
              :(item.price_level==1?item.vip_price:item.vip_next_price) }}</view>
            <view class="Child_price">
              <view class="Child_now_price" style="width: {{datas.button_type == 1 || datas.button_type == 2 ? '50%' : '80%'}};font-size: {{item.vip_level_status&&item.vip_level_status.status==1 ? '12px': ''}}" wx:if="{{(util.inOf(datas.content_list,'3') > -1 && util.inOf(datas.content_list,'8') <= -1) || (util.inOf(datas.content_list,'8') > -1 && item.coupon && item.coupon.coupon_method === 0)}}">
                <text class="span" wx:if="{{datas.show_price_text && !item.point_goods}}">{{util.substring(price_text)}} </text><text class="span" wx:if="{{!item.point_goods}}">{{language['money']}}</text> {{ item.point_goods ? item.point_goods.min_point
                :(item.vip_level_status && item.vip_level_status.status == 1
                ? item.vip_level_status.word
                : item.pricenow) }}<text class="span" wx:if="{{item.point_goods}}">{{integral}}</text>
              </view>
              <view class="Child_now_price" style="width: {{datas.button_type == 1 || datas.button_type == 2 ? '50%' : '80%'}}" wx:if="{{util.inOf(datas.content_list,'8') > -1 && item.coupon && item.coupon.coupon_method !== 0}}"><text class="span" wx:if="{{datas.show_price_text}}">券 </text><text class="span">{{language['money']}}</text> {{item.coupon.deduct_price}}
              </view>

              <view class="Child_now_price" wx:if="{{!util.inOf(datas.content_list,'3') > -1 && !util.inOf(datas.content_list,'8') > -1}}"></view>
              <view class="Child_buyBtn" wx:if="{{datas.button_type!=0}}">
                <view class="buyBtn_{{datas.button_type}} buyBtn" style="border: solid 1rpx {{datas.button_bg_color}};color: {{datas.button_type == 2 || datas.button_type == 4 || datas.button_type == 6 ? datas.button_bg_color: datas.button_color}};background-color: {{datas.button_type == 1 || datas.button_type == 3 || datas.button_type == 5 ? datas.button_bg_color: ''}}">
                  <view wx:if="{{datas.button_type == 1||datas.button_type==2}}" >{{datas.button_title}}</view>
                  <icon class="iconfont icon-gaiicon-" wx:if="{{datas.button_type == 3||datas.button_type==4}}"></icon>
                  <icon class="iconfont icon-life-game-plus" wx:if="{{datas.button_type == 5||datas.button_type==6}}">
                  </icon>
                </view>
              </view>
            </view>
            <view class="pass_price" wx:if="{{item.pass_price}}">{{item.pass_price.name}}:{{item.pass_price.price}}</view>
            <view class="oneChild_original_price" wx:if="{{util.inOf(datas.content_list,'2') > -1 && item.priceold != 0 && item.priceold!=item.pricenow && !item.point_goods}}">
              <text wx:if="{{datas.show_price_text}}"> {{util.substring(market_price_text)}}</text> {{language['money']}}{{item.priceold}}
            </view>
            
            <view class="show_price_box" wx:if="{{item.goods_show&&item.goods_show.length>0}}">
            <view class="show_price {{idx % 2 == 0 ? 'red_white' : 'white_red'}}" wx:for="{{item.goods_show}}" wx:for-index="idx" wx:for-item="itemName">
              {{ itemName.name }}:{{ itemName.value }}
            </view>
          </view>

          </view>
        </view>
      </view>
    </view>

    <view class="u_goodslist_one" wx:if="{{datas.sort_style.choose_icon == 3}}">
      <view wx:if="{{list.length <= 0 && showList}}"
        style="width: 100%;height: 300rpx;line-height: 100rpx;text-align: center;font-size: 18px">
        <image src='https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/blank.png' mode='heightFix' style="height:200rpx"/>
      </view>
      <!-- 横排样式 -->
      <view class="u_goodslist_one_child " wx:for="{{list}}" wx:for-item="item" catchtap="gotoDetail" wx:if="{{item.stock_status === 0 || datas.disable_good != 0}}" data-item="{{item}}" wx:key="index"
        style="border-radius: {{datas.item_radius}}px; border: {{datas.show_border?'1':'0'}}px solid {{datas.border_color}};box-shadow: {{datas.show_shadow?'1':'0'}}px {{datas.show_shadow?'1':'0'}}px {{datas.show_shadow?'5':'0'}}px {{datas.border_color}};">
        <view wx:if="{{datas.disable_good != 0 && item.stock_status && item.stock_status != 0}}" class="{{datas.disable_good == 1?'failure_cover':''}} Failure"
          style="border-radius: 0;">
          <view wx:if="{{item.stock_status==1}}" class="Failure_text">售罄</view>
          <view wx:if="{{item.stock_status==2}}" class="Failure_text">已下架</view>
          <view wx:if="{{item.stock_status==3 || item.stock_status==4}}" class="Failure_text">不存在</view>
        </view>
        <view class="oneChild_left">
          <view class="good_Attributes" style="width:{{ datas.good_tag.choose_icon ==7? '30px':''}};height: {{datas.good_tag.choose_icon ==7? 'auto':''}}">
            <!-- 限时抢购 -->
            <image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/xianshiqianggou@2x.png"
              wx:if="{{datas.good_tag.choose_icon ==5}}" alt="" />
            <!-- 包邮 -->
            <image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/baoyou@2x.png" wx:if="{{datas.good_tag.choose_icon ==4}}"
              alt="" />
            <!-- 热销 -->
            <image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/hot@2x.png" wx:if="{{datas.good_tag.choose_icon ==2}}"
              alt="" />
            <!-- 新上 -->
            <image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/new@2x.png" wx:if="{{datas.good_tag.choose_icon ==3}}"
              alt="" />
            <!-- 推荐 -->
            <image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/recommend@2x.png" wx:if="{{datas.good_tag.choose_icon ==1}}"
              alt="" />
            <!-- 自定义 -->
            <yz-image src="{{datas.good_tag.image}}" custom-style="width:100%" wx:if="{{datas.good_tag.choose_icon ==7}}"
            mode='widthFix' />
          </view>
          <yz-image mode="widthFix" src="{{item.img || emptyImage}}" alt="" />
        </view>
        <view class="oneChild_right">
          <view class="buttons_box">
            <view wx:if="{{goods_cofig.length>0 && util.inOf(goods_cofig,'collect') > -1}}"><icon class="iconfont {{item.is_favorite == 0 ? 'icon-bc_like_normal' : 'icon-bc_like'}}"></icon> <span>收藏</span></view>
            <view catchtap="openShare" data-item="{{item}}" wx:if="{{goods_cofig.length>0 && util.inOf(goods_cofig,'share') > -1}}" class="share_buton">
              <icon class="iconfont icon-fenxiang"></icon>
              <span>分享</span>
              <!-- <button style="position:absolute;width:100%;height:100%;opacity:0;top: 0;right: 0;" open-type="share"></button> -->
            </view>
          </view>
          <view class="oneChild_r_flextop">
            <view class="Child_title" wx:if="{{util.inOf(datas.content_list,'1') > -1}}">
              {{item.name || '商品标题'}}
            </view>
            <view class="Child_other">
              <view class="oneChild_sales" wx:if="{{util.inOf(datas.content_list,'7') > -1}}">销量 {{item.sales}}</view>
              <view class="oneChild_activity"
                wx:if="{{!util.inOf(datas.content_list,'5') > -1 && util.inOf(datas.content_list,'6') > -1 && item.point != 0}}">赠送{{item.point}}{{integral}}
              </view>
              <view class="oneChild_activity" wx:if="{{util.inOf(datas.content_list,'5') > -1 && item.award == 1 && (!item.vip_level_status || (item.vip_level_status && item.vip_level_status.status==0))}}">赠送{{item.award_proportion}}{{item.love_name||"爱心值"}}</view>
            </view>
          </view>
          <view class="oneChild_r_flexbottom">
            <view class="Child_member_price" wx:if="{{util.inOf(datas.content_list,'4') > -1 && !item.point_goods && !item.notshow}}">会员价 {{ item.vip_level_status&&item.vip_level_status.status==1
              ?item.vip_level_status.word
              :(item.price_level==1?item.vip_price:item.vip_next_price) }}
            </view>
            <view class="Child_price">
              <view class="Child_now_price" style="width: {{datas.button_type == 1 || datas.button_type == 2 ? '50%' : '80%'}};font-size: {{item.vip_level_status&&item.vip_level_status.status==1 ? '12px': ''}}" wx:if="{{(util.inOf(datas.content_list,'3') > -1 && util.inOf(datas.content_list,'8') <= -1) || (util.inOf(datas.content_list,'8') > -1 && item.coupon && item.coupon.coupon_method === 0)}}">
                <text class="span" wx:if="{{datas.show_price_text && !item.point_goods}}"> {{price_text}} </text><text class="span" wx:if="{{!item.point_goods}}">{{language['money']}}</text> {{ item.point_goods ? item.point_goods.min_point
                :(item.vip_level_status && item.vip_level_status.status == 1
                ? item.vip_level_status.word
                : item.pricenow) }}<text class="span" wx:if="{{item.point_goods}}">{{integral}}</text>
              </view>
              <view class="Child_now_price" style="width: {{datas.button_type == 1 || datas.button_type == 2 ? '50%' : '80%'}}" wx:if="{{util.inOf(datas.content_list,'8') > -1 && item.coupon && item.coupon.coupon_method !== 0}}"><text class="span" wx:if="{{datas.show_price_text}}"> 券后价 </text><text class="span">{{language['money']}}</text> {{ item.coupon.deduct_price }}
              </view>

              <view class="Child_now_price" wx:if="{{!util.inOf(datas.content_list,'3') > -1 && !util.inOf(datas.content_list,'8') > -1}}"></view>
              <view class="Child_buyBtn" wx:if="{{datas.button_type!=0}}">
                <view class="buyBtn_{{datas.button_type}} buyBtn" style="border: solid 1rpx {{datas.button_bg_color}};color: {{datas.button_type == 2 || datas.button_type == 4 || datas.button_type == 6 ? datas.button_bg_color: datas.button_color}};background-color: {{datas.button_type == 1 || datas.button_type == 3 || datas.button_type == 5 ? datas.button_bg_color: ''}}">
                  <view wx:if="{{datas.button_type == 1||datas.button_type==2}}">{{datas.button_title}}</view>
                  <icon class="iconfont icon-gaiicon-" wx:if="{{datas.button_type == 3||datas.button_type==4}}"></icon>
                  <icon class="iconfont icon-life-game-plus" wx:if="{{datas.button_type == 5||datas.button_type==6}}">
                  </icon>
                </view>
              </view>
            </view>
            <view class="pass_price" wx:if="{{item.pass_price}}">{{item.pass_price.name}}:{{item.pass_price.price}}</view>
            <view class="oneChild_original_price" wx:if="{{util.inOf(datas.content_list,'2') > -1 && item.priceold != 0 && item.priceold!=item.pricenow && !item.point_goods}}">
              <text wx:if="{{datas.show_price_text}}"> {{market_price_text}}</text> {{language['money']}}{{item.priceold}}
            </view>
            <view class="show_price_box" wx:if="{{item.goods_show&&item.goods_show.length>0}}">
            <view class="show_price {{idx % 2 == 0 ? 'red_white' : 'white_red'}}" wx:for="{{item.goods_show}}" wx:for-index="idx" wx:for-item="itemName">
              {{ itemName.name }}:{{ itemName.value }}
            </view>
          </view>

          </view>
        </view>
      </view>
    </view>

    <view class="u_goodslist_four {{childComponent == 'tab'?'diytab':''}}" wx:if="{{datas.sort_style.choose_icon == 4}}">
      <view wx:if="{{list.length <= 0 && showList}}"
        style="width: 100%;height: 300rpx;line-height: 100rpx;text-align: center;font-size: 18px">
        <image src='https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/blank.png' mode='heightFix' style="height:200rpx"/>
      </view>
      <!-- 三排排序样式 -->
      <view class="u_goodslist_four_child " wx:for="{{list}}" wx:for-item="item" catchtap="gotoDetail" wx:if="{{item.stock_status === 0 || datas.disable_good != 0}}"
        data-item="{{item}}" wx:key="index" style="border-radius: {{datas.item_radius}}px">
        <view wx:if="{{datas.disable_good != 0 && item.stock_status && item.stock_status != 0}}" class="{{datas.disable_good == 1?'failure_cover':''}} Failure">
          <view wx:if="{{item.stock_status==1}}" class="Failure_text">售罄</view>
          <view wx:if="{{item.stock_status==2}}" class="Failure_text">已下架</view>
          <view wx:if="{{item.stock_status==3 || item.stock_status==4}}" class="Failure_text">不存在</view>
        </view>
        <view
          style="border-radius: {{datas.item_radius}}px;overflow:hidden">
          <view class="threeChild_top">
            <view class="good_Attributes" style="width:{{ datas.good_tag.choose_icon ==7? '25px':''}};height: {{datas.good_tag.choose_icon ==7? 'auto':''}}">
              <!-- 限时抢购 -->
              <image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/xianshiqianggou@2x.png"
                wx:if="{{datas.good_tag.choose_icon ==5}}" alt="" />
              <!-- 包邮 -->
              <image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/baoyou@2x.png" wx:if="{{datas.good_tag.choose_icon ==4}}"
                alt="" />
              <!-- 热销 -->
              <image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/hot@2x.png" wx:if="{{datas.good_tag.choose_icon ==2}}"
                alt="" />
              <!-- 新上 -->
              <image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/new@2x.png" wx:if="{{datas.good_tag.choose_icon ==3}}"
                alt="" />
              <!-- 推荐 -->
              <image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/recommend@2x.png" wx:if="{{datas.good_tag.choose_icon ==1}}"
                alt="" />
              <!-- 自定义 -->
              <yz-image src="{{datas.good_tag.image}}" custom-style="width:100%" wx:if="{{datas.good_tag.choose_icon ==7}}" mode='widthFix' />
            </view>
            <yz-image lazy-load="{{true}}" src="{{item.img || emptyImage}}" alt="" custom-class="goodsImg" />
          </view>
          <view class="threeChild_b">
            <view class="Child_title" wx:if="{{util.inOf(datas.content_list,'1') > -1}}">
              {{item.name || '商品标题'}}
            </view>
            <view class="Child_other">
              <view class="oneChild_sales"
                wx:if="{{!util.inOf(datas.content_list,'5') > -1 && util.inOf(datas.content_list,'6') > -1 && item.point != 0}}">
                赠送{{item.point}}{{integral}}
              </view>
              <view class="oneChild_sales" wx:if="{{util.inOf(datas.content_list,'5') > -1 && item.award == 1 && (!item.vip_level_status || (item.vip_level_status && item.vip_level_status.status==0))}}">赠送{{item.award_proportion}}{{item.love_name||"爱心值"}}</view>
              <view class="oneChild_activity" wx:if="{{util.inOf(datas.content_list,'7') > -1}}">销量 {{item.sales}}</view>
            </view>
            <view class="Child_member_price" wx:if="{{util.inOf(datas.content_list,'4') > -1 && !item.point_goods && !item.notshow}}">会员<text style="font-size:12px">{{language['money']}}</text>{{ item.vip_level_status&&item.vip_level_status.status==1
              ?item.vip_level_status.word
              :(item.price_level==1?item.vip_price:item.vip_next_price) }}</view>
            <view class="Child_price">
              <view class="Child_now_price" style="width: {{datas.button_type == 0 || datas.button_type == 1 || datas.button_type == 2 ? '100%' : '80%'}};font-size: {{item.vip_level_status&&item.vip_level_status.status==1 ? '12px': ''}}" wx:if="{{(util.inOf(datas.content_list,'3') > -1 && util.inOf(datas.content_list,'8') <= -1) || (util.inOf(datas.content_list,'8') > -1 && item.coupon && item.coupon.coupon_method === 0)}}">
                <text class="span" wx:if="{{datas.show_price_text && !item.point_goods}}"> {{util.substring(price_text)}} </text><text class="span" wx:if="{{!item.point_goods}}">{{language['money']}}</text>{{ item.point_goods ? item.point_goods.min_point
                :(item.vip_level_status && item.vip_level_status.status == 1
                ? item.vip_level_status.word
                : item.pricenow) }}<text class="span" wx:if="{{item.point_goods}}">{{integral}}</text>
              </view>
              <view class="Child_now_price" style="width: {{datas.button_type == 0 || datas.button_type == 1 || datas.button_type == 2 ? '100%' : '80%'}}" wx:if="{{util.inOf(datas.content_list,'8') > -1 && item.coupon && item.coupon.coupon_method !== 0}}"><text class="span" wx:if="{{datas.show_price_text}}">券 </text><text class="span">{{language['money']}}</text> {{item.coupon.deduct_price}}
              </view>

              <view class="Child_now_price" wx:if="{{!util.inOf(datas.content_list,'3') > -1 && !util.inOf(datas.content_list,'8') > -1}}"></view>
              <view class="Child_buyBtn" wx:if="{{datas.button_type != 1 && datas.button_type!=2 && datas.button_type!=0}}">
                <view class="buyBtn_{{datas.button_type}} buyBtn" style="border: solid 1rpx {{datas.button_bg_color}};color: {{datas.button_type == 2 || datas.button_type == 4 || datas.button_type == 6 ? datas.button_bg_color: datas.button_color}};background-color: {{datas.button_type == 1 || datas.button_type == 3 || datas.button_type == 5 ? datas.button_bg_color: ''}}">
                  <!-- 三排没有样式1、样式2的购买按钮 -->
                  <!-- <view wx:if="{{datas.button_type == 1||datas.button_type==2">{{datas.button_title}}</view> -->
                  <icon class="iconfont icon-gaiicon-" wx:if="{{datas.button_type == 3||datas.button_type==4}}"></icon>
                  <icon class="iconfont icon-life-game-plus" wx:if="{{datas.button_type == 5||datas.button_type==6}}">
                  </icon>
                </view>
              </view>
            </view>
            <view class="pass_price" wx:if="{{item.pass_price}}">{{item.pass_price.name}}:{{item.pass_price.price}}</view>
            <view class="oneChild_original_price" wx:if="{{util.inOf(datas.content_list,'2') > -1 && item.priceold != 0 && item.priceold!=item.pricenow && !item.point_goods}}">
              <text wx:if="{{datas.show_price_text}}"> {{util.substring(market_price_text)}}</text> {{language['money']}}{{item.priceold}}
            </view>
            <view class="show_price_box" wx:if="{{item.goods_show&&item.goods_show.length>0}}">
            <view class="show_price {{idx % 2 == 0 ? 'red_white' : 'white_red'}}" wx:for="{{item.goods_show}}" wx:for-index="idx" wx:for-item="itemName">
              {{ itemName.name }}:{{ itemName.value }}
            </view>
          </view>

          </view>
        </view>
      </view>
    </view>

    <scroll-view scroll-x="true" style="width: 100%" bindscrolltolower="getMoreData" class="content-wrap">
      <view class="u_goodslist_four  u_goodslist_five" wx:if="{{datas.sort_style.choose_icon == 5}}">
        <view wx:if="{{list.length <= 0 && showList}}"
              style="width: 100%;height: 300rpx;line-height: 100rpx;text-align: center;font-size: 18px">
          <image src='https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/blank.png' mode='heightFix' style="height:200rpx"/>
        </view>
        <!-- 三排滑动样式 -->
        <view class="u_goodslist_four_child u_goodslist_five_child" wx:for="{{list}}" catchtap="gotoDetail" wx:if="{{item.stock_status === 0 || datas.disable_good != 0}}"
              wx:for-item="item" data-item="{{item}}" wx:key="index" style="border-radius: {{datas.item_radius}}px">
          <view wx:if="{{datas.disable_good != 0 && item.stock_status && item.stock_status != 0}}" class="{{datas.disable_good == 1?'failure_cover':''}} Failure">
            <view wx:if="{{item.stock_status==1}}" class="Failure_text">售罄</view>
            <view wx:if="{{item.stock_status==2}}" class="Failure_text">已下架</view>
            <view wx:if="{{item.stock_status==3 || item.stock_status==4}}" class="Failure_text">不存在</view>
          </view>
          <view
              style="border-radius: {{datas.item_radius}}px;overflow:hidden">
            <view class="threeChild_top">
              <view class="good_Attributes" style="width:{{ datas.good_tag.choose_icon ==7? '25px':''}};height: {{datas.good_tag.choose_icon ==7? 'auto':''}}">
                <!-- 限时抢购 -->
                <image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/xianshiqianggou@2x.png"
                       wx:if="{{datas.good_tag.choose_icon ==5}}" alt="" />
                <!-- 包邮 -->
                <image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/baoyou@2x.png" wx:if="{{datas.good_tag.choose_icon ==4}}"
                       alt="" />
                <!-- 热销 -->
                <image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/hot@2x.png" wx:if="{{datas.good_tag.choose_icon ==2}}"
                       alt="" />
                <!-- 新上 -->
                <image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/new@2x.png" wx:if="{{datas.good_tag.choose_icon ==3}}"
                       alt="" />
                <!-- 推荐 -->
                <image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/recommend@2x.png" wx:if="{{datas.good_tag.choose_icon ==1}}"
                       alt="" />
                <!-- 自定义 -->
                <yz-image src="{{datas.good_tag.image}}" custom-style="width:100%" wx:if="{{datas.good_tag.choose_icon ==7}}" mode='widthFix' />
              </view>
              <yz-image lazy-load="{{true}}" src="{{item.img || emptyImage}}" alt="" custom-class="goodsImg" />
            </view>
            <view class="threeChild_b">
              <view class="Child_title" wx:if="{{util.inOf(datas.content_list,'1') > -1}}">
                {{item.name || '商品标题'}}
              </view>
              <view class="Child_other">
                <view class="oneChild_sales"
                      wx:if="{{!util.inOf(datas.content_list,'5') > -1 && util.inOf(datas.content_list,'6') > -1 && item.point != 0}}">
                  赠送{{item.point}}{{integral}}
                </view>
                <view class="oneChild_sales" wx:if="{{util.inOf(datas.content_list,'5') > -1 && item.award == 1 && (!item.vip_level_status || (item.vip_level_status && item.vip_level_status.status==0))}}">赠送{{item.award_proportion}}{{item.love_name||"爱心值"}}</view>
                <view class="oneChild_activity" wx:if="{{util.inOf(datas.content_list,'7') > -1}}">销量 {{item.sales}}</view>
              </view>
              <view class="Child_member_price" wx:if="{{util.inOf(datas.content_list,'4') > -1 && !item.point_goods && !item.notshow}}">会员<text style="font-size:12px">{{language['money']}}</text>{{ item.vip_level_status&&item.vip_level_status.status==1
              ?item.vip_level_status.word
              :(item.price_level==1?item.vip_price:item.vip_next_price) }}</view>
              <view class="Child_price">
                <view class="Child_now_price" style="width: {{datas.button_type == 0 || datas.button_type == 1 || datas.button_type == 2 ? '100%' : '80%'}};font-size: {{item.vip_level_status&&item.vip_level_status.status==1 ? '12px': ''}}" wx:if="{{(util.inOf(datas.content_list,'3') > -1 && util.inOf(datas.content_list,'8') <= -1) || (util.inOf(datas.content_list,'8') > -1 && item.coupon && item.coupon.coupon_method === 0)}}">
                  <text class="span" wx:if="{{datas.show_price_text && !item.point_goods}}"> {{util.substring(price_text)}} </text><text class="span" wx:if="{{!item.point_goods}}">{{language['money']}}</text> {{ item.point_goods ? item.point_goods.min_point
                  :(item.vip_level_status && item.vip_level_status.status == 1
                  ? item.vip_level_status.word
                  : item.pricenow) }}<text class="span" wx:if="{{item.point_goods}}">{{integral}}</text>
                </view>
                <view class="Child_now_price" style="width: {{datas.button_type == 0 || datas.button_type == 1 || datas.button_type == 2 ? '100%' : '80%'}}" wx:if="{{util.inOf(datas.content_list,'8') > -1 && item.coupon && item.coupon.coupon_method !== 0}}"><text class="span" wx:if="{{datas.show_price_text}}">券 </text><text class="span">{{language['money']}}</text> {{item.coupon.deduct_price}}
                </view>

                <view class="Child_now_price" wx:if="{{!util.inOf(datas.content_list,'3') > -1 && !util.inOf(datas.content_list,'8') > -1}}"></view>
                <view class="Child_buyBtn" wx:if="{{datas.button_type != 1 && datas.button_type!=2 && datas.button_type!=0}}">
                  <view class="buyBtn_{{datas.button_type}} buyBtn" style="border: solid 1rpx {{datas.button_bg_color}};color: {{datas.button_type == 2 || datas.button_type == 4 || datas.button_type == 6 ? datas.button_bg_color: datas.button_color}};background-color: {{datas.button_type == 1 || datas.button_type == 3 || datas.button_type == 5 ? datas.button_bg_color: ''}}">
                    <!-- 三排没有样式1、样式2的购买按钮 -->
                    <!-- <view wx:if="{{datas.button_type == 1||datas.button_type==2">{{datas.button_title}}</view> -->
                    <icon class="iconfont icon-gaiicon-" wx:if="{{datas.button_type == 3||datas.button_type==4}}"></icon>
                    <icon class="iconfont icon-life-game-plus" wx:if="{{datas.button_type == 5||datas.button_type==6}}">
                    </icon>
                  </view>
                </view>
              </view>
              <view class="pass_price" wx:if="{{item.pass_price}}">{{item.pass_price.name}}:{{item.pass_price.price}}</view>
              <view class="oneChild_original_price" wx:if="{{util.inOf(datas.content_list,'2') > -1 && item.priceold != 0 && item.priceold!=item.pricenow && !item.point_goods}}">
                <text wx:if="{{datas.show_price_text}}"> {{util.substring(market_price_text)}}</text> {{language['money']}}{{item.priceold}}
              </view>
              <view class="show_price_box" wx:if="{{item.goods_show&&item.goods_show.length>0}}">
            <view class="show_price {{idx % 2 == 0 ? 'red_white' : 'white_red'}}" wx:for="{{item.goods_show}}" wx:for-index="idx" wx:for-item="itemName">
              {{ itemName.name }}:{{ itemName.value }}
            </view>
          </view>

            </view>
          </view>
        </view>
      </view>
    </scroll-view>

    <view class="u_goodslist_six" wx:if="{{datas.sort_style.choose_icon == 6}}">
      <view wx:if="{{list.length <= 0 && showList}}"
        style="width: 100%;height: 300rpx;line-height: 100rpx;text-align: center;font-size: 18px">
        <image src='https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/blank.png' mode='heightFix' style="height:200rpx"/>
      </view>
      <!-- 一大两小 -->
      <block wx:for="{{list}}" wx:for-item="item" data-item="{{item}}" wx:if="{{item.stock_status === 0 || datas.disable_good != 0}}">

        <view class="u_goodslist_two" style="margin:5px;" wx:if="{{index % 3 == 0}}">
          <!-- 大图样式 -->
          <view class="u_goodslist_two_child" catchtap="gotoDetail"  data-item="{{item}}"
            style="border-radius: {{datas.item_radius}}px;">
            <view wx:if="{{datas.disable_good != 0 && item.stock_status && item.stock_status != 0}}" class="{{datas.disable_good == 1?'failure_cover':''}} Failure">
              <view wx:if="{{item.stock_status==1}}" class="Failure_text">售罄</view>
              <view wx:if="{{item.stock_status==2}}" class="Failure_text">已下架</view>
              <view wx:if="{{item.stock_status==3 || item.stock_status==4}}" class="Failure_text">不存在</view>
            </view>
            <yz-image lazy-load="{{true}}" src="{{item.img || emptyImage}}" mode='widthFix' alt="" custom-class="goodsImg" />
            <view class="good_Attributes" style="width:{{ datas.good_tag.choose_icon ==7? '50px':''}};height: {{datas.good_tag.choose_icon ==7? 'auto':''}}">
              <!-- 限时抢购 -->
              <image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/xianshiqianggou@2x.png"
                wx:if="{{datas.good_tag.choose_icon ==5}}" alt="" />
              <!-- 包邮 -->
              <image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/baoyou@2x.png" wx:if="{{datas.good_tag.choose_icon ==4}}"
                alt="" />
              <!-- 热销 -->
              <image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/hot@2x.png" wx:if="{{datas.good_tag.choose_icon ==2}}"
                alt="" />
              <!-- 新上 -->
              <image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/new@2x.png" wx:if="{{datas.good_tag.choose_icon ==3}}"
                alt="" />
              <!-- 推荐 -->
              <image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/recommend@2x.png" wx:if="{{datas.good_tag.choose_icon ==1}}"
                alt="" />
              <!-- 自定义 -->
              <yz-image src="{{datas.good_tag.image}}" custom-style="width:100%" wx:if="{{datas.good_tag.choose_icon ==7}}" mode='widthFix' />
            </view>
            <view class="twoChild_bottom">
              <view class="Child_title" style="color:#fff;" wx:if="{{util.inOf(datas.content_list,'1') > -1}}">
                {{item.name || '商品标题'}}
              </view>
              <view class="Child_other">
                <view class="oneChild_sales" style="color:#fff;" wx:if="{{util.inOf(datas.content_list,'7') > -1}}">销量  {{item.sales}}</view>
                <view class="oneChild_activity" style="color:#fff;"
                  wx:if="{{!util.inOf(datas.content_list,'5') > -1 && util.inOf(datas.content_list,'6') > -1 && item.point != 0}}">赠送{{item.point}}{{integral}}
                </view>
                <view class="oneChild_activity" style="color:#fff;" wx:if="{{util.inOf(datas.content_list,'5') > -1 && item.award == 1 && (!item.vip_level_status || (item.vip_level_status && item.vip_level_status.status==0))}}">
                  赠送{{item.award_proportion}}{{item.love_name||"爱心值"}}
                </view>
              </view>
              <view class="Child_member_price" wx:if="{{util.inOf(datas.content_list,'4') > -1 && !item.point_goods && !item.notshow}}">会员价 {{ item.vip_level_status&&item.vip_level_status.status==1
              ?item.vip_level_status.word
              :(item.price_level==1?item.vip_price:item.vip_next_price) }}
              </view>
              <view class="Child_price">
                <view class="Child_now_price" style="width: {{datas.button_type == 0 ? '100%' : '70%'}}">
                  <text wx:if="{{(util.inOf(datas.content_list,'3') > -1 && util.inOf(datas.content_list,'8') <= -1) || (util.inOf(datas.content_list,'8') > -1 && item.coupon && item.coupon.coupon_method === 0)}}" style="font-size: {{item.vip_level_status&&item.vip_level_status.status==1 ? '12px': ''}}">
                    <text class="span" wx:if="{{datas.show_price_text && !item.point_goods}}"> {{price_text}} </text><text class="span" wx:if="{{!item.point_goods}}">{{language['money']}}</text>{{ item.point_goods ? item.point_goods.min_point
                    :(item.vip_level_status && item.vip_level_status.status == 1
                    ? item.vip_level_status.word
                    : item.pricenow) }}<text class="span" wx:if="{{item.point_goods}}">{{integral}}</text></text>
                  <text wx:if="{{util.inOf(datas.content_list,'8') > -1 && item.coupon && item.coupon.coupon_method !== 0}}"><text class="span" wx:if="{{datas.show_price_text}}"> 券后价 </text><text class="span">{{language['money']}}</text> {{item.coupon.deduct_price}}</text>

                  <text class="oneChild_original_price" wx:if="{{util.inOf(datas.content_list,'2') > -1 && item.priceold != 0 && item.priceold!=item.pricenow && !item.point_goods}}"><text wx:if="{{datas.show_price_text}}"> {{market_price_text}}</text> {{language['money']}}{{item.priceold}}</text></view>
                <view class="Child_buyBtn" wx:if="{{datas.button_type!=0}}">
                  <view class="buyBtn_{{datas.button_type}} buyBtn" style="border: solid 1rpx {{datas.button_bg_color}};color: {{datas.button_type == 2 || datas.button_type == 4 || datas.button_type == 6 ? datas.button_bg_color: datas.button_color}};background-color: {{datas.button_type == 1 || datas.button_type == 3 || datas.button_type == 5 ? datas.button_bg_color: ''}}">
                    <view wx:if="{{datas.button_type == 1||datas.button_type==2}}">{{datas.button_title}}</view>
                    <icon class="iconfont icon-gaiicon-" wx:if="{{datas.button_type == 3||datas.button_type==4}}">
                    </icon>
                    <icon class="iconfont icon-life-game-plus" wx:if="{{datas.button_type == 5||datas.button_type==6}}">
                    </icon>
                  </view>
                </view>
              </view>
              <view class="pass_price" wx:if="{{item.pass_price}}">{{item.pass_price.name}}:{{item.pass_price.price}}</view>
              <view class="show_price_box" wx:if="{{item.goods_show&&item.goods_show.length>0}}">
            <view class="show_price {{idx % 2 == 0 ? 'red_white' : 'white_red'}}" wx:for="{{item.goods_show}}" wx:for-index="idx" wx:for-item="itemName">
              {{ itemName.name }}:{{ itemName.value }}
            </view>
          </view>

            </view>
          </view>
        </view>

        <view class="u_goodslist_three" wx:if="{{index % 3 != 0}}">
          <!-- 双排样式 -->
          <view class="u_goodslist_three_child" style="border-radius: {{datas.item_radius}}px;" catchtap="gotoDetail"  data-item="{{item}}">
            <view wx:if="{{datas.disable_good != 0 && item.stock_status && item.stock_status != 0}}" class="{{datas.disable_good == 1?'failure_cover':''}} Failure">
              <view wx:if="{{item.stock_status==1}}" class="Failure_text">售罄</view>
              <view wx:if="{{item.stock_status==2}}" class="Failure_text">已下架</view>
              <view wx:if="{{item.stock_status==3 || item.stock_status==4}}" class="Failure_text">不存在</view>
            </view>
            <view
              style="border-radius: {{datas.item_radius}}px;overflow: hidden;">
              <view class="threeChild_top">
                <view class="good_Attributes" style="width:{{ datas.good_tag.choose_icon ==7? '35px':''}};height: {{datas.good_tag.choose_icon ==7? 'auto':''}}">
                  <!-- 限时抢购 -->
                  <image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/xianshiqianggou@2x.png"
                    wx:if="{{datas.good_tag.choose_icon ==5}}" alt="" />
                  <!-- 包邮 -->
                  <image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/baoyou@2x.png" wx:if="{{datas.good_tag.choose_icon ==4}}"
                    alt="" />
                  <!-- 热销 -->
                  <image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/hot@2x.png" wx:if="{{datas.good_tag.choose_icon ==2}}"
                    alt="" />
                  <!-- 新上 -->
                  <image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/new@2x.png" wx:if="{{datas.good_tag.choose_icon ==3}}"
                    alt="" />
                  <!-- 推荐 -->
                  <image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/recommend@2x.png"
                    wx:if="{{datas.good_tag.choose_icon ==1}}" alt="" />
                  <!-- 自定义 -->
                  <yz-image src="{{datas.good_tag.image}}" custom-style="width:100%" wx:if="{{datas.good_tag.choose_icon ==7}}" mode='widthFix' />
                </view>
                <yz-image lazy-load="{{true}}" src="{{item.img || emptyImage}}" alt="" custom-class="goodsImg" />
              </view>
              <view class="threeChild_b">
                <view class="Child_title" wx:if="{{util.inOf(datas.content_list,'1') > -1}}">
                  {{item.name || '商品标题'}}
                </view>
                <view class="Child_other">
                  <view class="oneChild_sales" wx:if="{{util.inOf(datas.content_list,'7') > -1}}">销量 {{item.sales}}</view>
                  <view class="oneChild_activity"
                    wx:if="{{!util.inOf(datas.content_list,'5') > -1 && util.inOf(datas.content_list,'6') > -1 && item.point != 0}}">赠送{{item.point}}{{integral}}
                  </view>
                  <view class="oneChild_activity" wx:if="{{util.inOf(datas.content_list,'5') > -1 && item.award == 1 && (!item.vip_level_status || (item.vip_level_status && item.vip_level_status.status==0))}}">赠送{{item.award_proportion}}{{item.love_name||"爱心值"}}</view>
                </view>
                <view class="Child_member_price" wx:if="{{util.inOf(datas.content_list,'4') > -1 && !item.point_goods && !item.notshow}}">会员<text style="font-size:12px">{{language['money']}}</text>{{ item.vip_level_status&&item.vip_level_status.status==1
                ?item.vip_level_status.word
                :(item.price_level==1?item.vip_price:item.vip_next_price) }}</view>
                <view class="Child_price">
                  <view class="Child_now_price" style="width: {{datas.button_type == 1 || datas.button_type == 2 ? '50%' : '80%'}};font-size: {{item.vip_level_status&&item.vip_level_status.status==1 ? '12px': ''}}" wx:if="{{(util.inOf(datas.content_list,'3') > -1 && util.inOf(datas.content_list,'8') <= -1) || (util.inOf(datas.content_list,'8') > -1 && item.coupon && item.coupon.coupon_method === 0)}}">
                    <text class="span" wx:if="{{datas.show_price_text && !item.point_goods}}">{{util.substring(price_text)}} </text><text class="span" wx:if="{{!item.point_goods}}">{{language['money']}}</text> {{ item.point_goods ? item.point_goods.min_point
                    :(item.vip_level_status && item.vip_level_status.status == 1
                    ? item.vip_level_status.word
                    : item.pricenow) }}<text class="span" wx:if="{{item.point_goods}}">{{integral}}</text>
                  </view>
                  <view class="Child_now_price" style="width: {{datas.button_type == 1 || datas.button_type == 2 ? '50%' : '80%'}}" wx:if="{{util.inOf(datas.content_list,'8') > -1 && item.coupon && item.coupon.coupon_method !== 0}}"><text class="span" wx:if="{{datas.show_price_text}}">券 </text><text class="span">{{language['money']}}</text> {{item.coupon.deduct_price}}
                  </view>

                  <view class="Child_now_price" wx:if="{{!util.inOf(datas.content_list,'3') > -1 && !util.inOf(datas.content_list,'8') > -1}}"></view>
                  <view class="Child_buyBtn" wx:if="{{datas.button_type!=0}}">
                    <view class="buyBtn_{{datas.button_type}} buyBtn" style="border: solid 1rpx {{datas.button_bg_color}};color: {{datas.button_type == 2 || datas.button_type == 4 || datas.button_type == 6 ? datas.button_bg_color: datas.button_color}};background-color: {{datas.button_type == 1 || datas.button_type == 3 || datas.button_type == 5 ? datas.button_bg_color: ''}}">
                      <view wx:if="{{datas.button_type == 1||datas.button_type==2}}">{{datas.button_title}}</view>
                      <icon class="iconfont icon-gaiicon-" wx:if="{{datas.button_type == 3||datas.button_type==4}}">
                      </icon>
                      <icon class="iconfont icon-life-game-plus"
                        wx:if="{{datas.button_type == 5||datas.button_type==6}}">
                      </icon>
                    </view>
                  </view>
                </view>
                <view class="pass_price" wx:if="{{item.pass_price}}">{{item.pass_price.name}}:{{item.pass_price.price}}</view>
                <view class="oneChild_original_price" wx:if="{{util.inOf(datas.content_list,'2') > -1 && item.priceold != 0 && item.priceold!=item.pricenow && !item.point_goods}}">
                  <text wx:if="{{datas.show_price_text}}"> {{util.substring(market_price_text)}}</text> {{language['money']}}{{item.priceold}}
                </view>
                <view class="show_price_box" wx:if="{{item.goods_show&&item.goods_show.length>0}}">
                  <view class="show_price {{idx % 2 == 0 ? 'red_white' : 'white_red'}}" wx:for="{{item.goods_show}}" wx:for-index="idx" wx:for-item="itemName">
                    {{ itemName.name }}:{{ itemName.value }}
                  </view>
                </view>

              </view>
            </view>
          </view>
        </view>
      </block>
    </view>
    <view style="clear: both"></view>

    <view wx:if="{{datas.sort_style.choose_icon != 5 && showList && !plugin_active && childComponent == 'goods'}}">
      <view class="loadMore" wx:if="{{isLoadMore}}" catchtap="getMoreData">
        {{language['加载更多']}}
      </view>
      <view class="loadMore" wx:if="{{bottomShowBolIndex == index && allLoaded}}">
        {{language['没有更多了']}}~~
      </view>
    </view>
    <div class="tabMoreBox" wx:if="{{childComponent == 'tab'}}">
      <div wx:if="{{total_page > page}}" class="tabMore" style="background-color:{{childStyle.check_more_bg_color}};color:{{childStyle.check_more_color}}" 
        catchtap="getMoreDataTest" data-infoArr="{{datas}}">查看更多</div>
      <!-- <div wx:if="{{total_page <= page}}" class="tabMore" style="background-color:{{childStyle.check_more_bg_color}};color:{{childStyle.check_more_color}}">没有更多了</div> -->
    </div>

  </view>
</view>
