<template>
  <div class="confirm-mian">
    <div class="con-info none">
      <div class="head">全国统一高考试卷A</div>
      <div class="info-form">
        <div class="tit">基本信息确认</div>
        <ul>
          <li>
            <div class="name">姓名</div>
            <input type="text">
          </li>
          <li>
            <div class="name">学号</div>
            <input type="text">
          </li>
          <li>
            <div class="name">性别</div>
            <div class="select-btn">
              <div>男</div>
              <div>女</div>
            </div>
          </li>
        </ul>
        <div class="confirm-btn">确定</div>
      </div>
    </div>
    <div class="explain-box">
      <div class="head">全国统一高考试卷A</div>
      <div class="exp-text">
        <p>为保证本考试的公平性和严肃性，本次考试将会：</p>
      </div>
      <div class="exp-btn">
        <div class="tips">点击“我同意”按钮接受以上内容。如果您不同意这些条款，将无法进行考试</div>
        <div class="btn-box">
          <div>我同意</div>
          <div>不同意</div>
        </div>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  mounted() {
    console.log(document.body.clientHeight)
  }
}
</script>
<style lang="scss" scoped>
.confirm-mian{
  width: 100%;
  height: 100%;
}
.con-info{
  width: 100%;
  height: 100%;
  background: url(../../assets/images/con-info-bg.png);
  background-size: cover;
  .head{
    // width: 100%;
    height: 80px;
    background: #FFFFFF;
    font-size: 24px;
    font-weight: bold;
    color: #222222;
    line-height: 80px;
    padding-left: 30px;
  }
  .info-form{
    // margin: 0 auto;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    margin-top: 40px;
    width: 400px;
    height: 458px;
    background: #FFFFFF;
    border-radius: 8px;
    .tit{
      text-align: center;
      margin-top: 30px;
      font-size: 18px;
      font-weight: bold;
      color: #222222;
      line-height: 25px;
    }
    ul{
      width: 320px;
      margin: 0 auto 0 auto;
      padding: 0;
      list-style: none;
      li{
        margin-bottom: 20px;
        .name{
          font-size: 14px;
          color: #222222;
          line-height: 20px;
          margin-bottom: 10px;
        }
        input{
          width: 310px;
          height: 45px;
          border-radius: 2px;
          border: 1px solid #F1F1F1;
          font-size: 14px;
          color: #222222;
          padding: 0 0 0 10px;
          outline: none;
        }
        .select-btn{
          width: 100%;
          display: flex;
          div{
            width: 150px;
            height: 40px;
            border-radius: 4px;
            border: 1px solid #CCCCCC;
            font-size: 14px;
            font-weight: bold;
            color: #999999;
            line-height: 14px;
            text-align: center;
            line-height: 40px;
            &:nth-child(2){
              margin-left: auto;
            }
          }
        }
      }
    }
    .confirm-btn{
      width: 320px;
      height: 40px;
      background: #C01540;
      border-radius: 4px;
      font-size: 14px;
      font-weight: bold;
      color: #FFFFFF;
      line-height: 14px;
      margin: 0 auto;
      text-align: center;
      line-height: 40px;
      margin-top: 30px;
    }
  }
}
.explain-box{
  width: 100%;
  min-height: 100%;
  background: #F9F9F9;
  .head{
    height: 80px;
    background: #FFFFFF;
    font-size: 24px;
    font-weight: bold;
    color: #222222;
    line-height: 80px;
    padding-left: 30px;
  }
  .exp-text{
    width: 900px;
    background: #FFFFFF;
    border-radius: 8px;
    padding: 40px 40px 80px;
    margin: 40px auto 0;
    margin-top: 40px;
    p{
      font-size: 18px;
      font-weight: bold;
      color: #222222;
      line-height: 25px;
    }
  }
  .exp-btn{
    position: absolute;
    bottom: 40px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    .tips{
      font-size: 14px;
      color: #222222;
      line-height: 20px;
    }
    .btn-box{
      width: 240px;
      display: flex;
      margin: 20px auto 0;
      div{
        width: 100px;
        height: 40px;
        background: #C01540;
        border-radius: 4px;
        font-size: 14px;
        font-weight: bold;
        color: #FFFFFF;
        line-height: 40px;
        text-align: center;
        &:nth-child(2){
          border-radius: 4px;
          border: 1px solid #CCCCCC;
          background: none;
          color: #999;
          margin-left: auto;
        }
      }
    }
  }
}
.none{
  display: none;
}
</style>
