<template>
  <div class="box">
    <div class="header">
      <img class="portrait" src="http://q1.qlogo.cn/g?b=qq&nk=1162963624&s=5" alt />
      <div class="introduce">
        <p class="name">啦啦啦</p>
        <div class="follow">
          <p>
            <span>0</span>
            关注我的
          </p>
          <p>
            <span>0</span>
            我关注的
          </p>
        </div>
      </div>
    </div>
    <div class="classification">
      <div class="page">
        <div class="select">动态</div>
        <div>回答</div>
        <div>文章</div>
        <div>提问</div>
        <div>收藏</div>
      </div>
      <div class="list">
          <follow></follow>
          <answer></answer>
      </div>
    </div>
  </div>
</template>
<style lang="scss" scoped>
.box {
  background-color: #f6f6f6;
  min-height: 100vh;
  .header {
    width: 100%;
    height: 2.27rem;
    background-color: #fff;
    box-sizing: border-box;
    padding: 0.51rem 0.3rem;
    display: flex;
    align-items: center;
    margin-bottom: 0.2rem;
    .portrait {
      width: 1.26rem;
      height: 1.26rem;
      border-radius: 50%;
      margin-right: 0.31rem;
    }
    .introduce {
      height: 0.9rem;
      display: flex;
      flex-direction: column;

      .name {
        margin: 0;
        font-size: 0.36rem;
        color: #333;
        font-weight: 400;
        margin-bottom: 0.29rem;
      }
      .follow {
        display: flex;
        color: #999;
        font-size: 0.28rem;

        > p {
          display: flex;
          margin-right: 0.69rem;
          > span {
            color: #333;
            display: block;
            min-width: 0.23rem;
          }
        }
      }
    }
  }
  .classification {
    width: 100%;
    background-color: #fff;
    // min-height: 3rem;
    box-sizing: border-box;
    padding: 0.3rem 0.3rem;
    .page {
      width: 100%;
      display: flex;
      height: 0.62rem;
      border-bottom: 0.01rem solid #dfdfdf;
      > div {
        width: 100%;
        font-size: 0.32rem;
        text-align: center;

      }
      .select{
          border-bottom: 0.04rem solid #6B9147;
      }
    }
    .list{
        width: 100%;
    }
  }
}
</style>
<script>
import follow from "./components/PersonafFollow"
import answer from "./components/PersonalAnswer"
export default {
  name: "Personal homepage",
  data() {
    return {};
  },
  components:{
      follow,
      answer
  }
};
</script>