<view class="container">
  <view class="address-box">
    <view class="address-item" bindtap="selectAddress">
      <view class="l">
        <text class="name">{{addressVo.userName}}</text>
      </view>
      <view class="m">
        <text class="mobile" wx:if="{{addressVo.telNumber}}">{{addressVo.telNumber}}</text>
        <text class="address">{{addressVo.provinceName +addressVo.cityName +addressVo.countyName + addressVo.detailInfo?addressVo.provinceName +addressVo.cityName +addressVo.countyName + addressVo.detailInfo:'选择地址'}}</text>
      </view>
      <view class="r">
        <image src="/static/images/address_right.png"></image>
      </view>
    </view>
    <view class="address-item address-empty" bindtap="addAddress" wx:if="{{addressVo.id <= 0}}">
      <view class="m">
        还没有收货地址，去添加
      </view>
      <view class="r">
        <image src="/static/images/address_right.png"></image>
      </view>
    </view>
  </view>
  
  
  <form bindsubmit="submitOrder" report-submit='true'>
  <view class="list-group" style="margin-top: 5px;">
    
    <view class="list-cell">
      <view class="list-cell-bd">
        <view class="list-label">身份证号：</view>
      </view>
      <view class="list-cell-ft">
        <view class="input-box">
          <input name="idNo" class="keywrod" 
          value='{{idNoM}}' disabled='{{idNoDisabled}}'  bindblur="bindPostscriptBlur" placeholder="必填"  />
        </view>
      </view>
    </view>
    
    <view class="list-cell">
      <view class="list-cell-bd">
        <view class="list-label">姓名：</view>
      </view>
      <view class="list-cell-ft">
        <view class="input-box">
          <input name="userName" class="keywrod" value='{{userName}}'  disabled='{{idNoDisabled}}' bindblur="bindPostscriptBlur" placeholder="必填"   />
        </view>
      </view>
    </view>
    <text class='id-card-txt'>身份证信息用于跨境商品入境申报，请输入购买者姓名和身份证号码一致的身份证信息确保正常清关；姓名需要与身份证信息一致。</text>
  </view>
  
