<template>
  <div class="page_my">
    <div class="myTop">
      <img src="../../assets/images/myBanner.png" alt />
      <div class="avatar">
        <img src="../../assets/images/one.jpg" alt />
      </div>
      <div class="userMain">
        <div class="userBox">
          <div class="userTxt">
            <p class="userName">小可耐</p>
            <p class="signature">一个无法用言语表达的好人</p>
          </div>
          <van-icon name="arrow" />
        </div>
      </div>
      <div class="invitebox">
        <img src="../../assets/images/invite.png" alt />
      </div>
      <div class="myInfo">
        <div class="myInfoLeft">
          <img src="../../assets/images/myIcon1.png" alt />
          <p>我的信息</p>
        </div>
        <van-icon class="arrow" name="arrow" />
      </div>
    </div>
    <div class="myBox">
      <div class="myBoxOne">
        <div class="myInfoLeft">
          <img src="../../assets/images/myIcon2.png" alt />
          <p>我的医院/组织/团队</p>
        </div>
        <van-icon class="arrow" name="arrow" />
      </div>
      <div class="myBoxTwo">
        <div class="myInfoLeft">
          <img src="../../assets/images/one.jpg" alt />
          <p>我的医院/组织/团队</p>
        </div>
        <div class="myInfoRight">
          <van-icon class="arrow" name="arrow" />
        </div>
      </div>
      <div class="myBoxTwo noBorder">
        <div class="myInfoLeft">
          <img src="../../assets/images/one.jpg" alt />
          <p>我的医院/组织/团队</p>
        </div>
        <div class="myInfoRight">
          <div class="myInfoRightBtn">管理</div>
          <van-icon class="arrow" name="arrow" />
        </div>
      </div>
    </div>
    <div class="myBox">
      <div class="myBoxOne">
        <div class="myInfoLeft">
          <img src="../../assets/images/myIcon3.png" alt />
          <p>创建医院/组织/团队</p>
        </div>
        <van-icon class="arrow" name="arrow" />
      </div>
      <div class="myBoxOne">
        <div class="myInfoLeft">
          <img src="../../assets/images/myIcon4.png" alt />
          <p>修改密码</p>
        </div>
        <van-icon class="arrow" name="arrow" />
      </div>
    </div>
    <div class="myBox">
      <div class="myBoxOne">
        <div class="myInfoLeft">
          <img src="../../assets/images/myIcon5.png" alt />
          <p>常见问题</p>
        </div>
        <van-icon class="arrow" name="arrow" />
      </div>
      <div class="myBoxOne">
        <div class="myInfoLeft">
          <img src="../../assets/images/myIcon6.png" alt />
          <p>意见反馈</p>
        </div>
        <van-icon class="arrow" name="arrow" />
      </div>
      <div class="myBoxOne">
        <div class="myInfoLeft">
          <img src="../../assets/images/myIcon7.png" alt />
          <p>关于我们</p>
        </div>
        <van-icon class="arrow" name="arrow" />
      </div>
    </div>
    <div class="myBox">
      <div class="myBoxOne">
        <div class="myInfoLeft">
          <img src="../../assets/images/myIcon8.png" alt />
          <p>退出登录</p>
        </div>
        <van-icon class="arrow" name="arrow" />
      </div>
    </div>
  </div>
</template>

<style lang="scss" scoped>
.page_my {
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  background: #fafafa;
  .myTop {
    position: relative;
    height: 16.875rem;
    img {
      width: 100%;
      height: 11.25rem;
    }
    .avatar {
      position: absolute;
      left: 1rem;
      top: 2.5rem;
      width: 4.375rem;
      height: 4.375rem;
      background: rgba(50, 50, 50, 1);
      border: 2px solid rgba(255, 255, 255, 1);
      border-radius: 50%;
      img {
        border-radius: 50%;
        width: 100%;
        height: 100%;
      }
    }
    .userMain {
      position: absolute;
      left: 6.25rem;
      top: 3.375rem;
      width: 70%;
      color: #fff;
    }
    .userBox {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .userName {
      font-size: 1.25rem;
      margin-bottom: 0.625rem;
    }
    .signature {
      font-size: 0.75rem;
    }
    .invitebox {
      width: 21.5625rem;
      height: 4.75rem;
      position: absolute;
      top: 8.75rem;
      left: 0.9375rem;
      box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.16);
      img {
        height: 100%;
        width: 100%;
      }
    }
    .myInfo {
      width: 100%;
      height: 3.125rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-top: 2.25rem;
      padding: 0 0.875rem;
      background: #fff;
      .myInfoLeft {
        display: flex;
        align-items: center;
        height: 100%;
        img {
          width: 1.125rem;
          height: 1.125rem;
          margin-right: 0.5rem;
        }
        p {
          margin-top: 0.125rem;
        }
      }
      .arrow {
        color: #9f9f9f;
      }
    }
  }
  .myBox {
    margin: 0.8125rem 0;
    background: #fff;
    > div:last-child {
      border: none;
    }
    .myBoxOne {
      width: 100%;
      height: 3.125rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 0.875rem;
      border-bottom: 1px solid #e5e5e5;
      .myInfoLeft {
        display: flex;
        align-items: center;
        height: 100%;
        img {
          width: 1.125rem;
          height: 1.125rem;
          margin-right: 0.5rem;
        }
        p {
          margin-top: 0.125rem;
        }
      }
      .arrow {
        color: #9f9f9f;
      }
    }
    .myBoxTwo {
      height: 3.125rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding-right: 0.875rem;
      background: #fff;
      margin-left: 2.5rem;
      border-bottom: 1px solid #e5e5e5;
      .myInfoLeft {
        display: flex;
        align-items: center;
        height: 100%;
        img {
          width: 1.875rem;
          height: 1.875rem;
          margin-right: 0.5rem;
        }
        p {
          margin-top: 0.125rem;
        }
      }
      .myInfoRight {
        display: flex;
        align-items: center;
        .myInfoRightBtn {
          width: 3.625rem;
          height: 1.875rem;
          background: rgba(255, 255, 255, 1);
          border: 1px solid rgba(51, 138, 251, 1);
          border-radius: 0.3125rem;
          text-align: center;
          line-height: 1.875rem;
          color: #338afb;
          font-size: 0.9375rem;
          margin-right: 0.625rem;
        }
      }
      .arrow {
        color: #9f9f9f;
      }
    }
  }
}
</style>
