<!--pages/payDeposit/payDeposit.wxml-->
<form bindsubmit="formSubmit" id="container" bindreset="formReset" report-submit='true'>
  <view class="container">
    <!-- 收货信息 -->
    <view class="consignee-info">
      <!-- <view class="consignee-info-hint">
      <text>确认收货信息（竞买成功后商品将快递到此地址）</text>
    </view>
    <navigator url="" class="consignee-site">
      <view class="consignee-user">
        <text class="consignee-user-name">乔凡</text>
        <text class="consignee-user-phone">13466853828</text>        
      </view>
      <view class="consignee-user-address">
        <text>山西省太原市万柏林区漪汾街2号</text>
      </view>
    </navigator> -->
    </view>
    <!-- 风险提示 -->
    <!-- <view class="warning">
    <text class="warning-title">风险提示</text>
    <text class="warning-title">
      
    </text>
  </view> -->
    <!-- 保证金提示 -->
    <view class="deposit-info">
      <view class="deposit-sum">
        <text>保证金：</text>
        <text style="color:#e22">￥{{deposit}}元</text>
      </view>
      <view class="deposit-protocol">
        <text>1、若竞买不成功，保证金将全额退还。</text>
        <text>2、若竞买成功，保证金将于您交易完成后全额退还，请您在72小时内支付尾款，逾期未付款将扣除保证金。</text>
      </view>
    </view>
    <!-- 协议 -->
    <view class="protocol">
      <checkbox-group bindchange="checkboxChange">
        <label class="checkbox">
          <checkbox value="确认同意" checked='{{agree}}' />
        </label>
      </checkbox-group>
      <view class="protocol-text">
        <text>确认同意</text>
        <navigator hover-class="none" url="{{'./pages/auctionprotocol/auctionprotocol?auction_way=' + auction_way + '&time=' + time + '&deposit=' + deposit}}">《竞买协议》</navigator>
        <text>和</text>
        <navigator hover-class="none" url="{{'./pages/depositprotocol/depositprotocol?auction_way=' + auction_way + '&time=' + time + '&deposit=' + deposit}}">《竞买规则及注意事项》</navigator>
        <text>和</text>
        <navigator hover-class="none" url="{{'./pages/commitment/commitment?auction_way=' + auction_way + '&time=' + time + '&deposit=' + deposit}}">《承诺函》</navigator>
        <text>以及</text>
        <navigator hover-class="none" url="{{'./pages/networkprotocol/networkprotocol'}}">《山西云得格网络竞价交易规则》</navigator>
      </view>
    </view>
    <!-- 支付功能 -->

    <button class="pay" formType="submit">
      <text>同意并支付保证金</text>
    </button>
     
  </view>
</form>