<view class="{{goodsTotalByType11==0 && goodsTotalByType10==0 && goodsTotalByType02==0 && goodsTotalByType00!=0 && couponList.length == 0 ?'goods-items-all-end':'goods-items-all'}}"  wx:if="{{goodsTotalByType00!=0}}">
  <view class='item-view'><text class="biz-type">保税仓</text></view>
  <view class="goods-items">
    <view class="item" wx:for="{{checkedGoodsList}}" wx:if="{{item.goodsBizType==00}}" wx:key="{{item.id}}">
      <view class="img">
        <image src="{{item.list_pic_url}}"></image>
      </view>
      <view class="info">
        <view class="t">
          <view class="name">         
          {{item.goods_name}}</view>
          <text class="number">x{{item.number}}</text>
        </view>
        <!-- <view class="m">{{null==item.goods_specification_name_value?"":item.goods_specification_name_value}}</view> -->
        <view class="b">￥{{item.retail_price}}</view>
      </view>
  </view>
  
      
    <!-- <view class="list-cell-checked" bindtap="selectCoupon" wx:if="{{couponList.length > 0}}">
      <view class="list-cell-checked-bd">
        <text wx:if="{{checkedCoupon.id > 0}}" class="name">优惠券:{{checkedCoupon.coupon_name}}</text>
        <text wx:if="{{!checkedCoupon}}" class="name">优惠券:未选择</text>
      </view>
      <view class="list-cell-checked-ft router">
        <text wx:if="{{checkedCoupon.id > 0}}" class="money red-txt">-￥{{checkedCoupon.type_money}}</text>
        <text wx:if="{{!checkedCoupon}}" class="txt">{{couponList.length}}张</text>
      </view>
    </view> -->
    <view class="list-cell-checked">
      <view class="list-cell-checked-bd">
        <view class="list-label">配送方式</view>
      </view>
      <view class="list-cell-checked-ft">
        <text class="txt">{{freightPrice00==0?'快递免邮': '￥'+freightPrice00}}</text>
      </view>
    </view>
    <!-- <view class="list-cell-checked" wx:if="{{fullCutCouponDec!=0}}">
      <view class="list-cell-checked-bd">
        <view class="list-label">满减</view>
      </view>
      <view class="list-cell-checked-ft">
        <text class="red-txt">-￥{{fullCutCouponDec}}</text>
      </view>
    </view> -->
    <view class="list-cell-checked">
      <view class="list-cell-checked-hd">
        <view class="list-label">留言:</view>
        <!-- <textarea class='textra' name='postscript' maxlength="60" bindblur="bindPostscriptBlur" placeholder="请输入留言信息" /> -->
      <view class="list-cell-checked-ft">
        <view class="textra">
          <input name="postscript00" data-goods-type="00" class="keywrod" bindblur="bindPostscriptBlur" placeholder="请输入留言信息"  />
        </view>
      </view>
      </view>
    </view>
    <view class="list-cell">
      <view class="list-cell-bd">
        <view class="list-label">商品合计</view>
      </view>
      <view class="list-cell-ft">
        <text class="txt">共{{goodsTotalByType00}}件商品  小计￥{{goodsTotalPrice00}}</text>
      </view>
    </view>      
  </view>
  </view>

  <view class="{{goodsTotalByType11==0 && goodsTotalByType10==0 && goodsTotalByType02!=0 && couponList.length == 0?'goods-items-all-end':'goods-items-all'}}" wx:if="{{goodsTotalByType02!=0}}">
    <view class='item-view'><text class="biz-type">保税展示</text></view>
    <view class="goods-items">
      <view class="item" wx:for="{{checkedGoodsList}}" wx:if="{{item.goodsBizType==02}}" wx:key="{{item.id}}">
        <view class="img">
          <image src="{{item.list_pic_url}}"></image>
        </view>
        <view class="info">
          <view class="t">
            <view class="name">         
            {{item.goods_name}}</view>
            <text class="number">x{{item.number}}</text>
          </view>
          <!-- <view class="m">{{null==item.goods_specification_name_value?"":item.goods_specification_name_value}}</view> -->
          <view class="b">￥{{item.retail_price}}</view>
        </view>
    </view>
  
    <!-- <view class="list-cell-checked" bindtap="selectCoupon" wx:if="{{couponList.length > 0}}">
      <view class="list-cell-checked-bd">
        <text wx:if="{{checkedCoupon.id > 0}}" class="name">优惠券:{{checkedCoupon.coupon_name}}</text>
        <text wx:if="{{!checkedCoupon}}" class="name">优惠券:未选择</text>
      </view>
      <view class="list-cell-checked-ft router">
        <text wx:if="{{checkedCoupon.id > 0}}" class="money red-txt">-￥{{checkedCoupon.type_money}}</text>
        <text wx:if="{{!checkedCoupon}}" class="txt">{{couponList.length}}张</text>
      </view>
    </view> -->
    <view class="list-cell-checked">
      <view class="list-cell-checked-bd">
        <view class="list-label">配送方式</view>
      </view>
      <view class="list-cell-checked-ft">
        <text class="txt">{{freightPrice02==0?'快递免邮': '￥'+freightPrice02}}</text>
      </view>
    </view>
    <!-- <view class="list-cell-checked" wx:if="{{fullCutCouponDec!=0}}">
      <view class="list-cell-checked-bd">
        <view class="list-label">满减</view>
      </view>
      <view class="list-cell-checked-ft">
        <text class="red-txt">-￥{{fullCutCouponDec}}</text>
      </view>
    </view> -->
    <view class="list-cell-checked">
      <view class="list-cell-checked-hd">
        <view class="list-label">留言:</view>
        <view class="list-cell-checked-ft">
          <view class="textra">
            <input name="postscript02" data-goods-type="02" class="keywrod" bindblur="bindPostscriptBlur" placeholder="请输入留言信息"  />
          </view>
        </view>
      </view>
    </view>
    <view class="list-cell">
      <view class="list-cell-bd">
        <view class="list-label">商品合计</view>
      </view>
      <view class="list-cell-ft">
        <text class="txt">共{{goodsTotalByType02}}件商品  小计￥{{goodsTotalPrice02}}</text>
      </view>
    </view>
  </view>
  </view>

  <view class="{{goodsTotalByType11==0 && goodsTotalByType10!=0 && couponList.length == 0 ?'goods-items-all-end':'goods-items-all'}}" wx:if="{{goodsTotalByType10!=0}}">
    <view class='item-view'><text class="biz-type">现场速递</text></view>
    <view class="goods-items">
      <view class="item" wx:for="{{checkedGoodsList}}" wx:if="{{item.goodsBizType==10}}" wx:key="{{item.id}}">
        <view class="img">
          <image src="{{item.list_pic_url}}"></image>
        </view>
        <view class="info">
          <view class="t">
            <view class="name">         
            {{item.goods_name}}</view>
            <text class="number">x{{item.number}}</text>
          </view>
          <!-- <view class="m">{{null==item.goods_specification_name_value?"":item.goods_specification_name_value}}</view> -->
          <view class="b">￥{{item.retail_price}}</view>
        </view>
    </view>      
    <!-- <view class="list-cell-checked" bindtap="selectCoupon" wx:if="{{couponList.length > 0}}">
      <view class="list-cell-checked-bd">
        <text wx:if="{{checkedCoupon.id > 0}}" class="name">优惠券:{{checkedCoupon.coupon_name}}</text>
        <text wx:if="{{!checkedCoupon}}" class="name">优惠券:未选择</text>
      </view>
      <view class="list-cell-checked-ft router">
        <text wx:if="{{checkedCoupon.id > 0}}" class="money red-txt">-￥{{checkedCoupon.type_money}}</text>
        <text wx:if="{{!checkedCoupon}}" class="txt">{{couponList.length}}张</text>
      </view>
    </view> -->
    <view class="list-cell-checked">
      <view class="list-cell-checked-bd">
        <view class="list-label">配送方式</view>
      </view>
      <view class="list-cell-checked-ft">
        <text class="txt">{{freightPrice10==0?'快递免邮': '￥'+freightPrice10}}</text>
      </view>
    </view>
    <!-- <view class="list-cell-checked" wx:if="{{fullCutCouponDec!=0}}">
      <view class="list-cell-checked-bd">
        <view class="list-label">满减</view>
      </view>
      <view class="list-cell-checked-ft">
        <text class="red-txt">-￥{{fullCutCouponDec}}</text>
      </view>
    </view> -->
    <view class="list-cell-checked">
      <view class="list-cell-checked-hd">
        <view class="list-label">留言:</view>
        
        <view class="list-cell-checked-ft">
          <view class="textra">
            <input name="postscript10" data-goods-type="10" class="keywrod" bindblur="bindPostscriptBlur" placeholder="请输入留言信息"  />
          </view>
        </view>
      </view>
    </view>
    <view class="list-cell">
      <view class="list-cell-bd">
        <view class="list-label">商品合计</view>
      </view>
      <view class="list-cell-ft">
        <text class="txt">共{{goodsTotalByType10}}件商品  小计￥{{goodsTotalPrice10}}</text>
      </view>
    </view>
  </view>
  </view>

  <view class="{{goodsTotalByType11!=0 && couponList.length == 0?'goods-items-all-end':'goods-items-all'}}" wx:if="{{goodsTotalByType11!=0}}">
    <view class='item-view'><text class="biz-type">普通商品</text></view>
    <view class="goods-items">
      <view class="item" wx:for="{{checkedGoodsList}}" wx:if="{{item.goodsBizType==11}}" wx:key="{{item.id}}">
        <view class="img">
          <image src="{{item.list_pic_url}}"></image>
        </view>
        <view class="info">
          <view class="t">
            <view class="name">         
            {{item.goods_name}}</view>
            <text class="number">x{{item.number}}</text>
          </view>
          <!-- <view class="m">{{null==item.goods_specification_name_value?"":item.goods_specification_name_value}}</view> -->
          <view class="b">￥{{item.retail_price}}</view>
        </view>
    </view>      
    <!-- <view class="list-cell-checked" bindtap="selectCoupon" wx:if="{{couponList.length > 0}}">
      <view class="list-cell-checked-bd">
        <text wx:if="{{checkedCoupon.id > 0}}" class="name">优惠券:{{checkedCoupon.coupon_name}}</text>
        <text wx:if="{{!checkedCoupon}}" class="name">优惠券:未选择</text>
      </view>
      <view class="list-cell-checked-ft router">
        <text wx:if="{{checkedCoupon.id > 0}}" class="money red-txt">-￥{{checkedCoupon.type_money}}</text>
        <text wx:if="{{!checkedCoupon}}" class="txt">{{couponList.length}}张</text>
      </view>
    </view> -->
    <view class="list-cell-checked">
      <view class="list-cell-checked-bd">
        <view class="list-label">配送方式</view>
      </view>
      <view class="list-cell-checked-ft">
        <text class="txt">{{freightPrice11==0?'快递免邮': '￥'+freightPrice11}}</text>
      </view>
    </view>
    <!-- <view class="list-cell-checked" wx:if="{{fullCutCouponDec!=0}}">
      <view class="list-cell-checked-bd">
        <view class="list-label">满减</view>
      </view>
      <view class="list-cell-checked-ft">
        <text class="red-txt">-￥{{fullCutCouponDec}}</text>
      </view>
    </view> -->
    <view class="list-cell-checked">
      <view class="list-cell-checked-hd">
        <view class="list-label">留言:</view>
        
        <view class="list-cell-checked-ft">
          <view class="textra">
            <input name="postscript11" data-goods-type="11" class="keywrod" bindblur="bindPostscriptBlur" placeholder="请输入留言信息"  />
          </view>
        </view>
      </view>
    </view>
    <view class="list-cell">
      <view class="list-cell-bd">
        <view class="list-label">商品合计</view>
      </view>
      <view class="list-cell-ft">
        <text class="txt">共{{goodsTotalByType11}}件商品  小计￥{{goodsTotalPrice11}}</text>
      </view>
    </view>
  </view>
  
