<view class="order-confirm__container">
  <address-card
    is-link
    is-envelope
    is-default
    name="东皇太一"
    phone="15521387777"
    address="广东省深圳市南山区深南大道10000号 (腾讯大厦)"
  />
  <view class="order-confirm__block">
    <!-- 商品列表 -->
    <view class="order-confirm__goods">
      <view
        class="order-confirm__goods-info"
        wx:for="{{ orderDetail.orderGoods }}"
        wx:for-item="goodsItem"
        wx:key="index"
      >
        <order-card
          thumb="{{ goodsItem.thumb }}"
          name="{{ goodsItem.goodsName }}"
          isPreSale="{{ goodsItem.isPreSale }}"
          spec="{{ goodsItem.spec }}"
          count="{{ goodsItem.count }}"
          price="{{ goodsItem.price }}"
          bind:click="onClickGoods"
        ></order-card>
      </view>
    </view>
    <view class="order-confirm__line"></view>

    <!-- 订单其他信息 -->
    <view class="order-confirm__info">
      <van-cell-group border="{{ false }}">
        <van-cell title="运费" value="{{ orderDetail.freight }}" />
        <van-cell title="合计" value="{{ orderDetail.allPrice }}" />
        <van-field
          value="{{ orderDetail.remark }}"
          label="备注"
          placeholder="请输入备注"
          input-align="right"
        />
      </van-cell-group>
    </view>
  </view>
</view>

<!-- 支付 -->
<submit-bar
  price="{{ orderDetail.allPrice }}"
  count="{{ orderDetail.allCount }}"
  showCancel="{{ false }}"
  submitText="提交订单"
  submitDisabled="{{ false }}"
  submitLoading="{{ false }}"
  bind:cancel="onCancel"
  bind:submit="onSubmit"
>
</submit-bar>
