商品详情的图片

wechat_user_type
Ge Hao 8 years ago
parent 1ab855985d
commit 0b8fdad744
  1. 8
      pages/show_product/show_product.wxml
  2. 4
      pages/show_product/show_product.wxss

@ -22,6 +22,14 @@
</form>
</view>
<view class="desc-container">
<block wx:for="{{product.desc}}" wx:for-item="desc">
<view class="desc-image-view">
<image class="desc-image" src="{{desc}}" mode="aspectFit"/>
</view>
</block>
</view>
<toast hidden="{{toastAddProduct}}" bindchange="toastChange" duration="1200">
<text style="font-size:28rpx">成功加入购物车</text>
</toast>

@ -48,4 +48,8 @@
position: fixed;
bottom: 0;
width: 100%;
}
.desc-image {
width: 100%;
}
Loading…
Cancel
Save