</view>

  <view class="goods-items-all-end" wx:if="{{couponList.length > 0}}">
    
    <view class="list-cell-checked" bindtap="selectCoupon" wx:if="{{couponList.length > 0}}">
      <view class="list-cell-checked-bd">
        <text wx:if="{{checkedCoupon.id > 0}}" class="name">优惠券:{{checkedCoupon.coupon_name}}</text>
        <text wx:if="{{!checkedCoupon}}" class="name">优惠券:未选择</text>
      </view>
      <view class="list-cell-checked-ft router">
        <text wx:if="{{checkedCoupon.id > 0}}" class="money red-txt">-￥{{checkedCoupon.type_money}}</text>
        <text wx:if="{{!checkedCoupon}}" class="txt">{{couponList.length}}张</text>
      </view>
    </view>
  </view>

<!-- 
    <view class="list-cell">
      
      <view class="list-cell-bd">
        <view  class="list-label">送达时间</view>
      </view>
      <picker mode="multiSelector" bindchange="bindMultiPickerChange" bindcolumnchange="bindMultiPickerColumnChange" value="{{multiIndex}}" range="{{multiArray}}" class="list-cell-ft router">
        <view class="red-txt">{{delivery_date}}</view>
        <text class="red-txt">{{delivery_remark}}</text>
      </picker>
    </view > -->



    <view class="order-total">
      <view class="l">实付：￥{{actualPrice}}</view>
      <button class="r" form-type="submit" wx:if="{{!isEditCart}}">去付款</button>
    </view>
  </form>
</view>