deguodaigou/pages/product/product.wxml

24 lines
956 B
Plaintext
Raw Normal View History

2019-12-14 00:31:41 +08:00
<view class="box">
<swiper indicator-dots="{{true}}" circular="{{true}}" autoplay="{{true}}" interval="{{2000}}" class="swiper">
2019-12-19 14:29:24 +08:00
<block wx:for="{{info.gallery}}">
2019-12-14 00:31:41 +08:00
<swiper-item>
2019-12-19 14:29:24 +08:00
<image class="image" src="{{item.image_url}}"> </image>
2019-12-14 00:31:41 +08:00
</swiper-item>
</block>
2019-12-19 14:29:24 +08:00
<!-- <block>
2019-12-14 00:31:41 +08:00
<swiper-item>
<image class="image"> </image>
</swiper-item>
</block>
<block>
<swiper-item>
<image class="image"> </image>
</swiper-item>
2019-12-19 14:29:24 +08:00
</block> -->
2019-12-14 00:31:41 +08:00
</swiper>
2019-12-19 14:29:24 +08:00
<text class="title">{{info.goods.goods_name}}</text>
<text class="menery">$ {{info.goods.shop_price}}</text>
<picker bindchange="bindPickerChange" value="{{item.item_id?item.item_id:0}}" range="{{info.goods.goods_spec_list?info.goods.goods_spec_list:['默认规格']}}">
<view class="add">加入购物车</view>
2019-12-14 00:31:41 +08:00
</picker>
</view>