<!--pages/confirmOrder/confirmOrder.wxml-->
<view class="check_order">
    <view class="address_wrap" wx:if="{{defaultAddress}}">
      <image class="adress-icon" src="../../image/address-icon.png"></image>
      <view style="word-wrap:break-word;max-width: 80%;">
        <view>
          <text>{{defaultAddress.true_name}}</text>
          <text class="ml8">{{defaultAddress.mob_phone}}</text>
        </view>
        <view class="mt10">{{defaultAddress.area_info}}</view>
        <view class="mt10">{{defaultAddress.address}}</view>
      </view>
    </view>
    <view wx:else class="address_none">
      <icon type="warn" size="23" color="#333" />
      <text decode="{{true}}">&nbsp;&nbsp;请填写收货人信息</text>
    </view>

  <view class="mt20 mb20">
    <view class="payment_method payment-1px-b">
      <image class="bonus_pay_icon mr20" src="../../image/bonus_pay.png"></image>
      <view>红包支付</view>
    </view>
    <view class="payment_method">
      <image class="wx_pay_icon mr16" src="../../image/wx_pay.png"></image>
      <view>微信支付</view>
    </view>
  </view>

  <view class="packet_price-tips bacfff" wx:if="{{datas.payinfo.gap_desc}}">{{datas.payinfo.gap_desc}}～</view>
  <view class="order_entry mt20">
    <view class="expenses_info">
      <view class="col666">商品总价</view>
      <view class="">¥ {{order_info['goods_amount']}}</view>
    </view>

    <view class="expenses_info" wx:if="{{full_discount}}">
      <view class="col666">{{order_info['full_desc']}}</view>
      <view class="">- ¥ {{full_discount}}</view>
    </view>

    <view class="expenses_info" wx:if="{{opgoods_discount}}">
      <view class="col666">{{order_info['opgoods_desc']}}</view>
      <view class="">- ¥ {{opgoods_discount}}</view>
    </view>

    <view class="expenses_info" wx:if="{{user_bonus > 0}}">
      <view class="col666">红包抵扣</view>
      <view class="">- ¥ {{user_bonus}}</view>
    </view>

    <view class="expenses_info" wx:if="{{room_bonus}}">
      <view class="col666">共享基金抵扣</view>
      <view class="">- ¥ {{room_bonus}}</view>
    </view>

    <view class="expenses_info">
      <view class="col666">运费</view>
      <view class="">+ ¥ {{order_info['shipping_fee']}}</view>
    </view>
  </view>

  <view class="order_pay">
    <view class="just_buy">
      <view class="just_buy_left">
        <text>应付: </text>
        <text class="col333 ft_bold">¥ {{totalPrice}}</text>
      </view>
      <view class="just_buy_right" bindtap="toPay">去付款</view>
    </view>
  </view>

</view>