<template>
  <div class="page_staffManagement">
    <van-sticky>
      <div class="staffManagementTitle">
        <i class="iconfont icon-zuojiantou jiantou"></i>
        <span class="titleName">员工管理</span>
        <div class="iconBox">
          <van-icon class="iconOne add" name="add-o" />
        </div>
      </div>
    </van-sticky>
    <div class="staffBox">
      <div class="staffOne" v-for="item in 20" :key="item">
        <img src="../../assets/images/one.jpg" alt="" />
        <p><span>名字</span><i class="iconfont icon-bianji bianji"></i></p>
      </div>
    </div>
  </div>
</template>

<style lang="scss" scoped>
.page_staffManagement {
  height: 100%;
  overflow-y: auto;
  background: #fafafa;
  .staffManagementTitle {
    background: #fff;
    padding: 0 1.125rem;
    height: 3.125rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .jiantou {
    font-size: 1.5rem;
    font-weight: 600;
  }
  .titleName {
    font-size: 1.125rem;
    font-weight: 600;
  }
  .iconOne {
    font-size: 1.5rem;
  }
  .staffBox {
    margin-top: 1rem;
    padding-left: 0.875rem;
    background: #fff;
    .staffOne {
      display: flex;
      align-items: center;
      height: 3.75rem;
      img {
        width: 2.5rem;
        height: 2.5rem;
        margin-right: 0.875rem;
      }
      p {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-right: 0.875rem;
        flex: 1;
        height: 100%;
        box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.1);
      }
      .bianji {
        font-size: 1.25rem;
        color: #cccccc;
      }
    }
  }
}
::-webkit-scrollbar {
  width: 0;
}
</style>
