index.vue 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. <template>
  2. <div id="index">
  3. <el-row>
  4. <el-col :span="24" class="top">
  5. <div class="w_1200">
  6. <top :info="info" :Color="Color"></top>
  7. </div>
  8. </el-col>
  9. <el-col :span="24" class="menu">
  10. <menuInfo :backColor="backColor"></menuInfo>
  11. </el-col>
  12. <el-col :span="24" class="banner">
  13. <banner :info="info"></banner>
  14. </el-col>
  15. <el-col :span="24" class="newsNotice">
  16. <div class="w_1200">
  17. <el-col :span="16" class="news">
  18. <news :imglist="imglist"></news>
  19. </el-col>
  20. <el-col :span="7" class="notice">
  21. <notice :noticeList="noticeList"></notice>
  22. </el-col>
  23. </div>
  24. </el-col>
  25. <el-col :span="24" class="caleRecruit">
  26. <div class="w_1200">
  27. <el-col :span="8" class="calendar">
  28. <calendar></calendar>
  29. </el-col>
  30. <el-col :span="16" class="recruitRight">
  31. <el-col :span="24" class="recruit">
  32. <recruit :recruitList="recruitList"></recruit>
  33. </el-col>
  34. <el-col :span="24" class="company">
  35. <company :companyList="companyList"></company>
  36. </el-col>
  37. </el-col>
  38. </div>
  39. </el-col>
  40. <el-col :span="24" class="login">
  41. <div class="w_1200">
  42. <login></login>
  43. </div>
  44. </el-col>
  45. <el-col :span="24" class="naitve">
  46. <div class="w_1200">
  47. <naitve :nativeList="nativeList"></naitve>
  48. </div>
  49. </el-col>
  50. <el-col :span="24" class="contact">
  51. <contact :info="info"></contact>
  52. </el-col>
  53. <el-col :span="24" class="foot">
  54. <foot :info="info" :backColor="backColor"></foot>
  55. </el-col>
  56. </el-row>
  57. </div>
  58. </template>
  59. <script>
  60. import top from '@/layout/index/top.vue';
  61. import menuInfo from '@/layout/index/menuInfo.vue';
  62. import banner from '@/layout/index/banner.vue';
  63. import news from '@/layout/index/news.vue';
  64. import notice from '@/layout/index/notice.vue';
  65. import calendar from '@/layout/index/calendar.vue';
  66. import recruit from '@/layout/index/recruit.vue';
  67. import company from '@/layout/index/company.vue';
  68. import login from '@/layout/index/login.vue';
  69. import naitve from '@/layout/index/naitve.vue';
  70. import contact from '@/layout/index/contact.vue';
  71. import foot from '@/layout/index/foot.vue';
  72. export default {
  73. name: 'index',
  74. props: {
  75. info: null, //头部信息
  76. Color: null, //头部电话字体颜色
  77. backColor: null, //导航菜单背景颜色
  78. imglist: null, //新闻信息
  79. noticeList: null, //通知公告
  80. recruitList: null, //最新招聘信息
  81. companyList: null, //招聘企业
  82. nativeList: null, //信息网导航
  83. },
  84. components: {
  85. top, //头部
  86. menuInfo, //导航
  87. banner, //banner
  88. news, //新聞
  89. notice, //通告
  90. calendar, //日历
  91. recruit, //招聘信息
  92. company, //企业
  93. login, //登录
  94. naitve, //导航
  95. contact, //联系我们
  96. foot, //底部信息
  97. },
  98. data: () => ({}),
  99. created() {},
  100. computed: {},
  101. methods: {},
  102. };
  103. </script>
  104. <style lang="less" scoped>
  105. .w_1200 {
  106. width: 1200px;
  107. margin: 0 auto;
  108. }
  109. .top {
  110. height: 120px;
  111. overflow: hidden;
  112. }
  113. .menu {
  114. height: 40px;
  115. overflow: hidden;
  116. }
  117. .banner {
  118. height: 450px;
  119. overflow: hidden;
  120. }
  121. .newsNotice {
  122. height: 303px;
  123. margin: 35px 0 0 0;
  124. overflow: hidden;
  125. }
  126. .news {
  127. height: 303px;
  128. overflow: hidden;
  129. }
  130. .notice {
  131. float: right;
  132. width: 380px;
  133. height: 303px;
  134. overflow: hidden;
  135. }
  136. .caleRecruit {
  137. height: 476px;
  138. margin: 35px 0 0 0;
  139. overflow: hidden;
  140. }
  141. .calendar {
  142. width: 369px;
  143. height: 476px;
  144. overflow: hidden;
  145. }
  146. .recruitRight {
  147. float: right;
  148. height: 476px;
  149. overflow: hidden;
  150. }
  151. .recruit {
  152. height: 303px;
  153. overflow: hidden;
  154. }
  155. .company {
  156. height: 173px;
  157. overflow: hidden;
  158. }
  159. .login {
  160. height: 50px;
  161. margin: 15px 0 0 0;
  162. overflow: hidden;
  163. }
  164. .naitve {
  165. height: 255px;
  166. margin: 30px 0 0 0;
  167. overflow: hidden;
  168. }
  169. .contact {
  170. height: 265px;
  171. margin: 30px 0 0 0;
  172. background-color: #d5e2f8;
  173. overflow: hidden;
  174. }
  175. .foot {
  176. height: 133px;
  177. overflow: hidden;
  178. }
  179. </style>