<wrapper>
  <!-- <view style="display: none">
    <component
      is="dynamic-plugin://2021002165686069/components/store/index"
      a:if="{{isReady}}"
      shopType="{{componentData.componentExtInfo.shopType || 'ALL'}}"
      onChangeStore="onChangeStore"
    ></component>
  </view> -->
  <!-- 爆品样式 -->
  <view
    a:if="{{hotGoodsList && hotGoodsList.length}}"
    class="hot-goods-container"
  >
    <view class="hot-goods-head">
      <image
        class="hot-goods-head-icon"
        src="{{fireImg}}"
      />
      <view class="title">爆款商品</view>
    </view>
    <view
      a:if="{{styleType === '4'}}"
      class="hot-goods-body"
      style="flex-direction: row; margin-left: -{{styleConfig2.boxMarginLeft}}"
    >
      <block a:for="{{hotGoodsList}}">
        <view class="style-border">
          <hot-goods-item
            goodsItem="{{item.bigItem}}"
            componentData="{{componentData}}"
            styleConfig="{{styleConfig[0]}}"
            styleType="{{styleType}}"
          />
          <view class="hot-goods-style-four">
            <block a:for="{{item.smallList}}">
              <hot-goods-item
                a:if="{{item}}"
                componentData="{{componentData}}"
                goodsItem="{{item}}"
                styleConfig="{{styleConfig[1]}}"
                styleType="{{styleType}}"
              />
            </block>
          </view>
        </view>
      </block>
    </view>
    <!-- 样式1、2、3 -->
    <view
      a:else
      class="hot-goods-body"
      style="flex-direction: {{styleConfig.outFlexDirection}};margin-left: -{{styleConfig.boxMarginLeft}}"
    >
      <block a:for="{{hotGoodsList}}">
        <hot-goods-item
          componentData="{{componentData}}"
          styleConfig="{{styleConfig}}"
          goodsItem="{{item}}"
          styleType="{{styleType}}"
        />
      </block>
    </view>
  </view>
  <view a:else style="background: #fff;padding: 24rpx">
    <empty-page
      title="欢迎光临"
      height="300rpx"
      message="欢迎来到云小店，快去商城选购商品吧~"
      imgHeight="200rpx"
      imgWidth="200rpx"
      imgMargin="33rpx auto 40rpx"
      emptyImage="https://gw.alipayobjects.com/mdn/rms_0e8a29/afts/img/A*y8RsRoC7SmYAAAAAAAAAAAAAARQnAQ"
    />
  </view>
</wrapper>