24 lines
979 B
Plaintext
24 lines
979 B
Plaintext
<view class="box">
|
|
<swiper indicator-dots="{{true}}" circular="{{true}}" autoplay="{{true}}" interval="{{2000}}" class="swiper">
|
|
<block wx:for="{{info.gallery}}">
|
|
<swiper-item>
|
|
<image class="image" src="{{item.image_url}}"> </image>
|
|
</swiper-item>
|
|
</block>
|
|
<!-- <block>
|
|
<swiper-item>
|
|
<image class="image"> </image>
|
|
</swiper-item>
|
|
</block>
|
|
<block>
|
|
<swiper-item>
|
|
<image class="image"> </image>
|
|
</swiper-item>
|
|
</block> -->
|
|
</swiper>
|
|
<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>
|
|
</picker>
|
|
</view> |