<!--pages/productDetail/productDetail.wxml-->
<view class="productDetail">
  <view>
    <my-form-item wx:if="{{product.name}}" label="产品名称" border="{{false}}" customStyle="{{customStyle}}" labelWidth="{{labelWidth}}" labelPosition="{{labelPosition}}">
        <view class="form_item">
          <text user-select="false">{{product.name}} </text> 
        </view>
    </my-form-item>
  </view>
  <view>
    <swiper class="swiper" autoplay="{{false}}" interval="{{3000}}"  duration="{{500}}" indicator-dots="{{false}}">  
        <block wx:if="{{product.systemFileList && product.systemFileList.length>0}}">  
          <swiper-item wx:for="{{product.systemFileList}}" wx:for-item="img" wx:key="*this">  
            <image src="{{imgHttp+img.guid}}" class="slide-image" mode="aspectFit"/>  
          </swiper-item>  
        </block> 
      </swiper>
  </view>
  <view>
    <view>
      <my-form-item wx:if="{{product.price}}" label="价格" border="{{false}}" customStyle="{{customStyle}}" labelWidth="{{labelWidth}}" labelPosition="{{labelPosition}}">
        <view class="form_item"><text user-select="false">${{product.price}}</text></view>
      </my-form-item>
      <my-form-item wx:if="{{product.bestSellingBrand}}" label="销冠品牌" border="{{false}}" customStyle="{{customStyle}}" labelWidth="{{labelWidth}}" labelPosition="{{labelPosition}}">
        <view class="form_item"><text user-select="false">{{product.bestSellingBrand}}</text></view>
      </my-form-item>
      <my-form-item wx:if="{{product.sellPlatform}}" label="售卖平台" border="{{false}}" customStyle="{{customStyle}}" labelWidth="{{labelWidth}}" labelPosition="{{labelPosition}}">
        <view class="form_item"><text user-select="false">{{product.sellPlatform}}</text></view>
      </my-form-item>
    </view>
  </view>
</view>
<view wx:if="{{product.amazonLink}}" style="padding:0 20rpx">
 <span style="font-weight: bold;">注：</span> 产品的详细信息可以点击<span class="link" catch:tap="copyURL">复制链接</span>到浏览器中查看
</view>