C端小程序
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

9 行
490 B

  1. <view wx:if="{{list.length>0}}" class="index-slide-view">
  2. <swiper class="imageContainer" bindchange="handleChange" previous-margin="39rpx" next-margin="40rpx" circular autoplay>
  3. <block wx:for="{{list}}" wx:key="{{index}}">
  4. <swiper-item class="item">
  5. <image data-id="{{item.id}}" data-data="{{item}}" bindtap='gotobannerdetail' class="itemImg {{currentIndex == index ? 'active': ''}}" src="{{item.coverImg}}"></image>
  6. </swiper-item>
  7. </block>
  8. </swiper>
  9. </view>