<template>
  <div class="page_newAdmin">
    <div class="newAdminTitle">
      <i class="iconfont icon-zuojiantou jiantou"></i>
      <span class="titleName">新管理员</span>
    </div>
    <div class="adminBox">
      <van-field v-model="text" label="姓名" required readonly="" />
      <van-field
        v-model="text"
        label="手机号"
        required
        clearable
        placeholder="请输入手机号"
      />
      <van-field
        v-model="sms"
        center
        clearable
        required
        label="验证码"
        placeholder="请输入验证码"
      >
        <van-button slot="button" size="small" type="info"
          >获取验证码</van-button
        >
      </van-field>
    </div>
    <div class="next">保存</div>
  </div>
</template>

<style lang="scss" scoped>
.page_newAdmin {
  height: 100%;
  overflow-y: auto;
  background: #fafafa;
  .newAdminTitle {
    background: #fff;
    padding: 0 1.125rem;
    height: 3.125rem;
    display: flex;
    align-items: center;
  }
  .jiantou {
    font-size: 1.5rem;
    font-weight: 600;
    margin-right: 7rem;
  }
  .titleName {
    font-size: 1.125rem;
    font-weight: 600;
  }
  .adminTransferTip {
    height: 2rem;
    line-height: 2rem;
    text-align: center;
    color: #338afb;
    font-size: 0.75rem;
  }
  .adminBox {
    margin-top: 1rem;
    .adminOne {
      padding: 0 0.875rem;
      height: 2.8125rem;
      line-height: 2.8125rem;
      font-weight: bold;
      background: rgba(255, 255, 255, 1);
      box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.1);
    }
    .van-button--info {
      border-radius: 1.875rem;
    }
  }
  .next {
    width: 80%;
    margin: 0 auto;
    height: 2.875rem;
    background: #338afb;
    color: #fff;
    line-height: 2.875rem;
    text-align: center;
    margin-top: 2.875rem;
    border-radius: 1.875rem;
  }
}
</style>
