<!--pages/prod-classify/prod-classify.wxml-->

<view class='container'>
  <view class='line-fix'></view>
  <view class="coupon-condition" wx:if='{{sts==4 && couponInfo.couponType === 1}}'>限时特惠：以下商品可使用满{{couponInfo.cashCondition}}减{{couponInfo.reduceAmount}}元的优惠券</view>
  <view class="coupon-condition" wx:if='{{sts==4 && couponInfo.couponType === 2}}'>限时特惠：以下商品可使用满{{couponInfo.cashCondition}}打{{couponInfo.couponDiscount}}折的优惠券</view>
  <view class='tit-background'></view>
  <view>
    <block wx:for="{{prodList}}" wx:key ="key">
      <prod item="{{item}}" showCancelCollect="{{showCancelCollect}}" bind:getCollectionProd="getCollectionProd"></prod>
    </block>
  </view>

  <!-- 空 -->
  <view class="empty" wx:if="{{!prodList.length}}">
    <view class="empty-icon">
      <image src="../../images/icon/empty.png"></image>
    </view>
    <view class="empty-text">暂无商品</view>
  </view>
</view>