shoppingCartInvalidProductCell.wxml 1.25 KB
<!-- 无效商品cell -->
<view class="commonProductCellContainer">
  <block tt:for="{{data.invalidGoodsList}}" tt:key="{{index}}" tt:for-item="item">
    <view class="poolGoodCellContainer">
      <view tt:if="{{index > 0}}" class='cellLine'>
      </view>
      <view class="pollGoodContainer, infoContainer" bindtap='navtoProductDetailPage' data-item="{{item}}" bindtouchend="moveEnd" bindtouchstart="moveStart" animation="{{data.tempSku == item.unique_identifier ? data.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>