You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
3.1 KiB
1 lines
3.1 KiB
<view><view data-event-opts="{{[['touchmove',[['moveHandle',['$event']]]]]}}" class="{{['cartList',(cartData.iScart)?'on':'']}}" style="{{$root.s0}}" catchtouchmove="__e"><view class="title acea-row row-between-wrapper"><view class="name">购物车<text class="fs-24 text--w111-999 pl-8">{{"(共"+(cartNums||cartNum)+"件商品)"}}</text></view><view data-event-opts="{{[['tap',[['subDel',['$event']]]]]}}" class="del acea-row row-middle" bindtap="__e"><view class="iconfont icon-ic_delete"></view>清空</view></view><view class="list"><scroll-view class="scroll-list" style="{{'max-height:'+('800rpx')+';'+('margin-bottom:'+('146rpx')+';')}}" scroll-y="true"><block wx:for="{{cartData.cartList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item flex"><view class="pictrue"><block wx:if="{{item.productInfo.attrInfo}}"><image src="{{item.productInfo.attrInfo.image}}"></image></block><block wx:else><image src="{{item.productInfo.image}}"></image></block><block wx:if="{{!item.status||!item.attrStatus}}"><view class="mantle"></view></block></view><view class="flex-1 flex-col justify-between ml-20"><view class="w-full"><view class="{{['lh-40rpx','fs-28','text--w111-333','line2',item.attrStatus&&item.status?'':'on']}}">{{item.productInfo.store_name}}</view><block wx:if="{{item.productInfo.spec_type&&item.attrStatus}}"><view class="inline-block max-w-460 h-38 lh-38rpx mt-12 bg--w111-f5f5f5 text--w111-999 rd-20rpx px-12 text-center fs-22"><view class="flex"><text class="line1">{{"属性: "+item.productInfo.attrInfo.suk}}</text><text class="iconfont icon-ic_downarrow fs-24 ml-12"></text></view></view></block><block wx:else><view class="inline-block max-w-460 h-38 lh-38rpx mt-12 bg--w111-f5f5f5 text--w111-999 rd-20rpx px-12 text-center fs-22"><view class="flex"><text class="line1">{{"属性: "+item.productInfo.attrInfo.suk}}</text><text class="iconfont icon-ic_downarrow fs-24 ml-12"></text></view></view></block></view><view class="flex-between-center mt-20"><base-money vue-id="{{'3e94a7aa-1-'+index}}" money="{{item.truePrice}}" symbolSize="24" integerSize="40" decimalSize="24" weight="{{true}}" bind:__l="__l"></base-money><block wx:if="{{item.attrStatus&&item.status}}"><view class="flex-y-center"><view data-event-opts="{{[['tap',[['leaveCart',[index]]]]]}}" class="flex-center w-48 h-48 rd-30rpx bg--w111-f5f5f5 text--w111-333" bindtap="__e"><text class="iconfont icon-ic_Reduce fs-32"></text></view><view class="fs-30 text--w111-333 px-20">{{item.cart_num}}</view><view data-event-opts="{{[['tap',[['joinCart',[index]]]]]}}" class="flex-center w-48 h-48 rd-30rpx bg-color text--w111-fff" bindtap="__e"><text class="iconfont icon-ic_increase fs-32"></text></view></view></block><block wx:else><block wx:if="{{!item.attrStatus}}"><view class="noBnt">已售罄</view></block><block wx:else><block wx:if="{{!item.status}}"><view class="noBnt">已下架</view></block></block></block></view></view></view></block></scroll-view></view></view><block wx:if="{{cartData.iScart}}"><view data-event-opts="{{[['tap',[['closeList',['$event']]]],['touchmove',[['moveHandle',['$event']]]]]}}" class="mask" bindtap="__e" catchtouchmove="__e"></view></block></view> |