<template>
  <section class="person-ranking-wrap">
    <ranking-header></ranking-header>
    <div class="info-container" :style="{ marginTop: `${44+barHeight}Px`}">
      <div class="info">
        <img src="https://file.yunqueyi.com/jpg/2019/01/30/1548836156602-019ADC3F.jpg" alt="">
        <div class="content">
          <p class="item">
            <span class="label">累计排名</span>
            <span class="value">105</span>
          </p>
          <p class="line"></p>
          <p class="item">
            <span class="label">累计勤奋分 </span>
            <span class="value">105</span>
          </p>
        </div>
      </div>
    </div>
    <div class="main-content">
      <div class="description">排行实时刷新，部分原因存在几分钟延迟</div>
      <div class="ranking-title">
        <span>TOP100</span>
        <span class="marginL">用户名称</span>
        <span class="marginAuto">今日勤奋分</span>
      </div>
      <div class="ranking-list">
        <div class="item">
          <img src="~/assets/img/person-ranking/icon-gold.png" alt="" class="ranking-icon">
          <img src="https://file.yunqueyi.com/jpg/2019/01/30/1548836156602-019ADC3F.jpg" alt="" class="doctor-photo">
          <p class="doctor-name">张医生</p>
          <p class="num">1053</p>
        </div>
        <div class="item">
          <img src="~/assets/img/person-ranking/icon-silver.png" alt="" class="ranking-icon">
          <img src="https://file.yunqueyi.com/jpg/2019/01/30/1548836156602-019ADC3F.jpg" alt="" class="doctor-photo">
          <p class="doctor-name">这里是一个十三字的医生姓名</p>
          <p class="num">1053</p>
        </div>
        <div class="item">
          <img src="~/assets/img/person-ranking/icon-copper.png" alt="" class="ranking-icon">
          <img src="https://file.yunqueyi.com/jpg/2019/01/30/1548836156602-019ADC3F.jpg" alt="" class="doctor-photo">
          <p class="doctor-name">张医生</p>
          <p class="num">1053</p>
        </div>
        <div class="item">
          <p class="icon-num">4</p>
          <img src="https://file.yunqueyi.com/jpg/2019/01/30/1548836156602-019ADC3F.jpg" alt="" class="doctor-photo">
          <p class="doctor-name">张医生</p>
          <p class="num">1053</p>
        </div>
      </div>
      <div class="footer-btn">
        <div class="btn">获得更多勤奋分</div>
      </div>
    </div>
  </section>
</template>

<script>
  import RankingHeader from '@/components/ranking-header'
  export default {
    name: 'person-ranking',
    components: {
      RankingHeader
    },
    data() {
      return {
        showPop: false,
        title: '个人明细',
        barHeight: 0,
        barColor: '#fff',
      };
    },
    computed: {

    },
    mounted() {

    },
    methods: {},
  };
</script>

<style lang="less" scoped>
  @import 'index.less';
</style>
