index.vue 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. <template>
  2. <div class="wake-up-page">
  3. <head-component :headinfo=headinfo></head-component>
  4. <div class="page-content">
  5. <div class="content-text-box">
  6. <p>
  7. 生涯是个人有目的、连续不断的生活模式,由我们选择扮演的各种生活角色、所从事的活动组成。生涯不仅仅是职业,对我们每个人而言,最大的幸福不只是在职业上的成功,更在于一生中是否能拥有一个多彩、平衡、充盈的生涯。
  8. </p>
  9. </div>
  10. <div class="page-img-box">
  11. <div class="img-box">
  12. <img src="@/assets/images/wakeup/card1.png" @click="jumpTo('/xjc-integratedmachine/wakeup/career_recognize/index')">
  13. </div>
  14. <div class="img-box">
  15. <img src="@/assets/images/wakeup/card2.png" @click="jumpTo('/xjc-integratedmachine/wakeup/career_maturity/index')">
  16. </div>
  17. <div class="img-box">
  18. <img src="@/assets/images/wakeup/card3.png" @click="jumpTo('/xjc-integratedmachine/wakeup/rainbow/knowledge_explanation_1')">
  19. </div>
  20. <div class="img-box">
  21. <img src="@/assets/images/wakeup/card4.png" @click="jumpTo('/xjc-integratedmachine/wakeup/career_example/index')">
  22. </div>
  23. <div class="img-box">
  24. <img src="@/assets/images/wakeup/card5.png" @click="jumpTo('/xjc-integratedmachine/wakeup/career_cinema/index')">
  25. </div>
  26. </div>
  27. <drag_component></drag_component>
  28. <!-- <ai_rabit_component></ai_rabit_component>-->
  29. </div>
  30. </div>
  31. </template>
  32. <script setup>
  33. import headComponent from '@/views/xjc-integratedmachine/components/head_component.vue'
  34. import drag_component from "@/views/xjc-integratedmachine/components/drag_component.vue";
  35. // import ai_rabit_component from "@/views/xjc-integratedmachine/components/ai_rabit_component.vue";
  36. const router = useRouter()
  37. const headinfo = ref({})
  38. import { ref, onMounted, onUnmounted } from 'vue';
  39. function setHeadinfo(){
  40. headinfo.value = {
  41. title: '生涯唤醒学习系统',
  42. user: {
  43. avatar: '头像路径',
  44. nickName: '张三'
  45. },
  46. backUrl : '/index',
  47. backUrlUse:true,
  48. }
  49. }
  50. function jumpTo(path) {
  51. router.push({
  52. path: path,
  53. query: {name: 123}
  54. })
  55. }
  56. onMounted(() => {
  57. setHeadinfo()
  58. })
  59. </script>
  60. <style scoped lang="scss">
  61. .wake-up-page{
  62. background: url('@/assets/images/login/login-home-background.png') no-repeat;
  63. background-size: 1920px 1080px;
  64. z-index:10;
  65. width: 100%;
  66. height: 1080px;
  67. .page-content{
  68. width: 100%;
  69. position: absolute;
  70. top: 123px;
  71. bottom: 0;
  72. p{
  73. padding-left: 44px;
  74. padding-right: 44px;
  75. font-weight: 400;
  76. font-size: 30px;
  77. color: #333333;
  78. line-height: 52px;
  79. letter-spacing: 3px;
  80. text-indent: 2em;
  81. }
  82. }
  83. .content-text-box{
  84. width: 100%;
  85. //height: 126px;
  86. background: url('@/assets/images/wakeup/background-content-style.png') no-repeat;
  87. background-size: 1920px 182px;
  88. margin-top:23px;
  89. display: flex;
  90. align-items: center;
  91. }
  92. .page-img-box{
  93. width: 100%;
  94. display: flex;
  95. justify-content:space-around;
  96. align-items: center;
  97. margin-top: 49px;
  98. .img-box{
  99. width: 366px;
  100. height: 501px;
  101. img{
  102. width: 350px;
  103. height: 501px;
  104. }
  105. }
  106. }
  107. .content-bottom{
  108. width: 100%;
  109. //height: 37px;
  110. display: flex;
  111. justify-content: space-between;
  112. position: relative;
  113. .draw{
  114. width: 109px;
  115. height: 170px;
  116. margin-left: -76px;
  117. img{
  118. width: 109px;
  119. height: 170px;
  120. }
  121. }
  122. .ai-rabit{
  123. //width: 178px;
  124. //height: 274px;
  125. position: absolute;
  126. right: 45px;
  127. top: -50px;
  128. display: flex;
  129. //justify-content: space-between;
  130. align-items: center;
  131. .ai-rabit-text{
  132. width: 345px;
  133. height: 89px;
  134. //border: 1px solid;
  135. background: #E8EEF7;
  136. font-weight: 300;
  137. margin-bottom: 20px;
  138. font-size: 22px;
  139. color: #000000;
  140. padding:16px;
  141. border-radius: 24px 24px 24px 24px;
  142. }
  143. img{
  144. width: 178px;
  145. height: 270px;
  146. }
  147. }
  148. }
  149. }
  150. .temp{
  151. width:20vw;
  152. height: 10vh;
  153. background: #85eff5;
  154. border: solid 1px #a2fffc;
  155. border-radius: 10px;
  156. cursor: pointer;
  157. }
  158. </style>