<template>
  <div class="page_addStaffOne">
    <div class="addStaffTitle">
      <i class="iconfont icon-zuojiantou jiantou"></i>
      <span class="titleName">新增员工</span>
      <p>保存</p>
    </div>
    <div class="editStaffTip">必填</div>
    <div class="staffBox">
      <van-field v-model="text" label="姓名" clearable placeholder="请填写姓名" />
      <van-field v-model="tel" type="tel" label="手机号" placeholder="请填写手机号" clearable />
    </div>
    <div class="editStaffTip">选填</div>
    <div class="staffBox">
      <van-field v-model="text" label="职位" placeholder="请填写" />
    </div>
    <div class="addnewStaff">
      <van-icon class="addIcon" name="add" />
      <p>继续新增员工</p>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      result: [],
      value1: ""
    };
  }
};
</script>

<style lang="scss" scoped>
.page_addStaffOne {
  height: 100%;
  overflow: hidden;
  background: #fafafa;
  .addStaffTitle {
    height: 3.125rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 1.125rem;
    background: #fff;
  }
  .jiantou {
    font-size: 1.5rem;
    font-weight: 600;
    margin-right: 1.25rem;
  }
  .titleName {
    font-size: 1.125rem;
    font-weight: 600;
  }
  .editStaffTip {
    height: 1.875rem;
    line-height: 1.875rem;
    font-size: 0.75rem;
    padding-left: 0.875rem;
    color: #989898;
  }
  .staffBox {
    .van-cell {
      font-size: 1rem;
    }
    .newCell {
      padding-right: 0;
    }
  }
  .van-cell__title {
    display: flex;
  }
  .van-checkbox-group {
    display: flex;
    flex-wrap: wrap;
  }
  .van-checkbox {
    margin-bottom: 0.625rem;
  }
  .addnewStaff {
    height: 2.8125rem;
    line-height: 2.8125rem;
    background: #fff;
    width: 100%;
    margin-top: 0.875rem;
    display: flex;
    align-items: center;
    padding-left: 1rem;
    .addIcon {
      color: #338afb;
      font-size: 1.5rem;
      margin-right: 0.625rem;
    }
  }
}
</style>
<style lang="scss">
.page_addStaffOne {
  .van-cell__value {
    display: flex;
    align-items: center;
  }
}
</style>
