换系统
This commit is contained in:
@@ -1,24 +1,24 @@
|
||||
<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 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" range="{{info.goods.goods_spec_list?info.goods.goods_spec_list[0]:specs}}" range-key="item">
|
||||
<view class="add">加入购物车</view>
|
||||
</picker>
|
||||
</view>
|
||||
Reference in New Issue
Block a user