index.vue 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251
  1. <template>
  2. <div id="index">
  3. <el-row>
  4. <el-col :sapn="24" class="top">
  5. <div class="w_1270">
  6. <top :info="info"></top>
  7. </div>
  8. </el-col>
  9. <el-col :sapn="24" class="banner">
  10. <banner :info="info"></banner>
  11. </el-col>
  12. <el-col :sapn="24" class="menu">
  13. <menuInfo :menuList="menuList" :backColor="backColor"></menuInfo>
  14. </el-col>
  15. <el-col :sapn="24" class="main">
  16. <div class="w_1270">
  17. <el-col class="main_1">
  18. <el-col :span="11" class="lunbo">
  19. <lunbo :carouselList="carouselList"></lunbo>
  20. </el-col>
  21. <el-col :span="9" class="noticeNews">
  22. <noticeNews :noticeNewsList="noticeNewsList"></noticeNews>
  23. </el-col>
  24. <el-col :span="4" class="kuaisu">
  25. <kuaisu></kuaisu>
  26. </el-col>
  27. </el-col>
  28. <el-col class="main_2">
  29. <el-col :span="11" class="zhidao">
  30. <zhidao :zhidaoList="zhidaoList"></zhidao>
  31. </el-col>
  32. <el-col :span="9" class="law">
  33. <law :lawList="lawList"></law>
  34. </el-col>
  35. <el-col :span="4" class="daohang">
  36. <daohang></daohang>
  37. </el-col>
  38. </el-col>
  39. <el-col :span="24" class="main_3">
  40. <weilai></weilai>
  41. </el-col>
  42. <el-col :span="24" class="main_4">
  43. <el-col :span="11" class="service">
  44. <service :serviceList="serviceList"></service>
  45. </el-col>
  46. <el-col :span="9" class="huji">
  47. <huji :hujiList="hujiList"></huji>
  48. </el-col>
  49. <el-col :span="4" class="xiazai">
  50. <xiazai :xiazaiList="xiazaiList"></xiazai>
  51. </el-col>
  52. </el-col>
  53. </div>
  54. <el-col :span="24" class="main_5">
  55. <recruit :recruitList="recruitList" :zixunList="zixunList"></recruit>
  56. </el-col>
  57. <div class="w_1270">
  58. <el-col :span="24" class="login">
  59. <login></login>
  60. </el-col>
  61. <el-col :span="24" class="naitve">
  62. <naitve :nativeList="nativeList"></naitve>
  63. </el-col>
  64. </div>
  65. </el-col>
  66. <el-col :sapn="24" class="down">
  67. <down :info="info" :backColor="backColor"></down>
  68. </el-col>
  69. </el-row>
  70. </div>
  71. </template>
  72. <script>
  73. import top from '@/layout/index/top.vue';
  74. import banner from '@/layout/index/banner.vue';
  75. import menuInfo from '@/layout/index/menuInfo.vue';
  76. import lunbo from '@/layout/index/lunbo.vue';
  77. import noticeNews from '@/layout/index/noticeNews.vue';
  78. import kuaisu from '@/layout/index/kuaisu.vue';
  79. import zhidao from '@/layout/index/zhidao.vue';
  80. import law from '@/layout/index/law.vue';
  81. import daohang from '@/layout/index/daohang.vue';
  82. import weilai from '@/layout/index/weilai.vue';
  83. import service from '@/layout/index/service.vue';
  84. import huji from '@/layout/index/huji.vue';
  85. import xiazai from '@/layout/index/xiazai.vue';
  86. import recruit from '@/layout/index/recruit.vue';
  87. import login from '@/layout/index/login.vue';
  88. import naitve from '@/layout/index/naitve.vue';
  89. import down from '@/layout/index/down.vue';
  90. export default {
  91. name: 'index',
  92. props: {
  93. backColor: null, //背景颜色
  94. info: null, //站点信息
  95. menuList: null, //菜单
  96. carouselList: null, //輪播圖
  97. noticeNewsList: null, //通知公告+就業動態
  98. zhidaoList: null, //就業指導
  99. lawList: null, //政策法规
  100. serviceList: null, //档案服务
  101. hujiList: null, //户籍管理
  102. xiazaiList: null, //下载专区
  103. recruitList: null, //最新招聘
  104. zixunList: null, //就业咨询
  105. nativeList: null, //网站导航
  106. },
  107. components: {
  108. top, //头部
  109. banner, //banner
  110. menuInfo, //菜单
  111. lunbo, //轮播图
  112. noticeNews, //通知公告+就业动态
  113. kuaisu, //快速通道
  114. zhidao, //就业指导
  115. law, //政策法规
  116. daohang, //导航
  117. weilai, //未來计划
  118. service, //档案服务
  119. huji, //户籍管理
  120. xiazai, //下载专区
  121. recruit, //最新招聘
  122. login, //登录
  123. naitve, //网站导航
  124. down, //底部
  125. },
  126. data: () => ({}),
  127. created() {},
  128. computed: {},
  129. methods: {},
  130. };
  131. </script>
  132. <style lang="less" scoped>
  133. .w_1270 {
  134. width: 1270px;
  135. margin: 0 auto;
  136. }
  137. .top {
  138. height: 40px;
  139. overflow: hidden;
  140. background-color: #f5f5f54f;
  141. }
  142. .banner {
  143. height: 300px;
  144. overflow: hidden;
  145. }
  146. .menu {
  147. height: 50px;
  148. overflow: hidden;
  149. }
  150. .main {
  151. min-height: 1000px;
  152. background: #f6f6f6;
  153. }
  154. .main_1 {
  155. height: 304px;
  156. overflow: hidden;
  157. margin: 10px 0 0 0;
  158. }
  159. .lunbo {
  160. width: 540px;
  161. height: 304px;
  162. overflow: hidden;
  163. margin: 0 10px 0 0;
  164. }
  165. .noticeNews {
  166. width: 460px;
  167. height: 304px;
  168. overflow: hidden;
  169. background-color: #fff;
  170. margin: 0 10px 0 0;
  171. }
  172. .kuaisu {
  173. width: 247px;
  174. height: 304px;
  175. background-color: #fff;
  176. }
  177. .main_2 {
  178. height: 369px;
  179. overflow: hidden;
  180. margin: 10px 0 0 0;
  181. }
  182. .zhidao {
  183. width: 540px;
  184. height: 369px;
  185. overflow: hidden;
  186. margin: 0 10px 0 0;
  187. background-color: #fff;
  188. }
  189. .law {
  190. width: 460px;
  191. height: 369px;
  192. overflow: hidden;
  193. background-color: #fff;
  194. margin: 0 10px 0 0;
  195. }
  196. .daohang {
  197. width: 247px;
  198. height: 369px;
  199. background-color: #fff;
  200. }
  201. .main_3 {
  202. height: 200px;
  203. overflow: hidden;
  204. margin: 10px 0 0 0;
  205. }
  206. .main_4 {
  207. height: 370px;
  208. overflow: hidden;
  209. margin: 10px 0 0 0;
  210. }
  211. .service {
  212. width: 540px;
  213. height: 369px;
  214. overflow: hidden;
  215. margin: 0 10px 0 0;
  216. background-color: #fff;
  217. }
  218. .huji {
  219. width: 460px;
  220. height: 369px;
  221. overflow: hidden;
  222. background-color: #fff;
  223. margin: 0 10px 0 0;
  224. }
  225. .xiazai {
  226. width: 247px;
  227. height: 369px;
  228. background-color: #fff;
  229. }
  230. .main_5 {
  231. height: 560px;
  232. overflow: hidden;
  233. margin: 10px 0 0 0;
  234. }
  235. .login {
  236. height: 50px;
  237. margin: 10px 0 0 0;
  238. overflow: hidden;
  239. }
  240. .naitve {
  241. min-height: 300px;
  242. margin: 30px 0 20px 0;
  243. overflow: hidden;
  244. }
  245. .down {
  246. height: 135px;
  247. overflow: hidden;
  248. }
  249. </style>