<!--packageA/mycomponent/goodsComponent/plugin/goodSwipe/goodSwipe.wxml-->
<view class="ithumb">
  <swiper indicator-dots="{{false}}" autoplay="{{false}}" circular="{{true}}" indicator-active-color="#007aff">
    <swiper-item wx:if="{{goodsInfo.goods_video}}">
      <video style="width: 100%;height:100%;" src="{{goodsInfo.goods_video}}"
        poster="{{goodsInfo.video_image}}"></video>
    </swiper-item>
    <block wx:for="{{goodsInfo.thumb_url}}" wx:key="index" wx:for-item="ithumb" wx:for-index="index">
      <swiper-item>
        <image src="{{ithumb}}" mode='widthFix' catchtap="previewImg" data-key="{{index}}"/>
        <view class="number-box">{{index + 1}} / {{goodsInfo.thumb_url.length}}</view>
      </swiper-item>
    </block>
    <block wx:if="{{!goodsInfo.thumb_url || goodsInfo.thumb_url.length == 0}}">
      <swiper-item>
        <image src="{{goodsInfo.thumb}}" mode='widthFix' catchtap="previewImg"  />
      </swiper-item>
    </block>
  </swiper>
  <float-order broadcast_data="{{broadcast_data}}" goodsType="{{is_goodsType}}"></float-order>
</view>
