shoppingCartFooterView.wxml 1.36 KB
<view class="shoppingCartFooterContainer">
  <view class="selectAllContainer">
      <image src="../../../images/gwc_n@2x.png" class="selectBtn" tt:if="{{!data.isSelectAll}}" bindtap="selectAllGoodsAction" data-type="{{data.isSelectAll}}"></image>
      <image src="../../../images/gwc_choose@2x.png" class="selectBtn" tt:if="{{data.isSelectAll}}" bindtap="selectAllGoodsAction" data-type="{{data.isSelectAll}}"></image>
      <text class="selectAllText">全选</text>
  </view>
  <view class="settlementContainer" tt:if="{{!data.isEditing}}">
      <view class="totalCostContainer">
        <text class="totalCostText">总计{{data.item.last_order_amount}}({{data.item.selected_goods_count}})件</text>
        <text class="freightTipText">不含运费</text>
      </view>
      <view class="paymentContainer" style='{{data.item.selected_goods_count > 0 ? "" : "background-color: #b0b0b0"}}'>
        <text class="paymentText" bindtap='{{data.item.selected_goods_count > 0 ? "paymentAction" : ""}}'>结算</text>
      </view>
  </view>
  <view class="settlementContainer" tt:if="{{data.isEditing}}">
      <!-- <view class="moveToFavContainer" bindtap="mutilAddToFav">
        <text class="paymentText">移入收藏夹</text>
      </view> -->
      <view class="deleteContainer" bindtap="mutilDeleteEditing">
        <text class="paymentText">删除</text>
      </view>
  </view>
</view>