<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 style="padding: 20px 30px">个人中心 > 消息通知</div>
          <div class="project_box">
            <div class="notice_box">
              <div class="notice_message">
                <div class="notice_title" @click="goTo('/noticeDetail')">
                  关于长乐基地-新教育活动相关通知
                </div>
                <div class="notice_time">2021-09-08 10:01</div>
              </div>
              <div class="notice_message">
                <div class="notice_title" @click="goTo('/noticeDetail')">
                  关于'一校一案'劳动有关通知
                </div>
                <div class="notice_time">2021-09-08 10:01</div>
              </div>
              <div class="notice_message">
                <div class="notice_title" @click="goTo('/noticeDetail')">
                  实践出真知，最光荣
                </div>
                <div class="notice_time">2021-09-08 10:01</div>
              </div>
              <div class="notice_message">
                <div class="notice_title" @click="goTo('/noticeDetail')">
                  基于项目学习Shine相关通知
                </div>
                <div class="notice_time">2021-09-08 10:01</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,
.project > 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 20px 0px;
}
.student_body {
  width: 80%;
  margin: 0 auto;
  background: #fff;
  margin-top: 20px;
  min-height: 1000px;
}
.project {
  width: 165px;
}
.project_box {
  margin: 0 0 10px 30px;
}
.notice_message {
  padding: 30px 0;
  border-bottom: 1px solid #ccc;
}
.notice_time {
  font-size: 14px;
  margin-top: 15px;
}
.notice_title {
  cursor: pointer;
}
</style>
