<template>
  <div class="subject-page" ref="page">
    <img class="subject-banner" src="@/assets/images/subject_banner.png" />
    <div class="content-box">
      <div class="top-select-box">
        <div
          class="top-select-item line"
          @click="toPage('/career/subject/subjectChoice')"
        >
          <img src="@/assets/images/ykmxzy.png" />
          <div>由科目选专业</div>
        </div>
        <div
          class="top-select-item line"
          @click="toPage('/career/subject/majorChoice')"
        >
          <img src="@/assets/images/yzyxkm.png" />
          <div>由专业选科目</div>
        </div>
        <div
          class="top-select-item"
          @click="toPage('/career/subject/myChoice')"
        >
          <img src="@/assets/images/wdxkfa.png" />
          <div>我的选科方案</div>
        </div>
      </div>
      <div class="image-list">
        <img src="@/assets/images/subject/img_shishengme.png" />
        <img src="@/assets/images/subject/img_how.png" />
        <img src="@/assets/images/subject/img_plan.png" />
        <img src="@/assets/images/subject/img_choise.png" />
      </div>
    </div>
  </div>
</template>

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

<style scoped>
.content-box {
  margin: 0 auto;
  margin-top: -40px;
  width: 1184px !important;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.subject-banner {
  width: 100%;
  height: 320px;
  object-fit: cover;
}
.top-select-box {
  width: 100%;
  display: flex;
  background-color: #fff;
  margin-bottom: 10px;
  box-shadow: 0px 2px 10px 0px rgb(0 0 0 / 10%);
  text-align: center;
  color: #5e5e5e;
  font-size: 16px;
}
.top-select-item {
  cursor: pointer;
  flex: 1;
  margin: 10px;
  padding: 20px 0;
}
.top-select-item.line {
  border-right: 1px solid #d5d5d5;
}
</style>