<view class="cart"><view class="goods-list"><view class="top" style="padding:24rpx 0;"><uni-row vue-id="42e06a30-1" justify="space-between" customStyle="margin-bottom: 10px" bind:__l="__l" vue-slots="{{['default']}}"><uni-col vue-id="{{('42e06a30-2')+','+('42e06a30-1')}}" span="{{6}}" bind:__l="__l" vue-slots="{{['default']}}">{{'全部（'+$root.g0+'）'}}</uni-col><block wx:if="{{$root.g1>0}}"><uni-col vue-id="{{('42e06a30-3')+','+('42e06a30-1')}}" span="{{18}}" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{!isManage}}"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="smtitle" style="position:relative;top:-3px;text-align:right;" bindtap="__e">管理</view></block><block wx:else><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="smtitle" style="position:relative;top:-3px;text-align:right;color:#106DFF;" bindtap="__e">退出管理</view></block></uni-col></block></uni-row></view><block wx:if="{{$root.g2>0}}"><view class="card_list"><block wx:for="{{cartList}}" wx:for-item="row" wx:for-index="index"><view class="item"><view data-event-opts="{{[['tap',[['selected',[index,'$0'],[[['cartList','',index]]]]]]]}}" class="checkbox" bindtap="__e"><block wx:if="{{row.checked==true}}"><view><image style="width:32rpx;height:32rpx;" src="../../static/jf/btn_select_color@2x.png"></image></view></block><block wx:else><view><image style="width:32rpx;height:32rpx;" src="../../static/jf/btn_select@2x.png"></image></view></block></view><view class="img"><image class="icon" style="width:128rpx;" mode="widthFix" src="{{row.spzp}}"></image></view><view><view class="smtitle" style="position:relative;top:-3px;">{{''+row.spmc+''}}</view><view class="control"><view class="num"><text class="count">{{row.dhsxjf}}</text></view><view><uni-number-box vue-id="{{'42e06a30-4-'+index}}" min="{{1}}" value="{{row.count}}" data-event-opts="{{[['^change',[['changeValue',['$0'],[[['cartList','',index]]]]]],['^input',[['__set_model',['$0','count','$event',[]],[[['cartList','',index]]]]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l"></uni-number-box></view></view></view></view></block></view></block><block wx:else><u-empty vue-id="42e06a30-5" mode="car" icon="http://cdn.uviewui.com/uview/empty/car.png" bind:__l="__l"></u-empty></block></view><block wx:if="{{$root.g3>0}}"><view><view class="bottom"><block wx:if="{{checkAll!=true}}"><view data-event-opts="{{[['tap',[['selectAll',['$event']]]]]}}" class="select" bindtap="__e"><view class="checkbox"><block wx:if="{{checkAll==true}}"><view class="img"><image style="width:32rpx;height:32rpx;top:6px;" src="../../static/jf/btn_select_color@2x.png"></image></view></block><block wx:else><view class="img"><image style="width:32rpx;height:32rpx;top:3px;" src="../../static/jf/btn_select@2x.png"></image></view></block></view>全选</view></block><block wx:else><view data-event-opts="{{[['tap',[['noselectAll',['$event']]]]]}}" class="select" bindtap="__e"><view class="checkbox"><view><image class="img" style="width:32rpx;height:32rpx;" src="../../static/jf/btn_select_color@2x.png"></image></view></view>取消全选</view></block><view class="info"><block wx:if="{{!isManage}}"><view>已选<text>{{allCount}}</text>件 共<text>{{allMoney}}</text>元</view></block></view><block wx:if="{{!isManage}}"><view data-event-opts="{{[['tap',[['toBuy',['$event']]]]]}}" class="coustbottom" bindtap="__e"><view>结算</view></view></block><block wx:else><view data-event-opts="{{[['tap',[['deleteData',['$event']]]]]}}" class="coustbottom_del" bindtap="__e"><view>删除</view></view></block></view></view></block></view>