deguodaigou/pages/shopping/shopping.wxml

25 lines
1.2 KiB
Plaintext
Raw Normal View History

2019-12-13 11:59:11 +08:00
<view class="shopping">
2019-12-19 15:27:30 +08:00
<view class="item" wx:for="{{list}}" wx:for-index="j" wx:key="{{j}}">
2019-12-20 09:51:28 +08:00
<shopping-item shopname="{{item.goods_name}}" shopdesc="{{item.spec_key_name||'默认规格'}}" price="{{item.goods_price}}" pic="{{item.image}}" num="{{item.goods_num}}" gid="{{item.id}}" index="{{j}}" select="{{select[j]}}" bindsel="sel"></shopping-item>
2019-12-13 11:59:11 +08:00
</view>
2019-12-17 09:54:17 +08:00
<!-- <view class="item">
2019-12-13 11:59:11 +08:00
<shopping-item shopname="J`adore - Dior" shopdesc="30支 1.30kg" price="61.78"></shopping-item>
</view>
<view class="item">
<shopping-item shopname="J`adore - Dior" shopdesc="30支 1.30kg" price="61.78"></shopping-item>
</view>
<view class="item">
<shopping-item shopname="J`adore - Dior" shopdesc="30支 1.30kg" price="61.78"></shopping-item>
2019-12-17 09:54:17 +08:00
</view> -->
2019-12-13 11:59:11 +08:00
<view class="bottom">
<view class="left">
2019-12-20 11:09:15 +08:00
<view bind:tap="call" class="select {{all ? 'selects':''}}"></view>
<text bind:tap="call" class="selectall">全选</text>
<text class="pri">${{price}}</text>
2019-12-13 11:59:11 +08:00
</view>
<view class="right">
2019-12-20 14:16:06 +08:00
<text class="del" bind:tap="del">删除</text>
2019-12-16 18:26:28 +08:00
<text class="sub" bindtap="sub">结算</text>
2019-12-13 11:59:11 +08:00
</view>
</view>
</view>