<template>
  <div>
    <header>
      <p><span class="blank">学校</span>{{ detailMsg.jkda_xs	
 }}</p>
      <p><span class="blank">年级编号</span> {{ detailMsg.jkda_njbh }}</p>
      <p><span class="blank">班级编号</span> {{ detailMsg.jkda_bjbh }}</p>
      <p><span class="blank">班级名称</span> {{ detailMsg.jkda_bjmc }}</p>
      <p><span class="blank">学籍号</span> {{ detailMsg.jkda_xjh }}</p>
      <p><span class="blank">民族</span> {{ detailMsg.jkda_mz }}</p>
      <p><span class="blank">姓名</span> {{ detailMsg.jkda_xm }}</p>
      <p><span class="blank">性别</span> {{ detailMsg.jkda_xb }}</p>
      <p><span class="blank">出生日期</span>{{ detailMsg.jkda_csrq }}</p>
      <p><span class="blank">身高</span> {{ detailMsg.jkda_sg }}</p>
      <p><span class="blank">体重</span> {{ detailMsg.jkda_tz }}</p>
      <p><span class="blank">体重评分</span> {{ detailMsg.jkda_tz_pf }}</p>
      <p><span class="blank">体重等级</span> {{ detailMsg.jkda_tz_dj }}</p>
      <p><span class="blank">肺活量</span> {{ detailMsg.jkda_fhl }}</p>
      <p><span class="blank">肺活量评分</span> {{ detailMsg.jkda_fhl_pf }}</p>
      <p><span class="blank">肺活量等级</span> {{ detailMsg.jkda_fhl_dj }}</p>
      <p><span class="blank">50米跑</span>{{ detailMsg.jkda_50m }}</p>
      <p><span class="blank">50米跑评分</span> {{ detailMsg.jkda_50m_pf }}</p>
      <p><span class="blank">50米跑等级</span> {{ detailMsg.jkda_50m_dj }}</p>
      <p><span class="blank">坐位体前屈</span> {{ detailMsg.jkda_zltqq }}</p>
      <p><span class="blank">坐位体前屈评分</span> {{ detailMsg.jkda_zltqq_pf }}</p>
      <p><span class="blank">坐位体前屈等级</span> {{ detailMsg.jkda_zltqq_dj }}</p>
      <p><span class="blank">一分钟仰卧起坐</span> {{ detailMsg.jkda_1minywqz }}</p>
      <p><span class="blank">一分钟仰卧起坐评分</span> {{ detailMsg.jkda_1minywqz_pf }}</p>
      <p><span class="blank">一分钟仰卧起坐等级</span> {{ detailMsg.jkda_1minywqz_dj }}</p>
      <p><span class="blank">一分钟跳绳</span> {{ detailMsg.jkda_1mints }}</p>
      <p><span class="blank">一分钟跳绳评分</span> {{ detailMsg.jkda_1mints_pf }}</p>
      <p><span class="blank">一分钟跳绳等级</span> {{ detailMsg.jkda_1mints_dj }}</p>
      <p><span class="blank">50米×8往返跑</span> {{ detailMsg.jkda_50mx8 }}</p>
      <p><span class="blank">50米×8往返跑评分</span> {{ detailMsg.jkda_50mx8_pf }}</p>
      <p><span class="blank">50米×8往返跑等级</span> {{ detailMsg.jkda_50mx8_dj }}</p>
      <p><span class="blank">标准分</span> {{ detailMsg.jkda_bzf }}</p>
      <p><span class="blank">附加分</span> {{ detailMsg.jkda_fjf }}</p>
      <p><span class="blank">总分</span> {{ detailMsg.jkda_zf }}</p>
      <p><span class="blank">总分等级</span> {{ detailMsg.jkda_zfdj }}</p>
    </header>
  </div>
</template>
<script>
import { jkda_detail } from "./api"
export default {
  data() {
    return {
      detailMsg: {},
    };
  },
  methods: {
    getDetailData() {
      let data = {
        jkda_id: this.jkda_id
      }
      jkda_detail(data).then((res) => {
        this.loading = false;
        this.detailMsg = res.data.one_info;
      });
    },
  },
  mounted() {
    if (this.$route.params.id != "") {
      this.jkda_id = this.$route.params.id;
      this.getDetailData();
    }

  }
};
</script>
<style lang="scss" scoped>
.flex {
  display: flex;
}
header {
  padding: 15px 20px;
  font-family: PingFangSC-Regular;
  box-sizing: border-box;
  color: #969696;
  font-size: 14px;
  .title {
    justify-content: space-between;
    h3 {
      color: #000;
      font-size: 16px;
    }
  }
}
.blank {
  display: inline-block;
  color: #000;
  width: 140px;
  padding-bottom: 10px;
}
.imgs {
  img {
    width: 160px;
    height: 90px;
    background: rgba(0, 0, 0, 0);
    margin-right: 23px;
  }
}
</style>