index.wxml 2.7 KB

1
  1. <view class="{{[$root.g0.tmVuetify.black?'black':' ']}}" style="{{'min-height:'+(sys.windowHeight+'px')+';'}}"><tm-menubars vue-id="4b5f5795-1" title="购物车列表" shadow="{{0}}" showback="{{true}}" bind:__l="__l"></tm-menubars><block wx:if="{{test.length>0}}"><view class="zhuti shangpin"><tm-sheet class="jiaoxi xiao" vue-id="4b5f5795-2" padding="{{[0,0]}}" bind:__l="__l" vue-slots="{{['default']}}"><view style="width:100%;"><tm-checkbox bind:change="__e" bind:input="__e" vue-id="{{('4b5f5795-3')+','+('4b5f5795-2')}}" value="{{checked}}" data-event-opts="{{[['^change',[['chooseAll']]],['^input',[['__set_model',['','checked','$event',[]]]]]]}}" bind:__l="__l"></tm-checkbox>{{(checked?'取消全选':'全选')+''}}</view><block wx:for="{{test}}" wx:for-item="item" wx:for-index="__i0__"><view><tm-checkbox style="float:left;padding:2px !important;margin-top:9%;" vue-id="{{('4b5f5795-4-'+__i0__)+','+('4b5f5795-2')}}" label value="{{item.checked}}" data-event-opts="{{[['^change',[['choose']]],['^input',[['__set_model',['$0','checked','$event',[]],[[['test','',__i0__]]]]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l"></tm-checkbox><tm-cart-cell-list-food class="shuliang" vue-id="{{('4b5f5795-5-'+__i0__)+','+('4b5f5795-2')}}" typeclick="{{typeclick}}" mdata="{{item}}" cart-num="{{item.buy}}" data-event-opts="{{[['^change',[['shuliangjia',['$0'],[[['test','',__i0__]]]]]],['^jian',[['jian',['$0'],[[['test','',__i0__]]]]]],['^jia',[['jia',['$0'],[[['test','',__i0__]]]]]],['^updateCartNum',[['__set_sync',['$0','buy','$event'],[[['test','',__i0__,'']]]]]],['^updateCartNum',[['__set_sync',['$0','buy','$event'],[[['test','',__i0__,'']]]]]]]}}" bind:change="__e" bind:jian="__e" bind:jia="__e" bind:updateCartNum="__e" bind:__l="__l"></tm-cart-cell-list-food></view></block></tm-sheet></view></block><view class="dibu"><tm-listitem class="liebiao" vue-id="4b5f5795-6" value="免费" round="{{24}}" shadow="{{12}}" title="邮费" show-right-icon="{{false}}" bind:__l="__l"></tm-listitem><tm-listitem class="liebiao jiageList" vue-id="4b5f5795-7" value="{{'¥'+zongjia}}" round="{{24}}" shadow="{{12}}" title="价格" show-right-icon="{{false}}" bind:__l="__l"></tm-listitem><view class="text-align-center"><tm-button class="mt-50 logincla" vue-id="4b5f5795-8" theme="red" round="{{24}}" data-event-opts="{{[['^click',[['shanchu']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">删除</tm-button><tm-button class="mt-50 logincla" vue-id="4b5f5795-9" theme="primary" round="{{24}}" data-event-opts="{{[['^click',[['goPay']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">立即付款</tm-button></view></view><tm-message class="vue-ref" vue-id="4b5f5795-10" data-ref="toast" bind:__l="__l"></tm-message></view>