1 |
- <view class="shop-cart"><van-cell vue-id="73adca00-1" title="{{defaultAddr===''?'默认收货地址':defaultAddr}}" is-link="{{true}}" link-type="navigateTo" url="/pages/address/address" data-com-type="wx" bind:__l="__l"></van-cell><view style="height:25rpx;"></view><view class="cards-list"><block wx:for="{{shopCartInfo}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view><block wx:for="{{item.shopCartItemDiscounts[0].shopCartItems}}" wx:for-item="items" wx:for-index="index1" wx:key="basketId"><van-row vue-id="{{'73adca00-2-'+index+'-'+index1}}" data-com-type="wx" bind:__l="__l" vue-slots="{{['default']}}"><van-col vue-id="{{('73adca00-3-'+index+'-'+index1)+','+('73adca00-2-'+index+'-'+index1)}}" span="2" data-com-type="wx" bind:__l="__l" vue-slots="{{['default']}}"><van-checkbox vue-id="{{('73adca00-4-'+index+'-'+index1)+','+('73adca00-3-'+index+'-'+index1)}}" data-param1="{{items.basketId}}" value="{{items.isCheck}}" data-event-opts="{{[['^change',[['onChange']]],['tap',[['basketClick',['$event']]]]]}}" data-com-type="wx" bind:change="__e" bindtap="__e" bind:__l="__l"></van-checkbox></van-col><van-col vue-id="{{('73adca00-5-'+index+'-'+index1)+','+('73adca00-2-'+index+'-'+index1)}}" span="22" data-com-type="wx" bind:__l="__l" vue-slots="{{['default']}}"><text class="shop-name">{{item.shopName}}</text><van-card vue-id="{{('73adca00-6-'+index+'-'+index1)+','+('73adca00-5-'+index+'-'+index1)}}" num="{{items.prodCount}}" price="{{items.price}}" desc="{{items.skuName}}" title="{{items.prodName}}" thumb="{{items.pic}}" data-com-type="wx" bind:__l="__l" vue-slots="{{['footer']}}"><van-stepper vue-id="{{('73adca00-7-'+index+'-'+index1)+','+('73adca00-6-'+index+'-'+index1)}}" value="{{items.prodCount}}" data-param1="{{items}}" async-change="{{true}}" integer="{{true}}" data-event-opts="{{[['^change',[['changeThing']]]]}}" data-com-type="wx" bind:change="__e" slot="footer" bind:__l="__l"></van-stepper></van-card></van-col></van-row></block><van-divider vue-id="{{'73adca00-8-'+index}}" data-com-type="wx" bind:__l="__l"></van-divider></view></block><block wx:if="{{shopCartInfo<=0}}"><van-empty vue-id="73adca00-9" data-com-type="wx" bind:__l="__l"></van-empty></block><van-submit-bar vue-id="73adca00-10" price="{{totalMoney}}" button-text="提交订单" data-event-opts="{{[['^submit',[['onSubmit']]]]}}" data-com-type="wx" bind:submit="__e" bind:__l="__l" vue-slots="{{['default']}}"><van-checkbox vue-id="{{('73adca00-11')+','+('73adca00-10')}}" value="{{checkedAll}}" data-event-opts="{{[['^change',[['allProdSelected']]]]}}" data-com-type="wx" bind:change="__e" bind:__l="__l" vue-slots="{{['default']}}">全选</van-checkbox><block wx:if="{{basketIds.length>0}}"><navigator data-event-opts="{{[['tap',[['clearCart',['$event']]]]]}}" class="clear-cart _a" bindtap="__e">清空</navigator></block></van-submit-bar></view></view>
|