index-card-simulate-f4.vue 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <template>
  2. <index-card simple title="高考志愿">
  3. <el-row :gutter="20">
  4. <el-col :span="14" class="pointer" @click.native="goSimulate">
  5. <el-image :src="require('@/assets/images/index/login/pref-simulate.png')" class="rd8 simulate-full" />
  6. </el-col>
  7. <el-col :span="5">
  8. <el-image :src="require('@/assets/images/index/login/pref-batch-line.png')"
  9. class="rd8 pointer" @click="goBatchLine" />
  10. <el-image :src="require('@/assets/images/index/login/pref-shift-line.png')"
  11. class="rd8 pointer mt20" @click="goShiftLine" />
  12. </el-col>
  13. <el-col :span="5">
  14. <el-image :src="require('@/assets/images/index/login/pref-score-segment.png')"
  15. class="rd8 pointer" @click="goScoreSegment" />
  16. <el-image :src="require('@/assets/images/index/login/pref-plan.png')"
  17. class="rd8 pointer mt20" @click="goPlan" />
  18. </el-col>
  19. </el-row>
  20. </index-card>
  21. </template>
  22. <script>
  23. import IndexCard from "@/views/index/components/index-card.vue";
  24. import IndexLoginInterceptorMixin from "@/views/index/blocks/index-login-interceptor-mixin";
  25. export default {
  26. name: "index-card-simulate-f4",
  27. mixins: [IndexLoginInterceptorMixin],
  28. components: {IndexCard},
  29. methods: {
  30. async goSimulate() {
  31. await this.loginCheck()
  32. this.$router.push('/zhiyuan/SimulatedVolunteer')
  33. },
  34. async goBatchLine() {
  35. await this.loginCheck()
  36. this.$router.push('/zhiyuan/batch')
  37. },
  38. async goShiftLine() {
  39. await this.loginCheck()
  40. this.$router.push('/zhiyuan/ShiftLine')
  41. },
  42. async goScoreSegment() {
  43. await this.loginCheck()
  44. this.$router.push('/zhiyuan/yfyd')
  45. },
  46. async goPlan() {
  47. await this.loginCheck()
  48. this.$router.push('/zhiyuan/enrollPlan')
  49. }
  50. }
  51. }
  52. </script>
  53. <style scoped>
  54. .simulate-full {
  55. width: 100%;
  56. height: 367px;
  57. }
  58. </style>