<template>
  <HeaderNav headerText="我的关注"></HeaderNav>
  <div class="user-area">
    <div class="user-info" v-for="(item, index) in 3" :key="index">
      <div class="info-left">
        <img src="@/assets/img/index/user/default-head.png" alt="" />
        <div class="info-name">
          <div class="name-area pf500 fs18 fc2C3131">
            用户昵称
            <div class="vip pf500 fs10 fcDF384C">V2</div>
          </div>
          <div class="time pf500 fs12 fc999999">入驻时间: 2025-11-07</div>
        </div>
      </div>
      <div class="info-right pf500 fs12 fcFFFFFF">关注</div>
    </div>
  </div>
</template>
<script setup>
  import HeaderNav from "../../../index/components/HeaderNav.vue";
</script>
<style lang="less" scoped>
  .user-area {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin-top: 48px;
  }

  .user-info {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    width: 345px;
    height: 56px;

    &:first-child {
      margin-top: 0px;
    }

    .info-left {
      display: flex;
      flex-direction: row;
      justify-content: flex-start;
      align-items: center;

      img {
        width: 56px;
        height: 56px;
      }

      .info-name {
        margin-left: 16px;

        .name-area {
          display: flex;
          flex-direction: row;
          justify-content: flex-start;
          align-items: center;
        }

        .vip {
          margin-left: 5px;
          width: 18px;
          height: 15px;
          line-height: 15px;
          text-align: center;
          border-radius: 3px;
          background: #df384c1a;
        }

        .time {
          margin-top: 3px;
        }
      }
    }

    .info-right {
      width: 60px;
      height: 24px;
      line-height: 24px;
      text-align: center;
      border-radius: 5px;
      background: #df384c;
    }
  }
</style>
