Browse Source

实现商品详情弹窗图片点击放大功能

pull/1/head
徐飞洋 3 months ago
parent
commit
b0073bba59
  1. 2
      pages/buyer/index.wxml

2
pages/buyer/index.wxml

@ -217,7 +217,7 @@
<swiper class="goods-image-swiper" indicator-dots="true" indicator-color="rgba(0,0,0,0.3)" indicator-active-color="#1677ff">
<block wx:for="{{currentGoodsDetail.imageUrls}}" wx:for-item="img" wx:for-index="idx" wx:key="idx" class="goods-image-item">
<swiper-item>
<image src="{{img}}" mode="aspectFill" class="goods-image"></image>
<image src="{{img}}" mode="aspectFill" class="goods-image" bindtap="previewImage" data-urls="{{currentGoodsDetail.imageUrls}}" data-index="{{idx}}"></image>
</swiper-item>
</block>
</swiper>

Loading…
Cancel
Save