shoppingCartInvalidProductCell.wxml 1.32 KB
<!-- 无效商品cell -->
<template name="shoppingCartInvalidProductCell">
  <view class="commonProductCellContainer">
    <block wx:for="{{invalidGoodsList}}" wx:key="item">
      <view class="poolGoodCellContainer">
        <view wx:if="{{index > 0}}" class='cellLine'>
        </view>
        <view class="pollGoodContainer, infoContainer" bindtap='navtoProductDetailPage' data-item="{{item}}" bindtouchend="moveEnd" bindtouchstart="moveStart" animation="{{tempSku == item.unique_identifier ? deleteAnimation : ''}}">
          <image src="./images/gwc_shixiao@2x.png" class="invalidBtn"></image>
          <image src="{{item.goods_images}}" class="goodsImage" style="margin-left:9px;"></image>
          <view class="goodsInfoContainer">
            <view class="productNameContainer">
              <text class="productName">{{item.product_name}}</text>
            </view>
          </view>
          <view class="cellDeleteBtn" catchtap="deleteGoodsCell" data-type="{{item}}">
            <text class="cellDeleteText">删除</text>
          </view>
        </view>
      </view>
    </block>
    <view class='sepLineStyle'>
    </view>
    <view class="cleanInvalidContainer">
      <text class="cleanInvalidText" bindtap='cleanInvalidAction'>清空无效商品</text>
    </view>
    <view class="bottonGray"></view>
  </view>
</template>