<template>
  <div class="pb_content">
    <div class="pb_content_body">
      <div class="body_student">
        <div class="student_head">
          <div class="box_course">
            <div class="wheel"><img src="../assets/tx.png" alt="" /></div>
            <div class="right_box">
              <div class="right_box_title">张子林</div>
              <div class="people">
                <div>
                  <span>班级：</span><span style="color: #999">六年3班</span>
                </div>
                <div style="margin-left: 50px">
                  <span>所属学校：</span
                  ><span style="color: #999">罗浮名剑中学</span>
                </div>
              </div>
              <div>
                <span>手机号码：</span
                ><span style="color: #999">13751117529</span>
              </div>
            </div>
          </div>
        </div>
        <div class="student_body">
          <div class="box_three_pic">
            <div class="pic_box" @click="goTo('/project')">
              <div class="mine_pic">
                <img src="../assets/book.png" alt="" />
              </div>
              <div>我的课程</div>
            </div>
            <div class="pic_box" @click="goTo('/works')">
              <div class="mine_pic">
                <img src="../assets/zp.png" alt="" />
              </div>
              <div>我的作品</div>
            </div>
            <div class="pic_box">
              <div class="mine_pic">
                <img src="../assets/study.png" alt="" />
              </div>
              <div>学习数据</div>
            </div>
            <div class="pic_box" @click="goTo('/notice')">
              <div class="mine_pic">
                <img src="../assets/notice.png" alt="" />
              </div>
              <div>消息通知</div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
  methods: {
    goTo(path) {
      this.$router.push(path);
    },
  },
  created() {},
};
</script>

<style scoped>
.body_student {
  margin: 0px auto;
  width: 80%;
  height: 100%;
}
.student_head {
  width: 80%;
  margin: 0 auto;
  background: #fff;
  height: 30%;
}
.wheel > img， .mine_pic > img {
  width: 100%;
  height: 100%;
}
.box_course {
  display: flex;
  padding: 35px 0 25px 60px;
  align-items: center;
}
.wheel {
  width: 210px;
}
.right_box {
  display: flex;
  flex-direction: column;
  margin-left: 30px;
  /* justify-content: space-around; */
}
.right_box_title {
  font-size: 23px;
}
.people {
  display: flex;
  margin: 30px 0 15px 0px;
}
.student_body {
  width: 80%;
  margin: 0 auto;
  background: #fff;
  margin-top: 20px;
  min-height: 1000px;
}
.mine_pic {
  width: 120px;
  height: 116px;
  margin: 0 auto;
}
.box_three_pic {
  margin: 0 auto;
  width: 80%;
  padding: 50px 0 20px 0;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.pic_box {
  text-align: center;
  width: 33%;
  cursor: pointer;
  margin-bottom: 100px;
}
.pic_box > div:nth-child(2) {
  margin-top: 12px;
}
</style>
