cart.wxml 2.2 KB

1
  1. <view style="height:100vh;background-color:#F5F5F5;"><view style="height:50rpx;"></view><uni-nav-bar vue-id="0ea076d0-1" left-icon="back" title="购物车" data-event-opts="{{[['^clickLeft',[['goback']]],['^clickRight',[['deleteShop']]]]}}" bind:clickLeft="__e" bind:clickRight="__e" bind:__l="__l"></uni-nav-bar><view class="titleright">编辑</view><view class="cart-list"><view style="display:flex;align-items:center;padding:20rpx 36rpx;border-bottom:1px solid #F5F5F5;"><image style="width:50rpx;height:50rpx;" src></image><label style="padding-left:8rpx;" class="_span">华南酒店</label></view><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="shoplist" style="background-color:#fff;"><view style="flex:1;"><van-checkbox-group vue-id="{{'0ea076d0-2-'+index}}" value="{{checkboxList}}" data-event-opts="{{[['^change',[['changeBox',[index]]]]]}}" data-com-type="wx" bind:change="__e" bind:__l="__l" vue-slots="{{['default']}}"><van-checkbox vue-id="{{('0ea076d0-3-'+index)+','+('0ea076d0-2-'+index)}}" name="{{index}}" data-com-type="wx" bind:__l="__l" vue-slots="{{['default']}}">{{index}}</van-checkbox></van-checkbox-group></view><view style="flex:15;"><van-card vue-id="{{'0ea076d0-4-'+index}}" title-class="changewidth" price-class="priceClass" price="{{item.price}}" desc="{{item.titleDesc}}" title="{{item.title}}" thumb="https://gd3.alicdn.com/imgextra/i3/0/O1CN01IiyFQI1UGShoFKt1O_!!0-item_pic.jpg_400x400.jpg" data-com-type="wx" bind:__l="__l" vue-slots="{{['footer']}}"><view slot="footer"><uninumberbox vue-id="{{('0ea076d0-5-'+index)+','+('0ea076d0-4-'+index)}}" min="{{1}}" data-event-opts="{{[['^change',[['bindChange']]]]}}" bind:change="__e" bind:__l="__l"></uninumberbox></view></van-card></view></view></block></view><view style="position:fixed;bottom:0;"><van-submit-bar vue-id="0ea076d0-6" price="{{3050}}" button-text="结算" bind:submit="onClickButton" tip="{{true}}" data-com-type="wx" bind:__l="__l" vue-slots="{{['default']}}"><van-checkbox vue-id="{{('0ea076d0-7')+','+('0ea076d0-6')}}" checked-color="#D9332E" value="{{isAll}}" shape="round" data-event-opts="{{[['^change',[['onChange']]]]}}" data-com-type="wx" bind:change="__e" bind:__l="__l" vue-slots="{{['default']}}">全选</van-checkbox></van-submit-bar></view></view>