index.vue 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261
  1. <template lang="html">
  2. <div id="index">
  3. <el-row style="margin:0 0 40px 0;">
  4. <el-col class="top">
  5. <el-col class="topLeft">
  6. <el-col class="topLeftTit">求职中心</el-col>
  7. <el-col class="topLeftTxt">
  8. <ul>
  9. <li>
  10. <span class="number number_s">3</span>
  11. <p>我的投递</p>
  12. </li>
  13. <li>
  14. <span class="number number_s">0</span>
  15. <p>我的面试</p>
  16. </li>
  17. <li>
  18. <span class="number number_s">0</span>
  19. <p>我的关注</p>
  20. </li>
  21. <li>
  22. <span class="number number_s">0</span>
  23. <p>我的培训</p>
  24. </li>
  25. <li>
  26. <span class="number number_s">0</span>
  27. <p>我的问卷</p>
  28. </li>
  29. </ul>
  30. </el-col>
  31. </el-col>
  32. <el-col class="topRight">
  33. <el-col class="topLeftTit">工作机会</el-col>
  34. <el-col class="topLeftTxt">
  35. <ul>
  36. <li>
  37. <span class="number number_s">_ _</span>
  38. <p>职位职能推荐</p>
  39. </li>
  40. <li>
  41. <span class="number number_s">0</span>
  42. <p>企业邀约</p>
  43. </li>
  44. </ul>
  45. </el-col>
  46. </el-col>
  47. </el-col>
  48. <el-col class="main">
  49. <el-col class="line">求职招聘</el-col>
  50. <el-col class="newest">
  51. <el-tabs type="border-card">
  52. <el-tab-pane label="最新消息">
  53. <ul class="newestMess">
  54. <li v-for="(tag, index) in tags" :key="index" :type="tag.type">
  55. <el-link>{{ tag.name }}</el-link>
  56. </li>
  57. </ul>
  58. </el-tab-pane>
  59. <el-tab-pane label="最近浏览">
  60. <ul class="newestMess">
  61. <li v-for="(tag, index) in tagsBro" :key="index" :type="tag.type">
  62. <el-link>{{ tag.name }}</el-link>
  63. </li>
  64. </ul>
  65. </el-tab-pane>
  66. </el-tabs>
  67. </el-col>
  68. </el-col>
  69. <el-col class="mainTable">
  70. <el-col class="table comMajor">
  71. <el-table :data="tableDataMaj" style="width: 100%">
  72. <el-table-column prop="date" label="同专业关注排行榜(本月)" width="214"> </el-table-column>
  73. <el-table-column prop="name" label="" width="100"> </el-table-column>
  74. </el-table>
  75. </el-col>
  76. <el-col class="table colCol">
  77. <el-table :data="tableDataCol" style="width: 100%">
  78. <el-table-column prop="date" label="同学院关注排行榜(本月)" width="214"> </el-table-column>
  79. <el-table-column prop="name" label="" width="100"> </el-table-column>
  80. </el-table>
  81. </el-col>
  82. <el-col class="table colSch">
  83. <el-table :data="tableDataSch" style="width: 100%">
  84. <el-table-column prop="date" label="同学校关注排行榜" width="190"> </el-table-column>
  85. <el-table-column prop="name" label="" width="100"> </el-table-column>
  86. </el-table>
  87. </el-col>
  88. <el-col class="table sign">
  89. <el-table :data="tableDataSign" style="width: 100%">
  90. <el-table-column prop="date" label="本专业毕业生签约单位(前十)" width="540"> </el-table-column>
  91. <el-table-column prop="name" label="人数" width="100"> </el-table-column>
  92. </el-table>
  93. </el-col>
  94. <el-col class="table where">
  95. <el-table :data="tableDataWhe" style="width: 100%">
  96. <el-table-column prop="date" label="本专业毕业生去向" width="190"> </el-table-column>
  97. <el-table-column prop="name" label="人数" width="100"> </el-table-column>
  98. </el-table>
  99. </el-col>
  100. </el-col>
  101. </el-row>
  102. </div>
  103. </template>
  104. <script>
  105. import formItem from '@/components/form-item.vue';
  106. export default {
  107. name: 'index',
  108. props: {},
  109. components: {},
  110. data: () => ({
  111. tags: [
  112. { name: '长春大学2020届毕业生专业设置及毕业生人数统计表' },
  113. { name: '长春大学2020届毕业生专业设置及毕业生人数统计表' },
  114. { name: '长春大学2020届毕业生专业设置及毕业生人数统计表' },
  115. { name: '长春大学2020届毕业生专业设置及毕业生人数统计表' },
  116. { name: '长春大学2020届毕业生专业设置及毕业生人数统计表' },
  117. ],
  118. tagsBro: [{ name: '宣讲会:辽宁鸿文教育科技有限公司' }, { name: '宣讲会:皇明太阳能股份有限公司' }, { name: '职位:部门助理' }],
  119. tableDataMaj: [],
  120. tableDataCol: [],
  121. tableDataSch: [],
  122. tableDataSign: [],
  123. tableDataWhe: [],
  124. }),
  125. created() {},
  126. computed: {},
  127. methods: {},
  128. };
  129. </script>
  130. <style lang="less" scoped>
  131. ul {
  132. margin: 0;
  133. padding: 0;
  134. }
  135. li {
  136. list-style: none;
  137. margin: 0;
  138. padding: 0;
  139. }
  140. p {
  141. margin: 0;
  142. padding: 0;
  143. }
  144. .top {
  145. width: 100%;
  146. height: 115px;
  147. margin-top: 20px;
  148. }
  149. .topLeft {
  150. width: 70%;
  151. height: 100px;
  152. text-align: center;
  153. display: inline-block;
  154. background-color: #60d295;
  155. border: 1px solid #60d295;
  156. color: #fff;
  157. margin-bottom: 15px;
  158. margin-right: 18px;
  159. }
  160. .topLeftTit {
  161. height: 32px;
  162. line-height: 32px;
  163. color: #fff;
  164. font-size: 20px;
  165. }
  166. .topLeftTxt {
  167. height: 56px;
  168. }
  169. .topLeftTxt ul li {
  170. float: left;
  171. width: 129px;
  172. height: 56px;
  173. text-align: center;
  174. border-left: 1px solid rgba(255, 255, 255, 0.3);
  175. }
  176. .topLeftTxt ul li .number {
  177. font-size: 28px;
  178. color: #fff;
  179. }
  180. .topLeftTxt ul li p {
  181. font-size: 14px;
  182. color: #fff;
  183. }
  184. .topRight {
  185. width: 28%;
  186. height: 100px;
  187. text-align: center;
  188. display: inline-block;
  189. background-color: #7cbae5;
  190. border: 1px solid #6eb0dd;
  191. color: #fff;
  192. }
  193. .main {
  194. width: 100%;
  195. min-height: 300px;
  196. }
  197. .line {
  198. text-align: center;
  199. font-size: 18px;
  200. position: relative;
  201. margin: 15px 0px;
  202. }
  203. .line:before,
  204. .line:after {
  205. content: '';
  206. width: 40%;
  207. height: 1px;
  208. background: #bbb;
  209. display: inline-block;
  210. position: absolute;
  211. left: 0%;
  212. top: 15px;
  213. }
  214. .line:after {
  215. left: 60%;
  216. }
  217. .newest {
  218. width: 100%;
  219. }
  220. .newestMess li {
  221. height: 23px;
  222. padding: 8px;
  223. border-bottom: 1px dashed #ccc;
  224. }
  225. .newestMess li:hover {
  226. background: #f6f6f6;
  227. }
  228. /deep/.el-tabs--border-card > .el-tabs__content {
  229. min-height: 230px;
  230. }
  231. .mainTable {
  232. width: 100%;
  233. height: 200px;
  234. margin: 20px 0;
  235. }
  236. .table {
  237. margin-bottom: 19px;
  238. min-height: 110px;
  239. border: 1px solid #e7e6eb;
  240. }
  241. .comMajor {
  242. width: 316px;
  243. margin-right: 10px;
  244. }
  245. .colCol {
  246. width: 316px;
  247. margin-right: 10px;
  248. }
  249. .colSch {
  250. width: 294px;
  251. }
  252. .sign {
  253. width: 642px;
  254. margin-right: 10px;
  255. }
  256. .where {
  257. width: 294px;
  258. }
  259. </style>