<!--component/scrollDel/scrollDel.wxml-->
<!--<scroll-view scroll-y="{{isScroll}}" style='height:{{windowHeight}}px'>-->
<scroll-view scroll-y="{{isScroll}}">
  <block class="cart-item" wx:key="item" wx:for="{{cartList}}">
    <view data-index='{{index}}' class="order-item cart-list" bindtouchstart="drawStart" bindtouchmove="drawMove" bindtouchend="drawEnd" style="right:{{item.right}}rpx">
        <view data-index="{{index}}">
           <icon size="16" type="{{item.checked ? 'success' : 'circle'}}" color="{{checkedColor}}" data-index="{{index}}" catchtap="checkPro"></icon>
        </view>
        <view class="pro-info">
           <image class="pro-img" src="{{item.skuImgUrl}}" mode="widthFix"></image>
           <view class="pro-right-info">
              <view class="pro-name">{{item.productName}}</view>
              <view class="pro-sku">{{item.skuSpec}}</view>
              <view class="pro-price">
                 <view class="price">￥{{item.price}}</view>
                  <view class="pro-num-edit">
                    <button class="redus-num" data-index="{{index}}" catchtap="minusNum">-</button>
                    <input class="pro-num-edit-input" type="number" data-index="{{index}}" catchtap bindblur="blurNum" bindinput="inputNum" value="{{item.count}}"></input>
                    <button class="add-num" data-index="{{index}}" catchtap="addNum">+</button>
                  </view>
              </view>
           </view>
        </view>
        <view class="remove" data-index="{{index}}" data-skuId="{{item.skuId}}" bindtap="delItem">删除 </view>
    </view>
  </block>
</scroll-view>