shopCar.wxml
1.8 KB
<view class=""><u-navbar wx:if="{{a}}" u-i="73f0a715-0" bind:__l="__l" u-p="{{a}}"></u-navbar><view wx:if="{{b}}" class="minBox"><view class="topBox flexJ"><view class="amount flexA" bindtap="{{d}}"><image src="/static/shopCarIc/shopAddress.png" mode=""></image><view class="adress ellipsis">{{c}}</view></view><view class="manage" bindtap="{{f}}">{{e}}</view></view><view wx:for="{{g}}" wx:for-item="item" wx:key="j" class="shopBox flexA"><view class="checkIc" catchtap="{{item.b}}"><image wx:if="{{item.a}}" src="/static/shopCarIc/checks.png" mode=""></image><image wx:else src="/static/shopCarIc/checked.png" mode=""></image></view><view class="shopPhoto"><image src="{{item.c}}" mode=""></image><image wx:if="{{item.d}}" class="shopStatus" src="/static/shopCarIc/shopType.png" mode=""></image></view><view class="infoBox"><view class="title ellipsis">{{item.e}}</view><view class="numBox flexJ"><view class="rightTitle flexA"><text>¥</text> {{item.f}}</view><view class="and flexA"><image src="/static/shopCarIc/reduce.png" mode="" bindtap="{{item.g}}"></image><view class="num flexC">{{item.h}}</view><image src="/static/shopCarIc/add.png" mode="" bindtap="{{item.i}}"></image></view></view></view></view><view class="" style="height:120rpx"></view></view><view wx:else class="nullBox flexV"><image src="/static/shopCarIc/shopCarNull.png" mode=""></image> 购物车为空哦 </view><view wx:if="{{h}}" class="payBox flexJ"><view class="allIc flexA" bindtap="{{j}}"><image wx:if="{{i}}" src="/static/shopCarIc/checks.png" mode=""></image><image wx:else src="/static/shopCarIc/checked.png" mode=""></image><view class="">全选</view></view><view class="amountBox flexA"><view wx:if="{{k}}" class="settleBox flexA"><view class="settle">合计:</view><view class="money flexA">¥{{l}}</view></view><view class="btns flexC" bindtap="{{n}}">{{m}}</view></view></view></view>