product-detail-comp.wxml 904 Bytes
<view class="comp-item">
  <view class="cont">
    <view class="tit">{{productInfo.productName}}</view>
    <view class="img-wrap">
      <swiper class="swiper" indicator-color="rgba(0,0,0,.3)" indicator-active-color="rgba(255,255,255,1)" indicator-dots="{{true}}" autoplay="{{true}}" interval="{{5000}}" duration="{{500}}">
        <block wx:for="{{productInfo.productImages}}" wx:key="{{index}}">
          <swiper-item>
            <image class="swiper-image" src="{{item}}" mode="aspectFill" />
          </swiper-item>
        </block>
      </swiper>
    </view>
    <scroll-view scroll-y="{{true}}" class="desc">
      <!-- <text class="t1">产品特点:</text> -->
      <text class="t2">
        {{productInfo.productInfo}}
      </text>
    </scroll-view>
  </view>
  <view class="close">
    <image bindtap="hideMask" class="btn" src="../../image/index/index-close.png" />
  </view>
</view>