<template>
  <div class="page_chooseNewAdmin">
    <van-sticky>
      <div class="chooseNewAdminTitle">
        <i class="iconfont icon-zuojiantou jiantou"></i>
        <span class="titleName">选择新的管理员</span>
      </div>
    </van-sticky>

    <div class="adminBox">
      <van-radio-group v-model="radio">
        <div class="adminOne" v-for="(item, index) in 10" :key="index">
          <div class="adminOneLeft">
            <img src="../../assets/images/one.jpg" alt="" />
            <span>名字</span>
          </div>
          <van-radio :name="index" @click="radio = index"></van-radio>
        </div>
      </van-radio-group>
    </div>
    <div class="nextBox">
      <div class="nextBtn">下一步</div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      radio: ""
    };
  }
};
</script>

<style lang="scss" scoped>
.page_chooseNewAdmin {
  height: 100%;
  overflow: auto;
  background: #fafafa;
  .chooseNewAdminTitle {
    background: #fff;
    padding: 0 1.125rem;
    height: 3.125rem;
    display: flex;
    align-items: center;
  }
  .jiantou {
    font-size: 1.5rem;
    font-weight: 600;
    margin-right: 5.5rem;
  }
  .titleName {
    font-size: 1.125rem;
    font-weight: 600;
  }
  .adminBox {
    margin: 1rem 0 5rem;
    background: #fff;
    .adminOne {
      padding: 0 1.25rem;
      height: 3.75rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.1);
      .adminOneLeft {
        display: flex;
        align-items: center;
        img {
          width: 2.5rem;
          height: 2.5rem;
          margin-right: 0.875rem;
        }
      }
    }
  }
  .nextBox {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4.25rem;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0px -1px 0px 0px rgba(0, 0, 0, 0.1);
    .nextBtn {
      width: 80%;
      margin: 0 auto;
      height: 2.875rem;
      line-height: 2.875rem;
      background: rgba(51, 138, 251, 1);
      box-shadow: 0px 1px 12px 0px rgba(51, 138, 251, 1);
      border-radius: 23px;
      text-align: center;
      color: #fff;
    }
  }
}
::-webkit-scrollbar {
  width: 0;
}
</style>
