<!--pages/diy_zs/diy_zs.wxml-->
<wxs module="filter" src="../../utils/filter.wxs"></wxs>
<wxs module="g_filter" src="g_filter.wxs"></wxs>

<!-- 要不要顶部标题 -->
<!-- <mp-loading show ="{{goods_array.length== 0}}" type="circle"></mp-loading> -->

<view id="container">

  <block wx:if="{{object.column_action_name}}">
    <view  class="{{'tabBox ' + (object.menu_style==2 ? 'tab2' :'')}}">
      <!--样式一-->
      <block wx:if="{{object.menu_style==1}}">
        <view wx:if="{{object.show_all==1}}" style="padding: 0 35rpx;font-size: {{object.title_font_size*2}}rpx;color: {{title_index==10 ? (object.title_color_action ? object.title_color_action : '#ff0000') :  object.title_color}};" class="{{'tab ' }}" >全部<span class="tab1" wx:if="{{10==title_index}}"></span></view>
        <view wx:for="{{object.nav_list}}" style="padding: 0 35rpx;font-size: {{object.title_font_size*2}}rpx;color: {{index==title_index ? (object.title_color_action ? object.title_color_action : '#ff0000') : object.title_color}};" data-index="{{index}}" bindtap="gr_set_nav" data-idlist="{{item.idlist}}" data-wgroup="{{item.wgroup}}" data-classstyle="{{item.classstyle}}" class="{{'tab ' }}">{{item.title}}<span class="tab1" style="background-color: {{(object.title_color_action ? object.title_color_action : '#ff0000')}};" wx:if="{{index==title_index}}"></span></view>
      </block>
      <!--样式二-->
      <block wx:if="{{object.menu_style==2}}">       
        <view wx:for="{{object.nav_list}}" style="font-size: {{object.title_font_size*2}}rpx;color: {{object.title_color}};" data-index="{{index}}" bindtap="gr_set_nav" data-idlist="{{item.idlist}}" data-wgroup="{{item.wgroup}}" data-classstyle="{{item.classstyle}}"  class="{{'tab ' + (index==title_index ? 'tab_action' : '')}}"> {{item.title}}</view>
      </block>
      <!--样式三-->
      <block wx:if="{{object.menu_style==3}}">
        <view wx:for="{{object.nav_list}}"  class="tab ">
          <view class="{{'tab3 ' + (index==title_index ? 'tab_action' : '')}}" style="font-size: {{object.title_font_size*2}}rpx;color: {{object.title_color}};" data-index="{{index}}" bindtap="gr_set_nav" data-idlist="{{item.idlist}}" data-wgroup="{{item.wgroup}}" data-classstyle="{{item.classstyle}}">
            {{item.title}}
          </view>
        </view>
      </block>
    </view>
  </block>
  <block wx:else>
    <block wx:if="{{is_nav}}">
      <mp-sticky wx:if="{{sticky == 1}}" container="{{container}}">
        <view class="flex gr_title_list" style="overflow-x: auto;">
          <view class="gr_title_item" wx:for="{{nav_list}}" data-index="{{index}}" bindtap="gr_set_nav" data-idlist="{{item.idlist}}" data-wgroup="{{item.wgroup}}" data-classstyle="{{item.classstyle}}">
            <text  style="{{title_class + (index==title_index ? ('color:'+object.title_color_action) : '')}}">{{item.title}}</text>
          </view>
        </view>
      </mp-sticky>

      <view class="flex gr_title_list" style="overflow-x: auto;" wx:else>
        <view class="gr_title_item" wx:for="{{nav_list}}" data-index="{{index}}" bindtap="gr_set_nav" data-idlist="{{item.idlist}}" data-wgroup="{{item.wgroup}}" data-classstyle="{{item.classstyle}}">
          <text  style="{{title_class + (index==title_index ? ('color:'+object.title_color_action) : '')}}">{{item.title}}</text>
        </view>
      </view>
    </block>
  </block>
  <!-- 新版 -->
  <block wx:if="{{object.column_action_name}}">
    <block wx:if="{{goods_array.length > 0  }}">
      <!-- 大图模式 -->
      <block wx:if="{{object.style==1}}">
        <view style="{{'padding-top:'+object.product_spacing+'px;padding-left:'+object.page_margins+'px;padding-right:'+object.page_margins+'px;'+(object.product_style==2 ? ('background-color:'+object.bg_color) :'' )}}" class="{{'new_item1_box '+ ((object.product_style==1 || object.product_style==3 )? ' bgf ':'')}}">
          <!-- <block wx:for="{{goods_array}}"> -->
          <view wx:for="{{goods_array}}" wx:for-item="aitem" wx:for-index="aind" class="{{'new_item1 ' + (object.product_style==2 ? ' boxsha ':'') + (object.product_style==3 ? ' aborder ':'')   + ((object.product_style==1 || object.product_style==3 )? ' bgf ':'') + (object.chamfer_of_main_drawing==2 ? ' but_radius5 ':'') }}" style="{{'margin-bottom:'+object.product_spacing+'px;'}}">
            <navigator url="{{g_filter.get_url_by_type(aitem)}}" class="s1_gk_a1">
              <view class="topBox">
                <view class="imgBox">
                  
                  <view class="{{'container'+object.picture_scale}}" style="{{object.picture_fill==1 ? 'background-color: #fff;' : ''}}">
                  
                    <image mode="{{object.picture_fill==1 ? 'aspectFit' : 'aspectFill'}}" class="{{'new_item1_image images1'}}" src="{{aitem.goods_img}}" data-errorimg="goods_array[{{aind}}].goods_img" binderror="bind_bnerr3"></image>
                  </view>

                  <image class="imgBox_img" wx:if="{{object.subscript_style==5}}" src="{{object.subscript_diy_style}}"></image>
                  <image class="imgBox_img" wx:if="{{object.subscript_style<=4}}" src="{{imghost+'/miniapp/images/component/j0'+object.subscript_style +'.png?v=1'}}"></image>
                </view>
              </view>
              <view class="ellipsis-2n new_item1_goods_name" style="{{(object.text_style==2 ? 'font-weight: bold;':'') + (object.text_align==2 ? 'text-align:center;' :'' )}}" wx:if="{{object.trade_name}}">{{aitem.goods_name}}</view>
              <view class="new_item1_price" style="{{'padding:10rpx 10rpx;'+(object.text_align==2 ? 'justify-content:center;flex-direction:column;' :'' )}}">
                <view style="{{(object.text_style==2 ? 'font-weight: bold;':'')}}">
                  <view class="clor7b">
                    <text wx:if="{{object.seconds_num}}">销量：<text class="clor">{{aitem.sales_sum}}</text>件</text>
                  </view>
                  <view class="flex" style="{{'font-size: 24rpx; ' +(object.text_align==2 ? 'justify-content:center;' :'' ) }}">
                    <view class="clor">
                      <text wx:if="{{object.commodity_price}}">￥<text class="pricefs42">{{aitem.price_n}}</text><text wx:if="{{aitem.price_xs}}">.{{aitem.price_xs}}</text><text wx:if="{{aitem.prom_integral && (aitem.price_n || aitem.price_xs)}}">+</text> <text wx:if="{{aitem.prom_integral}}">{{aitem.prom_integral}}积分</text></text>
                      <text style="margin-left: 5rpx;" wx:if="{{object.wholesale_price}}" class="clor7b">￥{{aitem.market_price}}</text>
                    </view>
                  </view>
                </view>
                <view catchtap="addPurchase" wx:if="{{filter.has_add_goods(aitem.prom_type)}}" data-gid="{{aitem.goods_id}}" data-prom_id="{{aitem.prom_id}}" data-prom_type="{{aitem.prom_type}}">
                  <image wx:if="{{object.purchase_button<=4}}" src="{{imghost+'/miniapp/images/component/0'+object.purchase_button+'.png?v=1'}}" class="imgbox1"></image>
                  <view wx:if="{{ 5<=object.purchase_button && object.purchase_button<=8 }}" class="{{'new_item1_but ' + (object.purchase_button==5 ? 'new_item1_but1':'' )+ (object.purchase_button==7 ? 'new_item1_but2':'' )+ (object.purchase_button==8 ? 'new_item1_but3':'' )  }}">{{object.button_content}}</view>
                </view>
              </view>
            </navigator>
          </view>
          <!-- </block> -->
        </view>
      </block>
      <!-- 一行两个 -->
      <block wx:if="{{object.style==2}}">
        <view style="{{'padding-top:'+object.product_spacing+'px;padding-left:'+object.page_margins+'px;padding-right:'+object.page_margins+'px;'+(object.product_style==2 ? ('background-color:'+object.bg_color) :'' )}}" class="{{'flex2 new_item1_box '+ ((object.product_style==1 || object.product_style==3 )? ' bgf ':'')  }}">
          <!-- <block wx:for="{{goods_array}}"> -->
            <view wx:for="{{goods_array}}" wx:for-item="aitem" wx:for-index="aind" class="{{'boxpad new_item1 ' + (object.product_style==2 ? ' boxsha ':'') + (object.product_style==3 ? ' aborder ':'')   + ((object.product_style==1 || object.product_style==3 )? ' bgf ':'')+ (object.chamfer_of_main_drawing==2 ? ' but_radius5 ':'')}}" style="{{'margin-bottom:'+object.product_spacing+'px; '+('width:calc(100%/2 - ' + object.product_spacing/2+'px)')}}">
              <navigator url="{{g_filter.get_url_by_type(aitem)}}" class="s1_gk_a1">
                <view class="topBox">
                  <view class="imgBox">
                    
                    <view class="{{'container'+object.picture_scale}}" style="{{object.picture_fill==1 ? 'background-color: #fff;' : ''}}">
                    
                      <image mode="{{object.picture_fill==1 ? 'aspectFit' : 'aspectFill'}}" class="{{'new_item1_image images1 '}}" src="{{aitem.goods_img}}" data-errorimg="goods_array[{{aind}}].goods_img" binderror="bind_bnerr3"></image>
                    </view>

                    <image class="imgBox_img" wx:if="{{object.subscript_style==5}}" src="{{object.subscript_diy_style}}"></image>
                    <image class="imgBox_img" wx:if="{{object.subscript_style<=4}}" src="{{imghost+'/miniapp/images/component/j0'+object.subscript_style +'.png?v=1'}}"></image>
                  </view>
                  <block wx:if="{{object.count_down}}">
                    <view wx:if="{{aitem.residue==0}}" class="{{'new_item1_time '+(object.count_down_float ? 'item_float' : '')}}" style="justify-content: center;color: #fff;background-color:rgb(166,166,166);">
                      <view>已售罄</view>
                    </view>
                    <!-- <view wx:else class="{{'new_item1_time '+(object.count_down_float ? 'item_float' : '')}}" style="{{'justify-content: center;background:'+(aitem.status ==0 ? object.scountdown_background_color : object.countdown_background_color)}}">
                      <view>{{aitem.djs.day}}天{{aitem.djs.hou}}:{{aitem.djs.min}}:{{aitem.djs.sec}}</view>
                    </view> -->
                  </block>
                </view>
                <view class="ellipsis-2 new_item1_goods_name" style="{{'height:88rpx;font-size:24rpx; ' + (object.text_style==2 ? 'font-weight: bold;':'') + (object.text_align==2 ? 'text-align:center;' :'' )}}" wx:if="{{object.trade_name}}">{{aitem.goods_name}}</view>
                <view wx:if="{{object.seconds_num || object.remaining_inventory}}" class="new_item1_price pdlf10 clor7b" style="{{'font-size:20rpx;' + 'display:block;'+(object.text_align==2 ?'text-align:center;':'')+(object.text_style==2 ? 'font-weight: bold;':'')}}">
                  <text wx:if="{{object.seconds_num}}">销量：<text class="clor">{{aitem.sales_sum}}</text>件</text>
                  <!-- <text wx:if="{{object.remaining_inventory}}">还剩余<text class="clor">{{aitem.residue}}</text>件</text> -->
                </view>
                <view class="new_item1_price pdlf10" style="{{(object.text_align==2 ? 'justify-content:center;flex-direction:column;' :'' )}}">
                  <view style="{{(object.text_style==2 ? 'font-weight: bold;':'')}}">
                    <view style="{{(object.text_align==2 ? 'justify-content:center;' :'' ) }}">
                      <view class="clor" style="margin-right: 5rpx;" wx:if="{{object.commodity_price}}">￥<text class="pricefs42">{{aitem.price_n}}</text><text wx:if="{{aitem.price_xs}}">.{{aitem.price_xs}}</text><text wx:if="{{aitem.prom_integral && (aitem.price_n || aitem.price_xs)}}">+</text> <text wx:if="{{aitem.prom_integral}}">{{aitem.prom_integral}}积分</text></view>
                      <view wx:if="{{object.wholesale_price}}" class="clor7b">￥{{aitem.market_price}}</view>
                    </view>
                  </view>
                  <view catchtap="addPurchase" wx:if="{{filter.has_add_goods(aitem.prom_type)}}" data-gid="{{aitem.goods_id}}" data-prom_id="{{aitem.prom_id}}" data-prom_type="{{aitem.prom_type}}">
                    <image wx:if="{{object.purchase_button<=4}}" src="{{imghost+'/miniapp/images/component/0'+object.purchase_button+'.png?v=1'}}" style="width: 60rpx;height: 60rpx;"></image>
                    <view wx:if="{{ 5<=object.purchase_button && object.purchase_button<=8 }}" class="{{'new_item1_but ' + (object.purchase_button==5 ? 'new_item1_but1':'' )+ (object.purchase_button==7 ? 'new_item1_but2':'' )+ (object.purchase_button==8 ? 'new_item1_but3':'' )  }}">{{object.button_content}}</view>
                  </view>
                </view>
              </navigator>
            </view>
          <!-- </block> -->
        </view>
      </block>
      <!-- 一行三个 -->
      <block wx:if="{{object.style==3}}">
        <view style="{{'padding-top:'+object.product_spacing+'px;padding-left:'+object.page_margins+'px;padding-right:'+object.page_margins+'px;'+(object.product_style==2 ? ('background-color:'+object.bg_color) :'' )}}" class="{{'flex2 new_item1_box '+ ((object.product_style==1 || object.product_style==3 )? ' bgf ':'')}}">
          <!-- <block wx:for="{{goods_array}}"> -->
            <view wx:for="{{goods_array}}" wx:for-item="aitem" wx:for-index="aind" class="{{'boxpad new_item1 ' + (object.product_style==2 ? ' boxsha ':'') + (object.product_style==3 ? ' aborder ':'')   + ((object.product_style==1 || object.product_style==3 )? ' bgf ':'') + (object.chamfer_of_main_drawing==2 ? ' but_radius5 ':'') }}" style="{{'margin-bottom:'+object.product_spacing+'px; '+('width:calc(100%/3 - ' + (object.product_spacing*2)/3+'px)')}}">
              <navigator url="{{g_filter.get_url_by_type(aitem)}}" class="s1_gk_a1">
                <view class="topBox">
                  <view class="imgBox">
                    
                    <view class="{{'container'+object.picture_scale}}" style="{{object.picture_fill==1 ? 'background-color: #fff;' : ''}}">
                      
                      <image mode="{{object.picture_fill==1 ? 'aspectFit' : 'aspectFill'}}" class="{{'new_item1_image images1 '}}" src="{{aitem.goods_img}}" data-errorimg="goods_array[{{aind}}].goods_img" binderror="bind_bnerr3"></image>
                    </view>

                    <image class="imgBox_img" wx:if="{{object.subscript_style==5}}" src="{{object.subscript_diy_style}}"></image>
                    <image class="imgBox_img" wx:if="{{object.subscript_style<=4}}" src="{{imghost+'/miniapp/images/component/j0'+object.subscript_style +'.png?v=1'}}"></image>
                  </view>
                  <block wx:if="{{object.count_down}}">
                    <view wx:if="{{aitem.residue==0}}" class="{{'new_item1_time '+(object.count_down_float ? 'item_float' : '')}}" style="justify-content: center;color: #fff;background-color:rgb(166,166,166);">
                      <view>已售罄</view>
                    </view>
                    <!-- <view wx:else class="{{'new_item1_time '+(object.count_down_float ? 'item_float' : '')}}" style="{{'justify-content: center;background:'+(aitem.status ==0 ? object.scountdown_background_color : object.countdown_background_color)}}">
                      <view>{{aitem.djs.day}}天{{aitem.djs.hou}}:{{aitem.djs.min}}:{{aitem.djs.sec}}</view>
                    </view> -->
                  </block>
                </view>
                <view class="ellipsis-2 new_item1_goods_name " style="{{'height:88rpx;font-size:24rpx;' + (object.text_style==2 ? 'font-weight: bold;':'') + (object.text_align==2 ? 'text-align:center;' :'' )}}" wx:if="{{object.trade_name}}">{{aitem.goods_name}}</view>
                <view wx:if="{{object.seconds_num || object.remaining_inventory}}" class="new_item1_price clor7b" style="{{'display:block;font-size:20rpx; '+(object.text_align==2 ?'text-align:center;':'')+(object.text_style==2 ? 'font-weight: bold;':'')}}">
                  <text wx:if="{{object.seconds_num}}">销量<text class="clor">{{aitem.sales_sum}}</text>件</text>
                  <!-- <text wx:if="{{object.remaining_inventory}}">剩<text class="clor">{{aitem.residue}}</text>件</text> -->
                </view>
                <view class="new_item1_price clor7b" style="{{(object.text_align==2 ? 'justify-content:center;flex-direction:column;' :'' )}}">
                  <view style="{{(object.text_style==2 ? 'font-weight: bold;':'')}}">
                    <view style="{{'font-size: 20rpx; ' +(object.text_align==2 ? 'justify-content:center;' :'' ) }}">
                      <view class="clor" style="margin-right: 5rpx;" wx:if="{{object.commodity_price}}">￥<text class="pricefs38">{{aitem.price_n}}</text><text wx:if="{{aitem.price_xs}}">.{{aitem.price_xs}}</text><text wx:if="{{aitem.prom_integral && (aitem.price_n || aitem.price_xs)}}">+</text> <text wx:if="{{aitem.prom_integral}}">{{aitem.prom_integral}}积分</text></view>
                      <view wx:if="{{object.wholesale_price}}">￥{{aitem.market_price}}</view>
                    </view>
                  </view>
                  <view catchtap="addPurchase" wx:if="{{filter.has_add_goods(aitem.prom_type)}}" data-gid="{{aitem.goods_id}}" data-prom_id="{{aitem.prom_id}}" data-prom_type="{{aitem.prom_type}}">
                    <image wx:if="{{object.purchase_button<=4}}" src="{{imghost+'/miniapp/images/component/0'+object.purchase_button+'.png?v=1'}}" style="width: 50rpx;height: 50rpx;"></image>
                    <!-- <view style="width: 90rpx;height: 50rpx;line-height: 50rpx;" wx:if="{{ 5<=object.purchase_button && object.purchase_button<=8 }}" class="{{'new_item1_but ' + (object.purchase_button==5 ? 'new_item1_but1':'' )+ (object.purchase_button==7 ? 'new_item1_but2':'' )+ (object.purchase_button==8 ? 'new_item1_but3':'' )  }}">{{object.button_content}}</view> -->
                  </view>
                </view>
              </navigator>
            </view>
          <!-- </block> -->
        </view>
      </block>
      <!-- 详细列表 -->
      <block wx:if="{{object.style==4}}">
        <view style="{{'padding-top:'+object.product_spacing+'px;padding-left:'+object.page_margins+'px;padding-right:'+object.page_margins+'px;'+(object.product_style==2 ? ('background-color:'+object.bg_color) :'' )}}" class="{{'flex2 new_item1_box '+ ((object.product_style==1 || object.product_style==3 )? ' bgf ':'')  }}">
          <!-- <block wx:for="{{goods_array}}"> -->
            <view wx:for="{{goods_array}}" wx:for-item="aitem" wx:for-index="aind" class="{{'boxpad new_item1 ' + (object.product_style==2 ? ' boxsha ':'') + (object.product_style==3 ? ' aborder ':'')  + ((object.product_style==1 || object.product_style==3 )? ' bgf ':'') + (object.chamfer_of_main_drawing==2 ? ' but_radius5 ':'') }}" style="{{'margin-bottom:'+object.product_spacing+'px;'}}">
              <navigator style="display: flex;" url="{{g_filter.get_url_by_type(aitem)}}" class="s1_gk_a1">
                <view style="width: 33%;" class="topBox">
                  <view class="imgBox">
                    <view class="{{'container'+object.picture_scale}}" style="{{object.picture_fill==1 ? 'background-color: #fff;' : ''}}">
                      <image mode="{{object.picture_fill==1 ? 'aspectFit' : 'aspectFill'}}" class="{{'new_item1_image images1'}}" src="{{aitem.goods_img}}" data-errorimg="goods_array[{{aind}}].goods_img" binderror="bind_bnerr3"></image>
                    </view>

                    <image class="imgBox_img" wx:if="{{object.subscript_style==5}}" src="{{object.subscript_diy_style}}"></image>
                    <image class="imgBox_img" wx:if="{{object.subscript_style<=4}}" src="{{imghost+'/miniapp/images/component/j0'+object.subscript_style +'.png?v=1'}}"></image>
                  </view>
                  <block wx:if="{{object.count_down}}">
                    <view wx:if="{{aitem.residue==0}}" class="{{'new_item1_time '+(object.count_down_float ? 'item_float' : '')}}" style="justify-content: center;color: #fff;background-color:rgb(166,166,166);">
                      <view>已售罄</view>
                    </view>
                    <!-- <view wx:else class="{{'new_item1_time '+(object.count_down_float ? 'item_float' : '')}}" style="{{'justify-content: center;background:'+(aitem.status ==0 ? object.scountdown_background_color : object.countdown_background_color)}}">
                      <view>{{aitem.djs.day}}天{{aitem.djs.hou}}:{{aitem.djs.min}}:{{aitem.djs.sec}}</view>
                    </view> -->
                  </block>
                </view>
                <view style="{{'width: 67%;display: flex;flex-wrap: wrap;padding-left: 10rpx;' + (object.text_align==2 ? 'justify-content:center;' :'' )}}">
                  <view class="ellipsis-2 new_item1_goods_name" style="{{'font-size:28rpx;height:100rpx;'+(object.text_style==2 ? 'font-weight: bold;':'') + (object.text_align==2 ? 'text-align:center;' :'' )}}" wx:if="{{object.trade_name}}">{{aitem.goods_name}}</view>
                  <view wx:if="{{object.seconds_num || object.remaining_inventory}}" class="new_item1_price clor7b" style="{{'font-size:24rpx;'+(object.text_align==2 ?'text-align:center;':'')+(object.text_style==2 ? 'font-weight: bold;':'')}}">
                    <text wx:if="{{object.seconds_num}}">销量<text class="clor">{{aitem.sales_sum}}</text>件</text>
                    <!-- <text wx:if="{{object.remaining_inventory}}">剩<text class="clor">{{aitem.residue}}</text>件</text> -->
                  </view>
                  <view class="new_item1_price clor7b" style="{{'width:100%;' + (object.text_align==2 ? 'justify-content:center;flex-direction:column;' :'' )}}">
                    <view style="{{(object.text_style==2 ? 'font-weight: bold;':'')}}">
                      <view style="{{'font-size: 24rpx; ' +(object.text_align==2 ? 'justify-content:center;' :'' ) }}">
                        <view class="clor" style="margin-right: 5rpx;"><text wx:if="{{object.commodity_price}}">￥<text class="pricefs42">{{aitem.price_n}}</text><text wx:if="{{aitem.price_xs}}">.{{aitem.price_xs}}</text></text><text style="color: #7b7b7b;margin-left: 5rpx;" wx:if="{{object.wholesale_price}}">￥{{aitem.market_price}}</text><text wx:if="{{aitem.prom_integral && (aitem.price_n || aitem.price_xs)}}">+</text> <text wx:if="{{aitem.prom_integral}}">{{aitem.prom_integral}}积分</text></view>

                      </view>
                    </view>
                    <view catchtap="addPurchase" wx:if="{{filter.has_add_goods(aitem.prom_type)}}" data-gid="{{aitem.goods_id}}" data-prom_id="{{aitem.prom_id}}" data-prom_type="{{aitem.prom_type}}">
                      <image wx:if="{{object.purchase_button<=4}}" src="{{imghost+'/miniapp/images/component/0'+object.purchase_button+'.png?v=1'}}" style="width:60rpx;height: 60rpx;"></image>
                      <view style="width: 130rpx;height: 60rpx;line-height: 60rpx;" wx:if="{{ 5<=object.purchase_button && object.purchase_button<=8 }}" class="{{'new_item1_but ' + (object.purchase_button==5 ? 'new_item1_but1':'' )+ (object.purchase_button==7 ? 'new_item1_but2':'' )+ (object.purchase_button==8 ? 'new_item1_but3':'' )  }}">{{object.button_content}}</view>
                    </view>
                  </view>
                </view>
              </navigator>
            </view>
          <!-- </block> -->
        </view>
      </block>
      <!-- 一大一小 -->
      <block wx:if="{{object.style==5}}">
        <view style="{{'padding-top:'+object.product_spacing+'px;padding-left:'+object.page_margins+'px;padding-right:'+object.page_margins+'px;'+(object.product_style==2 ? ('background-color:'+object.bg_color) :'' )}}" class="{{'flex2 new_item1_box '+ ((object.product_style==1 || object.product_style==3 )? ' bgf ':'')}}">
          <block wx:for="{{goods_array}}">
            <block wx:for="{{item}}" wx:for-item="aitem" wx:for-index="aind">
              <view wx:if="{{aind==0}}" class="{{'new_item1 ' + (object.product_style==2 ? ' boxsha ':'') + (object.product_style==3 ? ' aborder ':'')  + (object.chamfer_of_main_drawing==2 ? ' but_radius5 ':'')  + ((object.product_style==1 || object.product_style==3 )? ' bgf ':'')}}" style="{{'margin-bottom:'+object.product_spacing+'px;'}}">
                <navigator url="{{g_filter.get_url_by_type(aitem)}}" class="s1_gk_a1">
                  <view class="topBox">
                    <view class="imgBox">
                      <view class="{{'container'+object.picture_scale}}" style="{{object.picture_fill==1 ? 'background-color: #fff;' : ''}}">
                        <image mode="{{object.picture_fill==1 ? 'aspectFit' : 'aspectFill'}}" class="{{'new_item1_image images1'}}" src="{{aitem.goods_img}}" data-errorimg="goods_array[{{index}}][{{aind}}].goods_img" binderror="bind_bnerr3"></image>
                      </view>
                      <image class="imgBox_img" wx:if="{{object.subscript_style==5}}" src="{{object.subscript_diy_style}}"></image>
                      <image class="imgBox_img" wx:if="{{object.subscript_style<=4}}" src="{{imghost+'/miniapp/images/component/j0'+object.subscript_style +'.png?v=1'}}"></image>
                    </view>
                    <block wx:if="{{object.count_down}}">
                      <view wx:if="{{aitem.residue==0 || aitem.status==2}}" class="{{(object.count_down_float ? 'item_float' : '')}}" style="height: 70rpx;line-height: 70rpx;color: #fff;background-color:rgb(166,166,166);text-align: center;">
                        已售罄
                      </view>
                      <!-- <view wx:else class="{{'new_item1_time ' + (object.count_down_float ? 'item_float' : '')}}" style="{{'box-sizing: border-box;height: 70rpx;padding: 10rpx 30rpx;background:'+ (aitem.status ==0 ? object.scountdown_background_color : object.countdown_background_color)}}">
                        <image src="{{imghost+'/miniapp/images/component/seckill.png'}}"></image>
                        <view style="text-align: center;line-height: 30rpx;">
                          <view wx:if="{{aitem.status == 1}}">距结束时间</view>
                          <view wx:if="{{aitem.status == 0}}">距开始时间</view>
                          <view>{{aitem.djs.day}}天{{aitem.djs.hou}}:{{aitem.djs.min}}:{{aitem.djs.sec}}</view>
                          <view>30天21:59:40</view>
                        </view>
                      </view>  -->
                    </block>
                  </view>
                  <view class="ellipsis-2n new_item1_goods_name" style="{{(object.text_style==2 ? 'font-weight: bold;':'') + (object.text_align==2 ? 'text-align:center;' :'' )}}" wx:if="{{object.trade_name}}">{{aitem.goods_name}}</view>
                  <view class="new_item1_price" style="{{'padding:10rpx 10rpx;'+(object.text_align==2 ? 'justify-content:center;flex-direction:column;' :'' )}}">
                    <view style="{{(object.text_style==2 ? 'font-weight: bold;':'')}}">
                      <view class="clor7b">
                        <text wx:if="{{object.seconds_num}}">销量：<text class="clor">{{aitem.sales_sum}}</text>件</text>
                        <!-- <text wx:if="{{object.remaining_inventory}}">还剩余<text class="clor">{{aitem.status==2 ? '0' : aitem.residue}}</text>件</text> -->
                      </view>
                      <view class="flex" style="{{'font-size: 24rpx; ' +(object.text_align==2 ? 'justify-content:center;' :'' ) }}">
                        <view class="clor">
                          <text wx:if="{{object.commodity_price}}">￥<text class="pricefs42">{{aitem.price_n}}</text><text wx:if="{{aitem.price_xs}}">.{{aitem.price_xs}}</text><text wx:if="{{aitem.prom_integral && (aitem.price_n || aitem.price_xs)}}">+</text> <text wx:if="{{aitem.prom_integral}}">{{aitem.prom_integral}}积分</text></text>
                          <text style="margin-left: 5rpx;" wx:if="{{object.wholesale_price}}" class="clor7b">￥{{aitem.market_price}}</text>
                        </view>
                      </view>
                    </view>
                    <view catchtap="addPurchase" wx:if="{{filter.has_add_goods(aitem.prom_type)}}" data-gid="{{aitem.goods_id}}" data-prom_id="{{aitem.prom_id}}" data-prom_type="{{aitem.prom_type}}">
                      <image wx:if="{{object.purchase_button<=4}}" src="{{imghost+'/miniapp/images/component/0'+object.purchase_button+'.png?v=1'}}" class="imgbox1"></image>
                      <view wx:if="{{ 5<=object.purchase_button && object.purchase_button<=8 }}" class="{{'new_item1_but ' + (object.purchase_button==5 ? 'new_item1_but1':'' )+ (object.purchase_button==7 ? 'new_item1_but2':'' )+ (object.purchase_button==8 ? 'new_item1_but3':'' )  }}">{{object.button_content}}</view>
                    </view>
                  </view>
                </navigator>
              </view>
              <view wx:if="{{aind==1}}" class="{{'boxpad new_item1 ' + (object.product_style==2 ? ' boxsha ':'') + (object.product_style==3 ? ' aborder ':'')  + ((object.product_style==1 || object.product_style==3 )? ' bgf ':'') + (object.chamfer_of_main_drawing==2 ? ' but_radius5 ':'')}}" style="{{'margin-bottom:'+object.product_spacing+'px; '+('width:calc(100%/2 - ' + object.product_spacing/2+'px)')}}">
                <navigator url="{{g_filter.get_url_by_type(aitem)}}" class="s1_gk_a1">
                  <view class="topBox">
                    <view class="imgBox">
                      <view class="{{'container'+object.picture_scale}}" style="{{object.picture_fill==1 ? 'background-color: #fff;' : ''}}">
                        <image mode="{{object.picture_fill==1 ? 'aspectFit' : 'aspectFill'}}" class="{{'new_item1_image images1 '}}" src="{{aitem.goods_img}}" data-errorimg="goods_array[{{index}}][{{aind}}].goods_img" binderror="bind_bnerr3"></image>
                      </view>
                      <image class="imgBox_img" wx:if="{{object.subscript_style==5}}" src="{{object.subscript_diy_style}}"></image>
                      <image class="imgBox_img" wx:if="{{object.subscript_style<=4}}" src="{{imghost+'/miniapp/images/component/j0'+object.subscript_style +'.png?v=1'}}"></image>
                    </view>
                    <block wx:if="{{object.count_down}}">
                      <view wx:if="{{aitem.residue==0}}" class="{{'new_item1_time '+(object.count_down_float ? 'item_float' : '')}}" style="justify-content: center;color: #fff;background-color:rgb(166,166,166);">
                        <view>已售罄</view>
                      </view>
                      <!-- <view wx:else class="{{'new_item1_time '+(object.count_down_float ? 'item_float' : '')}}" style="{{'justify-content: center;background:'+(aitem.status ==0 ? object.scountdown_background_color : object.countdown_background_color)}}">
                        <view>{{aitem.djs.day}}天{{aitem.djs.hou}}:{{aitem.djs.min}}:{{aitem.djs.sec}}</view>
                      </view> -->
                    </block>
                  </view>
                  <view class="ellipsis-2 new_item1_goods_name" style="{{'height:88rpx;font-size:24rpx; ' + (object.text_style==2 ? 'font-weight: bold;':'') + (object.text_align==2 ? 'text-align:center;' :'' )}}" wx:if="{{object.trade_name}}">{{aitem.goods_name}}</view>
                  <view wx:if="{{object.seconds_num || object.remaining_inventory}}" class="new_item1_price pdlf10 clor7b" style="{{'font-size:20rpx;' + 'display:block;'+(object.text_align==2 ?'text-align:center;':'')+(object.text_style==2 ? 'font-weight: bold;':'')}}">
                    <text wx:if="{{object.seconds_num}}">销量：<text class="clor">{{aitem.sales_sum}}</text>件</text>
                    <!-- <text wx:if="{{object.remaining_inventory}}">还剩余<text class="clor">{{aitem.residue}}</text>件</text> -->
                  </view>
                  <view class="new_item1_price pdlf10" style="{{(object.text_align==2 ? 'justify-content:center;flex-direction:column;' :'' )}}">
                    <view style="{{(object.text_style==2 ? 'font-weight: bold;':'')}}">
                      <view style="{{(object.text_align==2 ? 'justify-content:center;' :'' ) }}">
                        <view class="clor" style="margin-right: 5rpx;" wx:if="{{object.commodity_price}}">￥<text class="pricefs42">{{aitem.price_n}}</text><text wx:if="{{aitem.price_xs}}">.{{aitem.price_xs}}</text><text wx:if="{{aitem.prom_integral && (aitem.price_n || aitem.price_xs)}}">+</text> <text wx:if="{{aitem.prom_integral}}">{{aitem.prom_integral}}积分</text></view>
                        <view wx:if="{{object.wholesale_price}}" class="clor7b">￥{{aitem.market_price}}</view>
                      </view>
                    </view>
                    <view catchtap="addPurchase" wx:if="{{filter.has_add_goods(aitem.prom_type)}}" data-gid="{{aitem.goods_id}}" data-prom_id="{{aitem.prom_id}}" data-prom_type="{{aitem.prom_type}}">
                      <image wx:if="{{object.purchase_button<=4}}" src="{{imghost+'/miniapp/images/component/0'+object.purchase_button+'.png?v=1'}}" style="width: 60rpx;height: 60rpx;"></image>
                      <view wx:if="{{ 5<=object.purchase_button && object.purchase_button<=8 }}" class="{{'new_item1_but ' + (object.purchase_button==5 ? 'new_item1_but1':'' )+ (object.purchase_button==7 ? 'new_item1_but2':'' )+ (object.purchase_button==8 ? 'new_item1_but3':'' )  }}">{{object.button_content}}</view>
                    </view>
                  </view>
                </navigator>
              </view>
              <view wx:if="{{aind==2}}" class="{{'boxpad new_item1 ' + (object.product_style==2 ? ' boxsha ':'') + (object.product_style==3 ? ' aborder ':'')   + ((object.product_style==1 || object.product_style==3 )? ' bgf ':'')  + (object.chamfer_of_main_drawing==2 ? ' but_radius5 ':'') }}" style="{{'margin-bottom:'+object.product_spacing+'px; '+('width:calc(100%/2 - ' + object.product_spacing/2+'px)')}}">
                <navigator url="{{g_filter.get_url_by_type(aitem)}}" class="s1_gk_a1">
                  <view class="topBox">
                    <view class="imgBox">
                      <view class="{{'container'+object.picture_scale}}" style="{{object.picture_fill==1 ? 'background-color: #fff;' : ''}}">
                        <image mode="{{object.picture_fill==1 ? 'aspectFit' : 'aspectFill'}}" class="{{'new_item1_image images1 '}}" src="{{aitem.goods_img}}" data-errorimg="goods_array[{{index}}][{{aind}}].goods_img" binderror="bind_bnerr3"></image>
                      </view>
                      <image class="imgBox_img" wx:if="{{object.subscript_style==5}}" src="{{object.subscript_diy_style}}"></image>
                      <image class="imgBox_img" wx:if="{{object.subscript_style<=4}}" src="{{imghost+'/miniapp/images/component/j0'+object.subscript_style +'.png?v=1'}}"></image>
                    </view>
                    <block wx:if="{{object.count_down}}">
                      <view wx:if="{{aitem.residue==0}}" class="{{'new_item1_time '+(object.count_down_float ? 'item_float' : '')}}" style="justify-content: center;color: #fff;background-color:rgb(166,166,166);">
                        <view>已售罄</view>
                      </view>
                      <!-- <view wx:else class="{{'new_item1_time '+(object.count_down_float ? 'item_float' : '')}}" style="{{'justify-content: center;background:'+(aitem.status ==0 ? object.scountdown_background_color : object.countdown_background_color)}}">
                        <view>{{aitem.djs.day}}天{{aitem.djs.hou}}:{{aitem.djs.min}}:{{aitem.djs.sec}}</view>
                      </view> -->
                    </block>
                  </view>
                  <view class="ellipsis-2 new_item1_goods_name" style="{{'height:88rpx;font-size:24rpx; ' + (object.text_style==2 ? 'font-weight: bold;':'') + (object.text_align==2 ? 'text-align:center;' :'' )}}" wx:if="{{object.trade_name}}">{{aitem.goods_name}}</view>
                  <view wx:if="{{object.seconds_num || object.remaining_inventory}}" class="new_item1_price pdlf10 clor7b" style="{{'font-size:20rpx;' + 'display:block;'+(object.text_align==2 ?'text-align:center;':'')+(object.text_style==2 ? 'font-weight: bold;':'')}}">
                    <text wx:if="{{object.seconds_num}}">销量：<text class="clor">{{aitem.sales_sum}}</text>件</text>
                    <!-- <text wx:if="{{object.remaining_inventory}}">还剩余<text class="clor">{{aitem.residue}}</text>件</text> -->
                  </view>
                  <view class="new_item1_price pdlf10" style="{{(object.text_align==2 ? 'justify-content:center;flex-direction:column;' :'' )}}">
                    <view style="{{(object.text_style==2 ? 'font-weight: bold;':'')}}">
                      <view style="{{(object.text_align==2 ? 'justify-content:center;' :'' ) }}">
                        <view class="clor" style="margin-right: 5rpx;" wx:if="{{object.commodity_price}}">￥<text class="pricefs42">{{aitem.price_n}}</text><text wx:if="{{aitem.price_xs}}">.{{aitem.price_xs}}</text><text wx:if="{{aitem.prom_integral && (aitem.price_n || aitem.price_xs)}}">+</text> <text wx:if="{{aitem.prom_integral}}">{{aitem.prom_integral}}积分</text></view>
                        <view wx:if="{{object.wholesale_price}}" class="clor7b">￥{{aitem.market_price}}</view>
                      </view>
                    </view>
                    <view catchtap="addPurchase" wx:if="{{filter.has_add_goods(aitem.prom_type)}}" data-gid="{{aitem.goods_id}}" data-prom_id="{{aitem.prom_id}}" data-prom_type="{{aitem.prom_type}}">
                      <image wx:if="{{object.purchase_button<=4}}" src="{{imghost+'/miniapp/images/component/0'+object.purchase_button+'.png?v=1'}}" style="width: 60rpx;height: 60rpx;"></image>
                      <view wx:if="{{ 5<=object.purchase_button && object.purchase_button<=8 }}" class="{{'new_item1_but ' + (object.purchase_button==5 ? 'new_item1_but1':'' )+ (object.purchase_button==7 ? 'new_item1_but2':'' )+ (object.purchase_button==8 ? 'new_item1_but3':'' )  }}">{{object.button_content}}</view>
                    </view>
                  </view>
                </navigator>
              </view>
            </block>
          </block>
        </view>
      </block>
      <!-- 横向滑动 2个-->
      <block wx:if="{{object.style==7}}">
        <!-- <swiper indicator-dots circular> -->
        <swiper indicator-dots style="{{'padding-left:'+object.page_margins+'px;padding-right:'+object.page_margins+'px;'+(swiperHeight ? ('height:'+swiperHeight+';'):'' )}}" class="{{' new_item1_box '+ ((object.product_style==1 || object.product_style==3 )? ' bgf ':'')}}">
          <swiper-item wx:for="{{goods_array}}" class="flex2" style="padding: 5rpx;">
            <view wx:for="{{item}}" wx:for-item="aitem" wx:for-index="aind" class="{{'boxpad swiper_h new_item1 ' + (object.product_style==2 ? ' boxsha ':'') + (object.product_style==3 ? ' aborder ':'')  + ((object.product_style==1 || object.product_style==3 )? ' bgf ':'') + (object.chamfer_of_main_drawing==2 ? ' but_radius5 ':'') }}" style="{{'margin-bottom:'+object.product_spacing+'px; '+('width:calc(100%/2 - ' + object.product_spacing/2+'px)')}}">
              <navigator url="{{g_filter.get_url_by_type(aitem)}}" class="s1_gk_a1">
                <view class="imgBox">
                  <view class="{{'container'+object.picture_scale}}" style="{{object.picture_fill==1 ? 'background-color: #fff;' : ''}}">
                    <image mode="{{object.picture_fill==1 ? 'aspectFit' : 'aspectFill'}}" class="{{'new_item1_image images1 '  }}" src="{{imghost+aitem.original_img}}" data-errorimg="goods_array[{{index}}][{{aind}}].goods_img" binderror="bind_bnerr3"></image>
                  </view>

                  <image class="imgBox_img" wx:if="{{object.subscript_style==5}}" src="{{object.subscript_diy_style}}"></image>
                  <image class="imgBox_img" wx:if="{{object.subscript_style<=4}}" src="{{imghost+'/miniapp/images/component/j0'+object.subscript_style +'.png'}}"></image>
                </view>
                <view class="new_item1_time" wx:if="{{object.count_down}}" style="{{'justify-content: center;background:'+(aitem.status ==0 ? object.scountdown_background_color : object.countdown_background_color)}}">
                  <!-- <image src="{{imghost+'/miniapp/images/component/seckill.png'}}"></image> -->
                  <!-- <view style="text-align: center;">
                      <view>距结束时间</view> -->
                  <view>{{aitem.djs.day}}天{{aitem.djs.hou}}:{{aitem.djs.min}}:{{aitem.djs.sec}}</view>
                  <!-- </view> -->
                </view>
                <view class="ellipsis-2 new_item1_goods_name" style="{{(object.text_style==2 ? 'font-weight: bold;':'') + (object.text_align==2 ? 'text-align:center;' :'' )}}" wx:if="{{object.trade_name}}">{{aitem.goods_name}}</view>
                <view wx:if="{{object.seconds_num || object.remaining_inventory}}" class="new_item1_price" style="{{'display:block;color: rgb(56, 56, 56); '+(object.text_align==2 ?'text-align:center;':'')+(object.text_style==2 ? 'font-weight: bold;':'')}}">
                  <text wx:if="{{object.seconds_num}}">已秒<text class="clor">{{aitem.sales_sum}}</text>件</text>
                  <text wx:if="{{object.remaining_inventory}}">还剩余<text class="clor">{{aitem.residue}}</text>件</text>
                </view>
                <view class="new_item1_price" style="{{(object.text_align==2 ? 'justify-content:center;flex-direction:column;' :'' )}}">
                  <view style="{{(object.text_style==2 ? 'font-weight: bold;':'')}}">
                    <view style="{{'font-size: 28rpx; ' +(object.text_align==2 ? 'justify-content:center;' :'' ) }}">
                      <view class="clor" style="margin-right: 5rpx;" wx:if="{{object.commodity_price}}">￥<text style="font-size:42rpx;">{{aitem.price}}</text></view>
                      <view wx:if="{{object.wholesale_price}}">￥{{aitem.market_price}}</view>
                    </view>
                  </view>
                  <view>
                    <image wx:if="{{object.purchase_button<=4}}" src="{{imghost+'/miniapp/images/component/0'+object.purchase_button+'.png'}}" style="width: 100rpx;height: 100rpx;"></image>
                    <view wx:if="{{ 5<=object.purchase_button && object.purchase_button<=8 }}" class="{{'new_item1_but ' + (object.purchase_button==5 ? 'new_item1_but1':'' )+ (object.purchase_button==7 ? 'new_item1_but2':'' )+ (object.purchase_button==8 ? 'new_item1_but3':'' )  }}">{{object.button_content}}</view>
                  </view>
                </view>
              </navigator>
            </view>
          </swiper-item>
        </swiper>
        <!-- </swiper> -->

      </block>
      <!-- 横向滑动 3个-->
      <view wx:if="{{object.style==6}}" style="padding-top:{{object.product_spacing}}px;{{(object.product_style==2 ? ('background-color:'+object.bg_color) :'' )}}">
        <!-- <swiper indicator-dots circular> -->
        <swiper indicator-dots style="{{'padding-left:'+object.page_margins+'px;padding-right:'+object.page_margins+'px;'+(swiperHeight ? ('height:'+swiperHeight+';'):'' )}}" class="{{' new_item1_box '+ ((object.product_style==1 || object.product_style==3 )? ' bgf ':'')}}">
          <swiper-item wx:for="{{goods_array}}"  class="flex2" style="padding: 5rpx;">
            <view  wx:for="{{item}}" wx:for-item="aitem" wx:for-index="aind" class="{{'boxpad swiper_h new_item1 ' + (object.product_style==2 ? ' boxsha ':'') + (object.product_style==3 ? ' aborder ':'')   + ((object.product_style==1 || object.product_style==3 )? ' bgf ':'') + (object.chamfer_of_main_drawing==2 ? ' but_radius5 ':'') }}" style="{{'margin-bottom:'+object.product_spacing+'px; '+('width:calc(100%/3 - ' + (object.product_spacing*2)/3+'px)')}}">
              <navigator url="{{g_filter.get_url_by_type(aitem)}}" class="s1_gk_a1">
                <view class="topBox">
                  <view class="imgBox">
                    <view class="{{'container'+object.picture_scale}}" style="{{object.picture_fill==1 ? 'background-color: #fff;' : ''}}">
                      <image mode="{{object.picture_fill==1 ? 'aspectFit' : 'aspectFill'}}" class="{{'new_item1_image images1 '}}" src="{{aitem.goods_img}}" data-errorimg="goods_array[{{index}}][{{aind}}].goods_img" binderror="bind_bnerr3"></image>
                    </view>
                    <image class="imgBox_img" wx:if="{{object.subscript_style==5}}" src="{{object.subscript_diy_style}}"></image>
                    <image class="imgBox_img" wx:if="{{object.subscript_style<=4}}" src="{{imghost+'/miniapp/images/component/j0'+object.subscript_style +'.png?v=1'}}"></image>
                  </view>
                  <block wx:if="{{object.count_down}}">
                    <view wx:if="{{aitem.residue==0}}" class="{{'new_item1_time '+(object.count_down_float ? 'item_float' : '')}}" style="justify-content: center;color: #fff;background-color:rgb(166,166,166);">
                      <view>已售罄</view>
                    </view>
                    <!-- <view wx:else class="{{'new_item1_time '+(object.count_down_float ? 'item_float' : '')}}" style="{{'justify-content: center;background:'+(aitem.status ==0 ? object.scountdown_background_color : object.countdown_background_color)}}">
                      <view>{{aitem.djs.day}}天{{aitem.djs.hou}}:{{aitem.djs.min}}:{{aitem.djs.sec}}</view>
                    </view> -->
                  </block>
                </view>
                <view class="ellipsis-2 new_item1_goods_name " style="{{'height:88rpx;font-size:24rpx;' + (object.text_style==2 ? 'font-weight: bold;':'') + (object.text_align==2 ? 'text-align:center;' :'' )}}" wx:if="{{object.trade_name}}">{{aitem.goods_name}}</view>
                <view wx:if="{{object.seconds_num || object.remaining_inventory}}" class="new_item1_price clor7b" style="{{'display:block;font-size:20rpx; '+(object.text_align==2 ?'text-align:center;':'')+(object.text_style==2 ? 'font-weight: bold;':'')}}">
                  <text wx:if="{{object.seconds_num}}">销量：<text class="clor">{{aitem.sales_sum}}</text>件</text>
                  <!-- <text wx:if="{{object.remaining_inventory}}">剩<text class="clor">{{aitem.residue}}</text>件</text> -->
                </view>
                <view class="new_item1_price clor7b" style="{{(object.text_align==2 ? 'justify-content:center;flex-direction:column;' :'' )}}">
                  <view style="{{(object.text_style==2 ? 'font-weight: bold;':'')}}">
                    <view style="{{'font-size: 20rpx; ' +(object.text_align==2 ? 'justify-content:center;' :'' ) }}">
                      <view class="clor" style="margin-right: 5rpx;" wx:if="{{object.commodity_price}}">￥<text class="pricefs38">{{aitem.price_n}}</text><text wx:if="{{aitem.price_xs}}">.{{aitem.price_xs}}</text><text wx:if="{{aitem.prom_integral && (aitem.price_n || aitem.price_xs)}}">+</text> <text wx:if="{{aitem.prom_integral}}">{{aitem.prom_integral}}积分</text></view>
                      <view wx:if="{{object.wholesale_price}}">￥{{aitem.market_price}}</view>
                    </view>
                  </view>
                  <view catchtap="addPurchase" wx:if="{{filter.has_add_goods(aitem.prom_type)}}" data-gid="{{aitem.goods_id}}" data-prom_id="{{aitem.prom_id}}" data-prom_type="{{aitem.prom_type}}">
                    <image wx:if="{{object.purchase_button<=4}}" src="{{imghost+'/miniapp/images/component/0'+object.purchase_button+'.png?v=1'}}" style="width: 50rpx;height: 50rpx;"></image>
                    <!-- <view style="width: 90rpx;height: 50rpx;line-height: 50rpx;" wx:if="{{ 5<=object.purchase_button && object.purchase_button<=8 }}" class="{{'new_item1_but ' + (object.purchase_button==5 ? 'new_item1_but1':'' )+ (object.purchase_button==7 ? 'new_item1_but2':'' )+ (object.purchase_button==8 ? 'new_item1_but3':'' )  }}">{{object.button_content}}</view> -->
                  </view>
                </view>
              </navigator>
            </view>
          </swiper-item>
        </swiper>
        <!-- </swiper> -->

      </view>

      <block wx:if="{{object.style!=6}}">
        <block wx:if="{{classstyle_id=='1' }}">
          <view class="button-wrapper" wx:if="{{goods_btn.length!=0 }}" style="border: none">
            <view  loading="{{loading}}" disabled="{{disabled}}" bindtap="setLoading" style="background-color: rgba(0,0,0,0);border:none;text-align: center;">
             <image style="width:30rpx;height:30rpx;" src="{{imghost+'/miniapp/images/component/loading.png'}}"></image> {{loadText}}
            </view>
          </view>
        </block>
        <block wx:if="{{classstyle_id!='1' }}">
          <view class="button-wrapper" wx:if="{{object.goodscount * page <total }}" style="border: none">
            <view  loading="{{loading}}" disabled="{{disabled}}" bindtap="setLoading" style="background-color: rgba(0,0,0,0);border:none;text-align: center;">
              <image style="width:30rpx;height:30rpx;"  src="{{imghost+'/miniapp/images/component/loading.png'}}"></image> {{loadText}}
            </view>
          </view>
          <!-- <view class="fs28" wx:if="{{object.goodscount * page >=total }}" style="color:{{object.nomore_color}};text-align: center; padding: 20rpx 0">&#45;&#45; 没有更多 &#45;&#45; </view>-->

        </block>
      </block>
    </block>
    <view class="nodata-title" wx:elif="{{is_get}}">暂无数据</view>
    <view class="flex jcc loader" wx:else>
      <image style="width: 40rpx; height: 40rpx; " src="{{url}}/miniapp/images/loader.gif"></image>
    </view>
  </block>
  <!-- 旧版 -->
  <block wx:else>
    <view style="background-color: {{bg_color}};" wx:if="{{goods_array.length > 0  }}">
      <!--1个列表的时候-->
      <view class="zs_goods_wai" wx:if='{{object.column==1}}'>
        <block wx:for="{{goods_array}}" wx:for-index="aind" >
          <view class='zs_goods {{g_filter.get_border_type(object.big_order_type)}}'>
            <navigator url="{{g_filter.get_url_by_type(item)}}" class="s1_gk_a1">
              <!-- <navigator url="/pages/goods/goodsInfo/goodsInfo?goods_id={{item.goods_id}}&prom_id={{item.prom_id}}&&prom_type={{item.prom_type}}" class="s1_gk_a1"> -->
              <view class='zs_top rel'>

                <block wx:if="{{object.big_order_type==3}}">
                  <view style="position: relative; width: 100%; height: 100%">
                    <image class='zs_t_img' src="{{object.pic_back}}" data-errorimg="object.pic_back" lazy-load="true" binderror="bind_bnerr3"></image>
                    <image class="n_box" style="top: {{object.top}}%;left:{{object.left}}%;width: {{object.width}}%;height: {{object.width}}%" src="{{item.goods_img}}" data-errorimg="goods_array[{{aind}}].goods_img" lazy-load="true" binderror="bind_bnerr3"></image>
                  </view>
                </block>
                <block wx:else>
                  <image class='zs_t_img' src="{{item.goods_img}}" data-errorimg="goods_array[{{aind}}].goods_img" binderror="bind_bnerr3" lazy-load="true"></image>
                </block>

                <block wx:if="{{object.goodicon==3}}">
                  <image style="width: {{object.icon_width*1.2}}rpx;height: {{object.icon_width*1.2}}rpx" class='{{g_filter.get_class(object.column,object.position)}}' src='{{object.customicon}}'></image>
                </block>
                <block wx:if="{{object.goodicon==1}}">
                  <image style="width: {{object.icon_width*1.2}}rpx;height: {{object.icon_width*1.2}}rpx" class='{{g_filter.get_class(object.column,object.position)}}' src=''></image>
                </block>
                <block wx:if="{{object.goodicon==2}}">
                  <image style="width: {{object.icon_width*1.2}}rpx;height: {{object.icon_width*1.2}}rpx" class='{{g_filter.get_class(object.column,object.position)}}' wx:if="{{object.styleicon==1}}" src='{{imghost}}/miniapp/images/Recommend.png'></image>
                  <image style="width: {{object.icon_width*1.2}}rpx;height: {{object.icon_width*1.2}}rpx" class='{{g_filter.get_class(object.column,object.position)}}' wx:if="{{object.styleicon==2}}" src='{{imghost}}/miniapp/images/hot.png'></image>
                  <image style="width: {{object.icon_width*1.2}}rpx;height: {{object.icon_width*1.2}}rpx" class='{{g_filter.get_class(object.column,object.position)}}' wx:if="{{object.styleicon==3}}" src='{{imghost}}/miniapp/images/new.png'></image>
                  <image style="width: {{object.icon_width*1.2}}rpx;height: {{object.icon_width*1.2}}rpx" class='{{g_filter.get_class(object.column,object.position)}}' wx:if="{{object.styleicon==4}}" src='{{imghost}}/miniapp/images/Promotion.png'></image>
                </block>
              </view>
              <view class='zs_center'>
                <view class='zs_wz1' wx:if="{{object.goodstit}}">{{item.goods_name}}</view>
                <!--如果有显示价格 -->
                <view class='zs_wz2' wx:if="{{object.goodsprice}}">
                  <block wx:if="{{(item.prom_price && item.prom_type!=3 && item.prom_type!=5 && item.prom_type!=7 && item.prom_type!=10) || item.prom_integral}}">
                    <view class='wz_red'>
                      <text wx:if="{{item.prom_integral}}">{{item.prom_integral}}积分</text>
                      <text wx:if="{{item.prom_integral && item.prom_price}}">+</text>
                      <text wx:if="{{item.prom_price}}">￥{{item.prom_price}}</text>
                    </view>
                    <view wx:if="{{is_retail_price}}" class='del ~no_line_x'>￥{{item.market_price}}</view>
                  </block>
                  <block wx:else>

                    <block wx:if="{{g_filter.is_has_rank(rank_switch,item)}}">
                      <!-- 当会员是等级卡的时候 -->
                      <block wx:if="{{card_field}}">
                        <!-- 等级价>0 -->
                        <block wx:if="{{item[card_field]>0}}">
                          <view class="money flex ai_and">
                            <!-- 办卡价 -->
                            <view class="flex xc-wc ai_and">
                              <view class="fs24 wz_red">￥</view>
                              <view class="fs35 wz_red">{{filter.toFix(item[card_field],2)}}</view>
                              <view class="card_bg ellipsis-1">
                                <image src="{{url}}/miniapp/images/plus/dj_icon.png"></image>
                                <text class="card_name">{{card_name}}</text>
                              </view>
                            </view>
                          </view>
                          <view class="flex" style="line-height: 28rpx;">
                            <!-- 原价 -->
                            <view wx:if="{{is_retail_price}}" class="price flex xc-ash line_th ~no_line_x">
                              <view class="fs22">￥</view>
                              <view class="fs22">{{item.market_price}}</view>
                            </view>
                          </view>
                        </block>
                        <block wx:else>
                          <view class="money flex">
                            <!-- 办卡价 -->
                            <view class="flex xc-wc">
                              <view class="fs24 wz_red">￥</view>
                              <view class="fs35 wz_red">{{filter.toFix(item.shop_price,2)}}</view>
                            </view>
                          </view>
                          <view class="flex" style="line-height: 28rpx;">
                            <!-- 原价 -->
                            <view wx:if="{{is_retail_price}}" class="price flex xc-ash line_th ~no_line_x">
                              <view class="fs22">￥</view>
                              <view class="fs22">{{item.market_price}}</view>
                            </view>
                          </view>
                        </block>
                      </block>
                      <block wx:else>
                        <!-- 如果商品有设置等级价大于0的 -->
                        <block wx:if="{{g_filter.get_card_price(item,card_list,0) && is_no_plus}}">
                          <view class="money flex">
                            <!-- 办卡价 -->
                            <view class="flex xc-wc">
                              <view class="fs24 wz_red">￥</view>
                              <view class="fs35 wz_red">{{filter.toFix(item.shop_price,2)}}</view>
                            </view>
                            <!-- 原价 -->
                            <view wx:if="{{is_retail_price}}" class="price flex xc-ash line_th ~no_line_x">
                              <view class="fs22">￥</view>
                              <view class="fs22">{{item.market_price}}</view>
                            </view>

                          </view>
                          <view class="flex" style="line-height: 28rpx;">
                            <!-- 等级价 -->
                            <view class="price flex ai_and">
                              <view class="fs22">￥</view>
                              <view class="fs28">{{filter.toFix(g_filter.get_card_price(item,card_list,0),2)}}</view>
                              <view class="card_bg ellipsis-1">
                                <image src="{{url}}/miniapp/images/plus/dj_icon.png"></image>
                                <text class="card_name">{{g_filter.get_card_price(item,card_list,1)}}</text>
                              </view>
                            </view>
                          </view>
                        </block>
                        <block wx:else>
                          <view class="money flex">
                            <!-- 办卡价 -->
                            <view class="flex xc-wc">
                              <view class="fs24 wz_red">￥</view>
                              <view class="fs35 wz_red">{{filter.toFix(item.shop_price,2)}}</view>
                            </view>
                          </view>
                          <view class="flex" style="line-height: 28rpx;">
                            <!-- 原价 -->
                            <view wx:if="{{is_retail_price}}" class="price flex xc-ash line_th ~no_line_x">
                              <view class="fs22">￥</view>
                              <view class="fs22">{{item.market_price}}</view>
                            </view>
                          </view>
                        </block>
                      </block>
                    </block>

                    <block wx:else>
                      <view class='wz_red'>￥{{item.shop_price}}</view>
                      <view wx:if="{{is_retail_price}}" class='del ~no_line_x'>￥{{item.market_price}}</view>
                    </block>

                  </block>

                </view>
                <!-- <view class='zs_wz5' wx:if="{{object.goodsnum}}">销量：{{item.sales_sum}}件</view> -->
                <view class="flex jc-sb ai-center">
                  <view class='zs_wz5_x' wx:if="{{object.goodsnum}}">销量：{{item.sales_sum}}件</view>

                  <!-- 购物车图标 -->
                  <view class="icon-box" wx:if="{{object.goodcaricon != 1}}">
                    <!-- 系统图标 -->
                    <block wx:if="{{object.goodcaricon == 2}}">
                      <image class="icon" src="{{url + '/miniapp/images/cart/group_goods_car_1.png'}}" wx:if="{{object.stylecaricon == 1}}" mode="widthFix"></image>
                      <image class="icon" src="{{url + '/miniapp/images/cart/group_goods_car_2.png'}}" wx:if="{{object.stylecaricon == 2}}" mode="widthFix"></image>
                      <text class="icon-text" wx:if="{{object.stylecaricon == 3}}">马上抢</text>
                      <text class="icon-text" wx:if="{{object.stylecaricon == 4}}">立即购买</text>
                    </block>
                    <!-- 自定义图标 -->
                    <block wx:if="{{object.goodcaricon == 3}}">
                      <image class="icon icon2" src="{{object.customcaricon}}" mode="widthFix"></image>
                    </block>
                  </view>
                </view>
                <view style="height: 10rpx;"></view>
              </view>
            </navigator>
          </view>
          <view style="height:20rpx"></view>
        </block>

      </view>
      <!--2个一列-->
      <block wx:if="{{object.column==2}}">
        <block wx:for="{{goods_array}}" wx:for-index="aind" >
          <navigator url="{{g_filter.get_url_by_type(item)}}" class="s1_gk_a1">
            <view class="zs_goods_wai_ban {{g_filter.get_border_type(object.big_order_type)}}">
              <view class="zs_goods_ban">
                <view class='zs_goods_2l'>
                  <view class='zs_top_2l rel'>

                    <block wx:if="{{object.big_order_type==3}}">
                      <view style="position: relative; width: 100%; height: 100%">
                        <image class='zs_t_img_2l' src="{{object.pic_back}}" data-errorimg="object.pic_back" lazy-load="true" binderror="bind_bnerr3"></image>
                        <image class="n_box" style="top: {{object.top}}%;left:{{object.left}}%;width: {{object.width}}%;height: {{object.width}}%" src="{{item.goods_img}}" data-errorimg="goods_array[{{aind}}].goods_img" lazy-load="true" binderror="bind_bnerr3"></image>
                      </view>
                    </block>
                    <block wx:else>
                      <image class='zs_t_img_2l' src="{{item.goods_img}}" data-errorimg="goods_array[{{aind}}].goods_img" lazy-load="true" binderror="bind_bnerr3"></image>
                    </block>

                    <block wx:if="{{object.goodicon==3}}">
                      <image style="width: {{object.icon_width*1.2}}rpx;height: {{object.icon_width*1.2}}rpx" class='{{g_filter.get_class(object.column,object.position)}}' src='{{object.customicon}}'></image>
                    </block>
                    <block wx:if="{{object.goodicon==1}}">
                      <image class='{{g_filter.get_class(object.column,object.position)}}' src=''></image>
                    </block>
                    <block wx:if="{{object.goodicon==2}}">
                      <image style="width: {{object.icon_width*1.2}}rpx;height: {{object.icon_width*1.2}}rpx" class='{{g_filter.get_class(object.column,object.position)}}' wx:if="{{object.styleicon==1}}" src='{{imghost}}/miniapp/images/Recommend.png'></image>
                      <image style="width: {{object.icon_width*1.2}}rpx;height: {{object.icon_width*1.2}}rpx" class='{{g_filter.get_class(object.column,object.position)}}' wx:if="{{object.styleicon==2 }}" src='{{imghost}}/miniapp/images/hot.png'></image>
                      <image style="width: {{object.icon_width*1.2}}rpx;height: {{object.icon_width*1.2}}rpx" class='{{g_filter.get_class(object.column,object.position)}}' wx:if="{{object.styleicon==3}}" src='{{imghost}}/miniapp/images/new.png'></image>
                      <image style="width: {{object.icon_width*1.2}}rpx;height: {{object.icon_width*1.2}}rpx" class='{{g_filter.get_class(object.column,object.position)}}' wx:if="{{object.styleicon==4 }}" src='{{imghost}}/miniapp/images/Promotion.png'></image>
                    </block>
                  </view>

                  <view class='zs_center_2l'>
                    <view class='zs_wz1_2l ellipsis-2' wx:if="{{object.goodstit}}">{{item.goods_name}}</view>
                    <view class='zs_wz2_2l' wx:if="{{object.goodsprice}}">

                      <block wx:if="{{(item.prom_price && item.prom_type!=3 && item.prom_type!=5 && item.prom_type!=7 && item.prom_type!=10) || item.prom_integral}}">
                        <view class='wz_red'>
                          <text wx:if="{{item.prom_integral}}">{{item.prom_integral}}积分</text>
                          <text wx:if="{{item.prom_integral && item.prom_price}}">+</text>
                          <text wx:if="{{item.prom_price}}">￥{{item.prom_price}}</text>
                        </view>
                        <view wx:if="{{is_retail_price}}" class='del ~no_line_x'>￥{{item.market_price}}</view>
                      </block>
                      <block wx:else>
                        <block wx:if="{{g_filter.is_has_rank(rank_switch,item)}}">
                          <!-- 当会员是等级卡的时候 -->
                          <block wx:if="{{card_field}}">
                            <!-- 等级价>0 -->
                            <block wx:if="{{item[card_field]>0}}">
                              <view class="money flex">
                                <!-- 办卡价 -->
                                <view class="flex xc-wc ai_and">
                                  <view class="fs24 wz_red">￥</view>
                                  <view class="fs35 wz_red">{{filter.toFix(item[card_field],2)}}</view>
                                  <view class="card_bg ellipsis-1">
                                    <image src="{{url}}/miniapp/images/plus/dj_icon.png"></image>
                                    <view class="card_name">{{card_name}}</view>
                                  </view>
                                </view>
                              </view>
                              <view class="flex" style="line-height: 28rpx;">
                                <!-- 原价 -->
                                <view wx:if="{{is_retail_price}}" class="price flex xc-ash line_th ~no_line_x">
                                  <view class="fs22">￥</view>
                                  <view class="fs22">{{item.market_price}}</view>
                                </view>
                              </view>
                            </block>
                            <block wx:else>
                              <view class="money flex">
                                <!-- 办卡价 -->
                                <view class="flex xc-wc">
                                  <view class="fs24 wz_red">￥</view>
                                  <view class="fs35 wz_red">{{filter.toFix(item.shop_price,2)}}</view>
                                </view>
                              </view>
                              <view class="flex" style="line-height: 28rpx;">
                                <!-- 原价 -->
                                <view wx:if="{{is_retail_price}}" class="price flex xc-ash line_th ~no_line_x">
                                  <view class="fs22">￥</view>
                                  <view class="fs22">{{item.market_price}}</view>
                                </view>
                              </view>
                            </block>
                          </block>
                          <block wx:else>
                            <!-- 如果商品有设置等级价大于0的 -->
                            <block wx:if="{{g_filter.get_card_price(item,card_list,0) && is_no_plus}}">
                              <view class="money flex">
                                <!-- 办卡价 -->
                                <view class="flex xc-wc">
                                  <view class="fs24 wz_red">￥</view>
                                  <view class="fs35 wz_red">{{filter.toFix(item.shop_price,2)}}</view>
                                </view>
                                <!-- 原价 -->
                                <view wx:if="{{is_retail_price}}" class="price flex xc-ash line_th ~no_line_x">
                                  <view class="fs22">￥</view>
                                  <view class="fs22">{{item.market_price}}</view>
                                </view>

                              </view>
                              <view class="flex" style="line-height: 28rpx;">
                                <!-- 等级价 -->
                                <view class="price flex ai_and">
                                  <view class="fs22">￥</view>
                                  <view class="fs28">{{filter.toFix(g_filter.get_card_price(item,card_list,0),2)}}</view>
                                  <view class="card_bg ellipsis-1">
                                    <image src="{{url}}/miniapp/images/plus/dj_icon.png"></image>
                                    <text class="card_name">{{g_filter.get_card_price(item,card_list,1)}}</text>
                                  </view>
                                </view>
                              </view>
                            </block>
                            <block wx:else>
                              <view class="money flex">
                                <!-- 办卡价 -->
                                <view class="flex xc-wc">
                                  <view class="fs24 wz_red">￥</view>
                                  <view class="fs35 wz_red">{{filter.toFix(item.shop_price,2)}}</view>
                                </view>
                              </view>
                              <view class="flex" style="line-height: 28rpx;">
                                <!-- 原价 -->
                                <view wx:if="{{is_retail_price}}" class="price flex xc-ash line_th ~no_line_x">
                                  <view class="fs22">￥</view>
                                  <view class="fs22">{{item.market_price}}</view>
                                </view>
                              </view>
                            </block>
                          </block>
                        </block>
                        <block wx:else>
                          <view class='wz_red'>￥{{item.shop_price}}</view>
                          <view wx:if="{{is_retail_price}}" class='del ~no_line_x'>￥{{item.market_price}}</view>
                        </block>
                      </block>
                    </view>
                    <!-- <view class='zs_wz5_2l' wx:if="{{object.goodsnum}}">销量：{{item.sales_sum}}件</view> -->
                    <view class="flex jc-sb ai-center">
                      <view class='zs_wz5_x' wx:if="{{object.goodsnum}}">销量：{{item.sales_sum}}件</view>

                      <!-- 购物车图标 -->
                      <view class="icon-box" wx:if="{{object.goodcaricon != 1}}">
                        <!-- 系统图标 -->
                        <block wx:if="{{object.goodcaricon == 2}}">
                          <image class="icon" src="{{url + '/miniapp/images/cart/group_goods_car_1.png'}}" wx:if="{{object.stylecaricon == 1}}" mode="widthFix"></image>
                          <image class="icon" src="{{url + '/miniapp/images/cart/group_goods_car_2.png'}}" wx:if="{{object.stylecaricon == 2}}" mode="widthFix"></image>
                          <text class="icon-text" wx:if="{{object.stylecaricon == 3}}">马上抢</text>
                          <text class="icon-text" wx:if="{{object.stylecaricon == 4}}">立即购买</text>
                        </block>
                        <!-- 自定义图标 -->
                        <block wx:if="{{object.goodcaricon == 3}}">
                          <image class="icon icon2" src="{{object.customcaricon}}" mode="widthFix"></image>
                        </block>
                      </view>
                    </view>

                    <view style="height: 10rpx;"></view>
                  </view>
                </view>
              </view>

            </view>
          </navigator>
        </block>
        <view class="clear"></view>
      </block>
      <!--3个一列-->
      <block wx:if='{{object.column==3}}'>
        <view class="zwp_3 flex wrap">
          <block wx:for="{{goods_array}}" wx:for-index="aind" >
            <navigator url="{{g_filter.get_url_by_type(item)}}" class="s1_gk_a1">
              <view class="zs_goods_wai_san {{g_filter.get_border_type(object.big_order_type)}}">
                <view class="zs_goods_san">
                  <view class='zs_goods_3l'>
                    <view class='zs_top_3l rel'>
                      <block wx:if="{{object.big_order_type==3}}">
                        <view style="position: relative; width: 100%; height: 100%">
                          <image class='zs_t_img_3l' src="{{object.pic_back}}" data-errorimg="object.pic_back" lazy-load="true" binderror="bind_bnerr3"></image>
                          <image class="n_box" style="top: {{object.top}}%;left:{{object.left}}%;width: {{object.width}}%;height: {{object.width}}%" src="{{item.goods_img}}" data-errorimg="goods_array[{{aind}}].goods_img" lazy-load="true" binderror="bind_bnerr3"></image>
                        </view>
                      </block>
                      <block wx:else>
                        <image class='zs_t_img_3l' src="{{item.goods_img}}" data-errorimg="goods_array[{{aind}}].goods_img" lazy-load="true" binderror="bind_bnerr3"></image>
                      </block>

                      <block wx:if="{{object.goodicon==3}}">
                        <image style="width: {{object.icon_width*1.2}}rpx;height: {{object.icon_width*1.2}}rpx" class='{{g_filter.get_class(object.column,object.position)}}' src='{{object.customicon}}'></image>
                      </block>
                      <block wx:if="{{object.goodicon==1}}">
                        <image style="width: {{object.icon_width*1.2}}rpx;height: {{object.icon_width*1.2}}rpx" class='{{g_filter.get_class(object.column,object.position)}}' src=''></image>
                      </block>
                      <block wx:if="{{object.goodicon==2}}">
                        <image style="width: {{object.icon_width*1.2}}rpx;height: {{object.icon_width*1.2}}rpx" class='{{g_filter.get_class(object.column,object.position)}}' wx:if="{{object.styleicon==1}}" src='{{imghost}}/miniapp/images/Recommend.png'></image>
                        <image style="width: {{object.icon_width*1.2}}rpx;height: {{object.icon_width*1.2}}rpx" class='{{g_filter.get_class(object.column,object.position)}}' wx:if="{{object.styleicon==2 }}" src='{{imghost}}/miniapp/images/hot.png'></image>
                        <image style="width: {{object.icon_width*1.2}}rpx;height: {{object.icon_width*1.2}}rpx" class='{{g_filter.get_class(object.column,object.position)}}' wx:if="{{object.styleicon==3}}" src='{{imghost}}/miniapp/images/new.png'></image>
                        <image style="width: {{object.icon_width*1.2}}rpx;height: {{object.icon_width*1.2}}rpx" class='{{g_filter.get_class(object.column,object.position)}}' wx:if="{{object.styleicon==4 }}" src='{{imghost}}/miniapp/images/Promotion.png'></image>
                      </block>
                    </view>
                    <view class='zs_center_3l'>


                      <view class='zs_wz1_3l' wx:if="{{object.goodstit}}">{{item.goods_name}}</view>
                      <view class='zs_wz2_3l' wx:if="{{object.goodsprice}}">
                        <block wx:if="{{(item.prom_price && item.prom_type!=3 && item.prom_type!=5 && item.prom_type!=7 && item.prom_type!=10) || item.prom_integral}}">
                          <view class='wz_red'>
                            <text wx:if="{{item.prom_integral}}">{{item.prom_integral}}积分</text>
                            <text wx:if="{{item.prom_integral && item.prom_price}}">+</text>
                            <text wx:if="{{item.prom_price}}">￥{{item.prom_price}}</text>
                          </view>
                          <view wx:if="{{is_retail_price}}" class='del ~no_line_x'>￥{{item.market_price}}</view>
                        </block>
                        <block wx:else>
                          <block wx:if="{{g_filter.is_has_rank(rank_switch,item)}}">
                            <!-- 当会员是等级卡的时候 -->
                            <block wx:if="{{card_field}}">
                              <!-- 等级价>0 -->
                              <block wx:if="{{item[card_field]>0}}">
                                <view class="money flex">
                                  <!-- 办卡价 -->
                                  <view class="flex xc-wc ai_and">
                                    <view class="fs24 wz_red">￥</view>
                                    <view class="fs35 wz_red">{{filter.toFix(item[card_field],2)}}</view>
                                    <view class="card_bg ellipsis-1">
                                      <image src="{{url}}/miniapp/images/plus/dj_icon.png"></image>
                                      <text class="card_name">{{card_name}}</text>
                                    </view>
                                  </view>
                                </view>
                                <view class="flex" style="line-height: 28rpx;">
                                  <!-- 原价 -->
                                  <view wx:if="{{is_retail_price}}" class="price flex xc-ash line_th ~no_line_x">
                                    <view class="fs22">￥</view>
                                    <view class="fs22">{{item.market_price}}</view>
                                  </view>
                                </view>
                              </block>
                              <block wx:else>
                                <view class="money flex">
                                  <!-- 办卡价 -->
                                  <view class="flex xc-wc">
                                    <view class="fs24 wz_red">￥</view>
                                    <view class="fs35 wz_red">{{filter.toFix(item.shop_price,2)}}</view>
                                  </view>
                                </view>
                                <view class="flex" style="line-height: 28rpx;">
                                  <!-- 原价 -->
                                  <view wx:if="{{is_retail_price}}" class="price flex xc-ash line_th ~no_line_x">
                                    <view class="fs22">￥</view>
                                    <view class="fs22">{{item.market_price}}</view>
                                  </view>
                                </view>
                              </block>
                            </block>
                            <block wx:else>
                              <!-- 如果商品有设置等级价大于0的 -->
                              <block wx:if="{{g_filter.get_card_price(item,card_list,0) && is_no_plus}}">
                                <view class="money flex">
                                  <!-- 办卡价 -->
                                  <view class="flex xc-wc">
                                    <view class="fs24 wz_red">￥</view>
                                    <view class="fs35 wz_red">{{filter.toFix(item.shop_price,2)}}</view>
                                  </view>
                                  <!-- 原价 -->
                                  <view wx:if="{{is_retail_price}}" class="price flex xc-ash line_th ~no_line_x">
                                    <view class="fs22">￥</view>
                                    <view class="fs22">{{item.market_price}}</view>
                                  </view>

                                </view>
                                <view class="flex" style="line-height: 28rpx;">
                                  <!-- 等级价 -->
                                  <view class="price flex ai_and">
                                    <view class="fs22">￥</view>
                                    <view class="fs28">{{filter.toFix(g_filter.get_card_price(item,card_list,0),2)}}</view>
                                    <view class="card_bg ellipsis-1">
                                      <image src="{{url}}/miniapp/images/plus/dj_icon.png"></image>
                                      <text class="card_name">{{g_filter.get_card_price(item,card_list,1)}}</text>
                                    </view>
                                  </view>
                                </view>
                              </block>
                              <block wx:else>
                                <view class="money flex">
                                  <!-- 办卡价 -->
                                  <view class="flex xc-wc">
                                    <view class="fs24 wz_red">￥</view>
                                    <view class="fs35 wz_red">{{filter.toFix(item.shop_price,2)}}</view>
                                  </view>
                                </view>
                                <view class="flex" style="line-height: 28rpx;">
                                  <!-- 原价 -->
                                  <view class="price flex xc-ash line_th ~no_line_x">
                                    <view class="fs22">￥</view>
                                    <view class="fs22">{{item.market_price}}</view>
                                  </view>
                                </view>
                              </block>
                            </block>
                          </block>
                          <block wx:else>
                            <view class='wz_red'>￥{{item.shop_price}}</view>
                            <view wx:if="{{is_retail_price}}" class='del ~no_line_x'>￥{{item.market_price}}</view>
                          </block>
                        </block>
                      </view>
                      <!-- <view class='zs_wz5_3l' wx:if="{{object.goodsnum}}">销量：{{item.sales_sum}}件</view> -->
                      <view class="flex jc-sb ai-center">
                        <view class='zs_wz5_x' wx:if="{{object.goodsnum}}">销量：{{item.sales_sum}}件</view>

                        <!-- 购物车图标 -->
                        <view class="icon-box" wx:if="{{object.goodcaricon != 1}}">
                          <!-- 系统图标 -->
                          <block wx:if="{{object.goodcaricon == 2}}">
                            <image class="icon" src="{{url + '/miniapp/images/cart/group_goods_car_1.png'}}" wx:if="{{object.stylecaricon == 1}}" mode="widthFix"></image>
                            <image class="icon" src="{{url + '/miniapp/images/cart/group_goods_car_2.png'}}" wx:if="{{object.stylecaricon == 2}}" mode="widthFix"></image>
                            <text class="icon-text" wx:if="{{object.stylecaricon == 3}}">马上抢</text>
                            <text class="icon-text" wx:if="{{object.stylecaricon == 4}}">立即购买</text>
                          </block>
                          <!-- 自定义图标 -->
                          <block wx:if="{{object.goodcaricon == 3}}">
                            <image class="icon icon2" src="{{object.customcaricon}}" mode="widthFix"></image>
                          </block>
                        </view>
                      </view>
                      <view style="height: 10rpx;"></view>
                    </view>
                  </view>
                </view>
              </view>
            </navigator>
          </block>
        </view>
        <view class="clear"></view>
      </block>
      <!-- 列表显示 -->
      <view class="zs_goods_xiao_wai" wx:if='{{object.column==4}}'>
        <block wx:for="{{goods_array}}" wx:for-index="aind">
          <navigator url="{{g_filter.get_url_by_type(item)}}" class="s1_gk_a1 {{object.noboder==0?'list_border':'' }}">
            <view class="zs_goods_xiao_bottom {{g_filter.get_border_type(object.big_order_type)}}">
              <view class='zs_top_x'>
                <block wx:if="{{object.big_order_type==3}}">
                  <view style="position: relative; width: 100%; height: 100%">
                    <image class='zs_t_img_x' src="{{object.pic_back}}" data-errorimg="object.pic_back" lazy-load="true" binderror="bind_bnerr3"></image>
                    <image class="n_box" style="top: {{object.top}}%;left:{{object.left}}%;width: {{object.width}}%;height: {{object.width}}%" src="{{item.goods_img}}" data-errorimg="goods_array[{{aind}}].goods_img" lazy-load="true" binderror="bind_bnerr3"></image>
                  </view>
                </block>

                <block wx:else>

                  <!-- 2021.11.27修改		 -->
                  <image class="block zs_t_img_x {{object.big_order_type==0?'zj':''}}{{object.big_order_type==1?'yj':''}}" src="{{item.goods_img}}" data-errorimg="goods_array[{{aind}}].goods_img" lazy-load="true" binderror="bind_bnerr3"></image>
                </block>

                <block wx:if="{{object.goodicon==3}}">
                  <image style="width: {{object.icon_width*1.2}}rpx;height: {{object.icon_width*1.2}}rpx" class='{{g_filter.get_class(object.column,object.position)}}' src='{{object.customicon}}'></image>
                </block>
                <block wx:if="{{object.goodicon==1}}">
                  <image style="width: {{object.icon_width*1.2}}rpx;height: {{object.icon_width*1.2}}rpx" class='{{g_filter.get_class(object.column,object.position)}}' src=''></image>
                </block>
                <block wx:if="{{object.goodicon==2}}">
                  <image style="width: {{object.icon_width*1.2}}rpx;height: {{object.icon_width*1.2}}rpx" class='{{g_filter.get_class(object.column,object.position)}}' wx:if="{{object.styleicon==1}}" src='{{imghost}}/miniapp/images/Recommend.png'></image>
                  <image style="width: {{object.icon_width*1.2}}rpx;height: {{object.icon_width*1.2}}rpx" class='{{g_filter.get_class(object.column,object.position)}}' wx:if="{{object.styleicon==2 }}" src='{{imghost}}/miniapp/images/hot.png'></image>
                  <image style="width: {{object.icon_width*1.2}}rpx;height: {{object.icon_width*1.2}}rpx" class='{{g_filter.get_class(object.column,object.position)}}' wx:if="{{object.styleicon==3}}" src='{{imghost}}/miniapp/images/new.png'></image>
                  <image style="width: {{object.icon_width*1.2}}rpx;height: {{object.icon_width*1.2}}rpx" class='{{g_filter.get_class(object.column,object.position)}}' wx:if="{{object.styleicon==4 }}" src='{{imghost}}/miniapp/images/Promotion.png'></image>
                </block>
              </view>
              <view class='zs_center_x'>
                <view class='zs_wz1_x ellipsis-2' style="width: 360rpx; margin-top: 10rpx" wx:if="{{object.goodstit}}">{{item.goods_name}}</view>
                <view class='zs_wz2_x' wx:if="{{object.goodsprice}}">

                  <block wx:if="{{(item.prom_price && item.prom_type!=3 && item.prom_type!=5 && item.prom_type!=7 && item.prom_type!=10) || item.prom_integral}}">
                    <view class='wz_red'>
                      <text wx:if="{{item.prom_integral}}">{{item.prom_integral}}积分</text>
                      <text wx:if="{{item.prom_integral && item.prom_price}}">+</text>
                      <text wx:if="{{item.prom_price}}">￥{{item.prom_price}}</text>
                    </view>
                    <view wx:if="{{is_retail_price}}" class='del ~no_line_x'>￥{{item.market_price}}</view>
                  </block>
                  <!-- 不是活动的情况 -->
                  <block wx:else>

                    <block wx:if="{{g_filter.is_has_rank(rank_switch,item)}}">
                      <!-- 当会员是等级卡的时候 -->
                      <block wx:if="{{card_field}}">
                        <!-- 等级价>0 -->
                        <block wx:if="{{item[card_field]>0}}">
                          <view class="money flex">
                            <!-- 办卡价 -->
                            <view class="flex xc-wc ai_and">
                              <view class="fs24 wz_red">￥</view>
                              <view class="fs35 wz_red">{{filter.toFix(item[card_field],2)}}</view>
                              <view class="card_bg ellipsis-1">
                                <image src="{{url}}/miniapp/images/plus/dj_icon.png"></image>
                                <text class="card_name">{{card_name}}</text>
                              </view>
                            </view>
                          </view>
                          <view class="flex" style="line-height: 28rpx;">
                            <!-- 原价 -->
                            <view wx:if="{{is_retail_price}}" class="price flex xc-ash line_th ~no_line_x">
                              <view class="fs22">￥</view>
                              <view class="fs22">{{item.market_price}}</view>
                            </view>
                          </view>
                        </block>
                        <block wx:else>
                          <view class="money flex">
                            <!-- 办卡价 -->
                            <view class="flex xc-wc">
                              <view class="fs24">￥</view>
                              <view class="fs35">{{filter.toFix(item.shop_price,2)}}</view>
                            </view>
                          </view>
                          <view class="flex" style="line-height: 28rpx;">
                            <!-- 原价 -->
                            <view wx:if="{{is_retail_price}}" class="price flex xc-ash line_th ~no_line_x">
                              <view class="fs22">￥</view>
                              <view class="fs22">{{item.market_price}}</view>
                            </view>
                          </view>
                        </block>
                      </block>
                      <block wx:else>
                        <!-- 如果商品有设置等级价大于0的 -->
                        <block wx:if="{{g_filter.get_card_price(item,card_list,0)}}">
                          <view class="money flex">
                            <!-- 办卡价 -->
                            <view class="flex xc-wc">
                              <view class="fs24">￥</view>
                              <view class="fs35">{{filter.toFix(item.shop_price,2)}}</view>
                            </view>
                            <!-- 原价 -->
                            <view wx:if="{{is_retail_price}}" class="price flex xc-ash line_th ~no_line_x">
                              <view class="fs22">￥</view>
                              <view class="fs22">{{item.market_price}}</view>
                            </view>

                          </view>
                          <view class="flex" style="line-height: 28rpx;">
                            <!-- 等级价 -->
                            <view class="price flex ai_and">
                              <view class="fs22">￥</view>
                              <view class="fs28">{{filter.toFix(g_filter.get_card_price(item,card_list,0),2) && is_no_plus}}</view>
                              <view class="card_bg">
                                <image src="{{url}}/miniapp/images/plus/dj_icon.png"></image>{{g_filter.get_card_price(item,card_list,1)}}
                              </view>
                            </view>
                          </view>
                        </block>
                        <block wx:else>
                          <view class="money flex">
                            <!-- 办卡价 -->
                            <view class="flex xc-wc">
                              <view class="fs24 wz_red">￥</view>
                              <view class="fs35 wz_red">{{filter.toFix(item.shop_price,2)}}</view>
                            </view>
                          </view>
                          <view class="flex" style="line-height: 28rpx;">
                            <!-- 原价 -->
                            <view wx:if="{{is_retail_price}}" class="price flex xc-ash line_th ~no_line_x">
                              <view class="fs22">￥</view>
                              <view class="fs22">{{item.market_price}}</view>
                            </view>
                          </view>
                        </block>
                      </block>
                    </block>

                    <block wx:else>
                      <view class='wz_red'>￥{{item.shop_price}}</view>
                      <view wx:if="{{is_retail_price}}" class='del ~no_line_x'>￥{{item.market_price}}</view>
                    </block>

                  </block>
                </view>

                <view class="flex jc-sb ai-center">
                  <view class='zs_wz5_x' wx:if="{{object.goodsnum}}">销量：{{item.sales_sum}}件</view>

                  <!-- 购物车图标 -->
                  <view class="icon-box" wx:if="{{object.goodcaricon != 1}}">
                    <!-- 系统图标 -->
                    <block wx:if="{{object.goodcaricon == 2}}">
                      <image class="icon" src="{{url + '/miniapp/images/cart/group_goods_car_1.png'}}" wx:if="{{object.stylecaricon == 1}}" mode="widthFix"></image>
                      <image class="icon" src="{{url + '/miniapp/images/cart/group_goods_car_2.png'}}" wx:if="{{object.stylecaricon == 2}}" mode="widthFix"></image>
                      <text class="icon-text" wx:if="{{object.stylecaricon == 3}}">马上抢</text>
                      <text class="icon-text" wx:if="{{object.stylecaricon == 4}}">立即购买</text>
                    </block>
                    <!-- 自定义图标 -->
                    <block wx:if="{{object.goodcaricon == 3}}">
                      <image class="icon icon2" src="{{object.customcaricon}}" mode="widthFix"></image>
                    </block>
                  </view>
                </view>

              </view>
            </view>
          </navigator>
        </block>
        <view class="clear"></view>
      </view>
      <!-- 商品的显示不是左右 -->
      <block wx:if="{{object.column!=5}}">
        <block wx:if="{{classstyle_id=='1' }}">
          <view class="button-wrapper" wx:if="{{goods_btn.length!=0 }}" style="border: none">
            <button type="default" size="default" loading="{{loading}}" disabled="{{disabled}}" bindtap="setLoading" style="background-color: rgba(0,0,0,0);border:none">
              {{loadText}}
            </button>
          </view>
        </block>
        <block wx:if="{{classstyle_id!='1' }}">
          <view class="button-wrapper" wx:if="{{object.goodscount * page <total }}" style="border: none">
            <button type="default" size="default" loading="{{loading}}" disabled="{{disabled}}" bindtap="setLoading" style="background-color: rgba(0,0,0,0);border:none">{{loadText}}</button>
          </view>
          <!--            <view class="fs28" wx:if="{{object.goodscount * page >=total }}" style="color:{{object.nomore_color}};text-align: center; padding: 20rpx 0">&#45;&#45; 没有更多 &#45;&#45; </view>-->

        </block>
      </block>
      <!--商品展示-->
      <swiper class="s_prom" indicator-active-color='red' indicator-dots="false" wx:if="{{object.column==5}}" style="height: {{swiper_hei}}rpx;">
        <view class="sp">
          <swiper-item class="s_it" wx:for="{{goods_array}}">
            <block wx:for="{{item}}" wx:for-item="aitem" wx:for-index="aind">
              <navigator url="{{g_filter.get_url_by_type(aitem)}}" style="width: 32%">
                <view class="one {{object.big_order_type==0?'zj':''}}{{object.big_order_type==1?'yj':''}} " style="margin-left: 10rpx">
                  <view class='sp_top'>
                    <view class='s_img' style="position: relative; width: 100%">

                      <block wx:if="{{object.big_order_type==3}}">
                        <view style="position: relative; width: 100%; height: 100%">
                          <image src="{{object.pic_back}}" data-errorimg="object.pic_back" lazy-load="true" binderror="bind_bnerr3"></image>

                          <image class="n_box" style="top: {{object.top}}%;left:{{object.left}}%;width: {{object.width}}%;height: {{object.width}}%" src="{{aitem.goods_img}}" data-errorimg="goods_array[{{index}}][{{aind}}].goods_img" lazy-load="true" binderror="bind_bnerr3"></image>
                        </view>
                      </block>

                      <block wx:else>
                        <image src="{{aitem.goods_img}}" data-errorimg="goods_array[{{index}}][{{aind}}].goods_img" binderror="bind_bnerr3" lazy-load="true" style="width: 100%"></image>
                      </block>


                      <block wx:if="{{object.goodicon==3}}">
                        <image style="width: {{object.icon_width*1.2}}rpx;height: {{object.icon_width*1.2}}rpx" class='{{g_filter.get_class(object.column,object.position)}}' src='{{object.customicon}}'></image>
                      </block>
                      <block wx:if="{{object.goodicon==1}}">
                        <image style="width: {{object.icon_width*1.2}}rpx;height: {{object.icon_width*1.2}}rpx" class='{{g_filter.get_class(object.column,object.position)}}' src=''></image>
                      </block>
                      <block wx:if="{{object.goodicon==2}}">
                        <image style="width: {{object.icon_width*1.2}}rpx;height: {{object.icon_width*1.2}}rpx" class='{{g_filter.get_class(object.column,object.position)}}' wx:if="{{object.styleicon==1}}" src='{{imghost}}/miniapp/images/Recommend.png'></image>
                        <image style="width: {{object.icon_width*1.2}}rpx;height: {{object.icon_width*1.2}}rpx" class='{{g_filter.get_class(object.column,object.position)}}' wx:if="{{object.styleicon==2 }}" src='{{imghost}}/miniapp/images/hot.png'></image>
                        <image style="width: {{object.icon_width*1.2}}rpx;height: {{object.icon_width*1.2}}rpx" class='{{g_filter.get_class(object.column,object.position)}}' wx:if="{{object.styleicon==3}}" src='{{imghost}}/miniapp/images/new.png'></image>
                        <image style="width: {{object.icon_width*1.2}}rpx;height: {{object.icon_width*1.2}}rpx" class='{{g_filter.get_class(object.column,object.position)}}' wx:if="{{object.styleicon==4 }}" src='{{imghost}}/miniapp/images/Promotion.png'></image>
                      </block>

                    </view>
                    <view class='clear'></view>
                  </view>

                  <view class='sp_wz'>
                    <view class='zs_wz1_3l' wx:if="{{object.goodstit}}">{{aitem.goods_name}}</view>
                    <view class='zs_wz2_3l' wx:if="{{object.goodsprice}}">
                      <block wx:if="{{(aitem.prom_price && aitem.prom_type!=3 && aitem.prom_type!=5 && aitem.prom_type!=7 && aitem.prom_type!=10) || aitem.prom_integral }}">
                        <view class='wz_red'>
                          <text wx:if="{{aitem.prom_integral}}">{{aitem.prom_integral}}</text>
                          <text wx:if="{{aitem.prom_integral && aitem.prom_price}}">+</text>
                          <text wx:if="{{aitem.prom_price}}">￥{{aitem.prom_price}}</text>
                        </view>
                        <view wx:if="{{is_retail_price}}" class='del ~no_line_x'>￥{{aitem.market_price}}</view>
                      </block>
                      <block wx:else>
                        <block wx:if="{{g_filter.is_has_rank(rank_switch,aitem)}}">
                          <!-- 当会员是等级卡的时候 -->
                          <block wx:if="{{card_field}}">
                            <!-- 等级价>0 -->
                            <block wx:if="{{aitem[card_field]>0}}">
                              <view class="money flex">
                                <!-- 办卡价 -->
                                <view class="flex xc-wc ai_and">
                                  <view class="fs24 wz_red">￥</view>
                                  <view class="fs35 wz_red">{{filter.toFix(aitem[card_field],2)}}</view>
                                  <view class="card_bg ellipsis-1">
                                    <image src="{{url}}/miniapp/images/plus/dj_icon.png"></image>
                                    <text class="card_name">{{card_name}}</text>
                                  </view>
                                </view>
                              </view>
                              <view class="flex" style="line-height: 28rpx;">
                                <!-- 原价 -->
                                <view wx:if="{{is_retail_price}}" class="price flex xc-ash line_th ~no_line_x">
                                  <view class="fs22">￥</view>
                                  <view class="fs22">{{aitem.market_price}}</view>
                                </view>
                              </view>
                            </block>
                            <block wx:else>
                              <view class="money flex">
                                <!-- 办卡价 -->
                                <view class="flex xc-wc">
                                  <view class="fs24 wz_red">￥</view>
                                  <view class="fs35 wz_red">{{filter.toFix(aitem.shop_price,2)}}</view>
                                </view>
                              </view>
                              <view class="flex" style="line-height: 28rpx;">
                                <!-- 原价 -->
                                <view wx:if="{{is_retail_price}}" class="price flex xc-ash line_th ~no_line_x">
                                  <view class="fs22">￥</view>
                                  <view class="fs22">{{aitem.market_price}}</view>
                                </view>
                              </view>
                            </block>
                          </block>
                          <block wx:else>
                            <!-- 如果商品有设置等级价大于0的 -->
                            <block wx:if="{{g_filter.get_card_price(aitem,card_list,0) && is_no_plus}}">
                              <view class="money flex">
                                <!-- 办卡价 -->
                                <view class="flex xc-wc">
                                  <view class="fs24 wz_red">￥</view>
                                  <view class="fs35 wz_red">{{filter.toFix(aitem.shop_price,2)}}</view>
                                </view>
                                <!-- 原价 -->
                                <view wx:if="{{is_retail_price}}" class="price flex xc-ash line_th ~no_line_x">
                                  <view class="fs22">￥</view>
                                  <view class="fs22">{{aitem.market_price}}</view>
                                </view>

                              </view>
                              <view class="flex" style="line-height: 28rpx;">
                                <!-- 等级价 -->
                                <view class="price flex ai_and">
                                  <view class="fs22">￥</view>
                                  <view class="fs28">{{filter.toFix(g_filter.get_card_price(aitem,card_list,0),2)}}</view>
                                  <view class="card_bg ellipsis-1">
                                    <image src="{{url}}/miniapp/images/plus/dj_icon.png"></image>
                                    <text class="card_name">{{g_filter.get_card_price(aitem,card_list,1)}}</text>
                                  </view>
                                </view>
                              </view>
                            </block>
                            <block wx:else>
                              <view class="money flex">
                                <!-- 办卡价 -->
                                <view class="flex xc-wc">
                                  <view class="fs24 wz_red">￥</view>
                                  <view class="fs35 wz_red">{{filter.toFix(aitem.shop_price,2)}}</view>
                                </view>
                              </view>
                              <view class="flex" style="line-height: 28rpx;">
                                <!-- 原价 -->
                                <view wx:if="{{is_retail_price}}" class="price flex xc-ash line_th ~no_line_x">
                                  <view class="fs22">￥</view>
                                  <view class="fs22">{{aitem.market_price}}</view>
                                </view>
                              </view>
                            </block>
                          </block>
                        </block>
                        <block wx:else>
                          <view class='wz_red'>￥{{aitem.shop_price}}</view>
                          <view wx:if="{{is_retail_price}}" class='del ~no_line_x'>￥{{aitem.market_price}}</view>
                        </block>
                      </block>
                    </view>
                    <!-- <view class='zs_wz5_3l' wx:if="{{object.goodsnum}}">销量：{{aitem.sales_sum}}件</view> -->
                    <view class="flex jc-sb ai-center">
                      <view class='zs_wz5_x' wx:if="{{object.goodsnum}}">销量：{{aitem.sales_sum}}件</view>

                      <!-- 购物车图标 -->
                      <view class="icon-box" wx:if="{{object.goodcaricon != 1}}">
                        <!-- 系统图标 -->
                        <block wx:if="{{object.goodcaricon == 2}}">
                          <image class="icon" src="{{url + '/miniapp/images/cart/group_goods_car_1.png'}}" wx:if="{{object.stylecaricon == 1}}" mode="widthFix"></image>
                          <image class="icon" src="{{url + '/miniapp/images/cart/group_goods_car_2.png'}}" wx:if="{{object.stylecaricon == 2}}" mode="widthFix"></image>
                          <text class="icon-text" wx:if="{{object.stylecaricon == 3}}">马上抢</text>
                          <text class="icon-text" wx:if="{{object.stylecaricon == 4}}">立即购买</text>
                        </block>
                        <!-- 自定义图标 -->
                        <block wx:if="{{object.goodcaricon == 3}}">
                          <image class="icon icon2" src="{{object.customcaricon}}" mode="widthFix"></image>
                        </block>
                      </view>
                    </view>
                    <view style="height: 10rpx;"></view>
                  </view>

                </view>
              </navigator>
            </block>
          </swiper-item>
        </view>
      </swiper>
    </view>
    <view class="nodata-title" wx:elif="{{is_get}}">暂无数据</view>
    <view class="flex jcc loader" wx:else>
      <image style="width: 40rpx; height: 40rpx; " src="{{url}}/miniapp/images/loader.gif"></image>
    </view>
  </block>
</view>


<!-- 加购 -->
<add_purchase id="add_purchase" bindhide_add_purchase="hide_add_purchase" wx:if="{{add_purchase}}"></add_purchase>