<view class='c-333'>
  <!-- 购物车列表 -->
  <view class='car-box '>
    <view  class='car-list  bg-white'  wx:for="{{carList}}"  wx:for-index="idx">
      <view class='f-box car-auto'>
          <checkbox-group class="car-checkbox f-box f-align-items-center" bindchange="checkboxChange" data-index="{{idx}}">
            <label class="checkbox">
              <checkbox value='{{item.shopCarId}}' checked='{{item.checked}}' />
            </label>
          </checkbox-group>
          <view class='f-item'>
            <text class='f-s30'>{{item.customGoodsName}}</text>
            <view  class='f-box f-align-items-center mar-t20 mar-b20'>
              <text class='f-item f-s30 c-green'>￥{{item.customgoodsPriceNow}}</text>
              <view class='car-numBtn f-box'>
                <view bindtap='subtraction' data-index="{{idx}}">-</view>
                <input disabled="true" value="{{item.customGoodsNum}}"/>
                <view bindtap='add' data-index="{{idx}}">+</view>
              </view>
            </view>
            <!-- 图片list -->
            <view class='f-box car-img-list' >
              <image wx:for='{{item.imgArray}}' wx:for-item="itemSrc" src='{{host}}{{itemSrc}}' mode="aspectFit" data-src="{{host}}{{itemSrc}}" data-srcArray="{{item.imgArray}}" bindtap='previewImage'></image>
            </view>
          </view>
        </view>
      </view>
    </view>
    <data-none wx:if="{{carList.length === 0}}"></data-none>
</view>

<view class='footer'>
  <view class='footer-box'>
    <view  class='f-box'>
        <checkbox-group class="f-s30 f-box f-align-items-center mar-l20" bindchange="checkboxChangeAll">
          <label class="checkbox" ><checkbox value="1" checked='{{checkAll}}'/>全选</label>
        </checkbox-group>
      <view class='f-item f-s30 mar-l20 f-box mar-r20 f-justify-content-end'>金额:￥{{amount}}</view>
      <view class='f-s32 f-item car-btn bg-green c-white' bindtap='carSubmit'>提交订单</view>
    </view>
</view>
  
</view>