index.vue 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. <template>
  2. <div class="wake-up-page">
  3. <head-component :headinfo=headinfo></head-component>
  4. <div class="page-content">
  5. <div class="page-img-box">
  6. <div class="img-box">
  7. <img src="@/assets/images/environment/card1.png" @click="jumpTo('/xjc-integratedmachine/environment/query_universitydb_conditions')">
  8. <img src="@/assets/images/environment/card2.png" @click="jumpTo('/xjc-integratedmachine/environment/prodb_search_undergraduate')">
  9. <img src="@/assets/images/environment/card3.png" @click="jumpTo('/xjc-integratedmachine/environment/occdb_search_industry')">
  10. <img src="@/assets/images/environment/card4.png" @click="jumpTo('/xjc-integratedmachine/environment/studyocc_information')">
  11. </div>
  12. <div class="bottom-img common-img-button">
  13. <img src="@/assets/images/environment/ai-img.png" @click="jumpTo('/xjc-integratedmachine/environment/ai_career_interview')">
  14. </div>
  15. </div>
  16. <drag_component></drag_component>
  17. </div>
  18. </div>
  19. </template>
  20. <script setup>
  21. import headComponent from '@/views/xjc-integratedmachine/components/head_component.vue'
  22. import Drag_component from "@/views/xjc-integratedmachine/components/drag_component.vue";
  23. const router = useRouter()
  24. const headinfo = ref({})
  25. function setHeadinfo(){
  26. headinfo.value = {
  27. title: '环境探索学习系统',
  28. user: {
  29. avatar: '头像路径',
  30. nickName: '张三'
  31. },
  32. backUrl : '/index',
  33. isHome:true,
  34. backUrlUse:true,
  35. }
  36. }
  37. function jumpTo(path) {
  38. router.push({
  39. path: path,
  40. query: {name: 123}
  41. })
  42. }
  43. onMounted(() => {
  44. setHeadinfo()
  45. })
  46. </script>
  47. <style scoped lang="scss">
  48. .wake-up-page{
  49. background: url('@/assets/images/login/login-home-background.png') no-repeat;
  50. background-size: 1920px 1080px;
  51. z-index:10;
  52. width: 100%;
  53. height: 1080px;
  54. .page-content{
  55. width: 100%;
  56. position: absolute;
  57. top: 123px;
  58. bottom: 0;
  59. p{
  60. padding-left: 44px;
  61. padding-right: 44px;
  62. font-weight: 400;
  63. font-size: 30px;
  64. color: #333333;
  65. line-height: 52px;
  66. letter-spacing: 3px;
  67. text-indent: 2em;
  68. }
  69. }
  70. .content-text-box{
  71. width: 100%;
  72. height: 126px;
  73. background: url('@/assets/images/wakeup/background-content-style.png') no-repeat;
  74. background-size: 1920px 126px;
  75. margin-top:23px;
  76. display: flex;
  77. align-items: center;
  78. }
  79. .page-img-box{
  80. width: 100%;
  81. display: flex;
  82. justify-content:space-around;
  83. flex-direction: column;
  84. align-items: center;
  85. margin-top: 40px;
  86. .img-box{
  87. width: 1520px;
  88. display: flex;
  89. justify-content: space-around;
  90. img{
  91. width: 350px;
  92. height: 500px;
  93. }
  94. }
  95. .bottom-img{
  96. width: 1520px;
  97. height: 316px;
  98. margin-top: 63px;
  99. img{
  100. width: 1520px;
  101. height: 316px;
  102. }
  103. }
  104. }
  105. .content-bottom{
  106. width: 100%;
  107. display: flex;
  108. justify-content: space-between;
  109. position: relative;
  110. .draw{
  111. width: 109px;
  112. height: 170px;
  113. margin-left: 100px;
  114. img{
  115. width: 109px;
  116. height: 170px;
  117. }
  118. }
  119. .ai-rabit{
  120. position: absolute;
  121. right: 100px;
  122. top: -50px;
  123. display: flex;
  124. align-items: center;
  125. .ai-rabit-text{
  126. width: 345px;
  127. height: 89px;
  128. background: #E8EEF7;
  129. font-weight: 300;
  130. margin-bottom: 20px;
  131. font-size: 22px;
  132. color: #000000;
  133. padding:16px;
  134. border-radius: 24px 24px 24px 24px;
  135. }
  136. img{
  137. width: 178px;
  138. height: 270px;
  139. }
  140. }
  141. }
  142. }
  143. .temp{
  144. width:20vw;
  145. height: 10vh;
  146. background: #85eff5;
  147. border: solid 1px #a2fffc;
  148. border-radius: 10px;
  149. cursor: pointer;
  150. }
  151. </style>