index.wxml 1.6 KB

1
  1. <block wx:if="{{$root.g0}}"><view class="splitOrder"><block wx:if="{{select_all}}"><view class="all"><checkbox-group data-event-opts="{{[['change',[['checkboxAllChange',['$event']]]]]}}" bindchange="__e"><checkbox value="all" checked="{{isAllSelect}}"></checkbox><text class="checkAll">{{$root.m0}}</text></checkbox-group></view></block><checkbox-group data-event-opts="{{[['change',[['checkboxChange',['$event']]]]]}}" bindchange="__e"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block><view class="items acea-row row-between-wrapper"><checkbox value="{{item.$orig.id}}" checked="{{item.$orig.checked}}"></checkbox><view class="picTxt acea-row row-between-wrapper"><view class="pictrue"><image src="{{item.$orig.cart_info.productInfo.image}}"></image></view><view class="text"><view class="acea-row row-between-wrapper"><view class="name line1">{{item.$orig.cart_info.productInfo.store_name}}</view><view>{{"×"+item.$orig.cart_num}}</view></view><view class="infor line1">{{''+item.m1+":"+item.m2}}</view><view class="money">{{item.m3+item.$orig.cart_info.truePrice}}</view></view><view class="carnum acea-row row-center-wrapper"><view data-event-opts="{{[['tap',[['subCart',['$0'],[[['splitGoods','',index]]]]]]]}}" class="{{['reduce',item.$orig.surplus_num==1?'on':'']}}" catchtap="__e">-</view><view class="num">{{item.$orig.surplus_num}}</view><view data-event-opts="{{[['tap',[['addCart',['$0'],[[['splitGoods','',index]]]]]]]}}" class="{{['plus',item.$orig.surplus_num==item.$orig.numShow?'on':'']}}" catchtap="__e">+</view></view></view></view></block></block></checkbox-group></view></block>