index.vue 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  1. <template>
  2. <div id="index">
  3. <el-row>
  4. <el-col :span="24" class="top">
  5. <top></top>
  6. </el-col>
  7. <el-col :span="24" class="logo">
  8. <div class="w_1200">
  9. <logo :info="info"></logo>
  10. </div>
  11. </el-col>
  12. <el-col :span="24" class="menu">
  13. <div class="w_1200">
  14. <menuInfo></menuInfo>
  15. </div>
  16. </el-col>
  17. <el-col :span="24" class="main">
  18. <div class="w_1200">
  19. <el-col :span="12" class="map">
  20. <mapInfo :map="map"></mapInfo>
  21. </el-col>
  22. <el-col :span="12" class="">
  23. <zixun :zixunList="zixunList"></zixun>
  24. </el-col>
  25. <el-col :span="15" class="aoliao">
  26. <el-col :span="24" class="notification">
  27. <el-col :span="12" class="notice">
  28. <notice :noticeList="noticeList"></notice>
  29. </el-col>
  30. <el-col :span="12" class="law">
  31. <law :lawList="lawList"></law>
  32. </el-col>
  33. </el-col>
  34. <el-col :span="24" class="dian">
  35. <dian></dian>
  36. </el-col>
  37. </el-col>
  38. <el-col :span="9" class="xinpin">
  39. <xinpin :xinpinList="xinpinList" :chuangxinList="chuangxinList"></xinpin>
  40. </el-col>
  41. <el-col :span="24" class="link">
  42. <linkInfo :linkList="linkList"></linkInfo>
  43. </el-col>
  44. </div>
  45. </el-col>
  46. <el-col :span="24" class="foot">
  47. <div class="w_1200">
  48. <foot :info="info"></foot>
  49. </div>
  50. </el-col>
  51. </el-row>
  52. </div>
  53. </template>
  54. <script>
  55. import top from '@/layout/index/top.vue';
  56. import logo from '@/layout/index/logo.vue';
  57. import menuInfo from '@/layout/index/menuInfo.vue';
  58. import mapInfo from '@/layout/index/mapInfo.vue';
  59. import zixun from '@/layout/index/zixun.vue';
  60. import notice from '@/layout/index/notice.vue';
  61. import law from '@/layout/index/law.vue';
  62. import dian from '@/layout/index/dian.vue';
  63. import xinpin from '@/layout/index/xinpin.vue';
  64. import linkInfo from '@/layout/index/linkInfo.vue';
  65. import foot from '@/layout/index/foot.vue';
  66. export default {
  67. name: 'index',
  68. props: {
  69. info: null, //站点信息
  70. map: null, //创新地图
  71. zixunList: null, //最新资讯
  72. noticeList: null, //通知公告
  73. lawList: null, //政策法规
  74. xinpinList: null, //新品发布
  75. chuangxinList: null, //创新服务
  76. linkList: null, //友情链接
  77. },
  78. components: {
  79. top, //头部
  80. logo, //logo
  81. menuInfo, //导航
  82. mapInfo, //创新地图
  83. zixun, //最新资讯
  84. notice, //通知公告
  85. law, //政策法规
  86. dian, //图标链接
  87. xinpin, //新品发布 创新服务
  88. linkInfo, //友情链接
  89. foot, //底部
  90. },
  91. data: () => ({}),
  92. created() {},
  93. computed: {},
  94. methods: {},
  95. };
  96. </script>
  97. <style lang="less" scoped>
  98. .w_1200 {
  99. width: 1200px;
  100. margin: 0 auto;
  101. }
  102. .top {
  103. height: 40px;
  104. overflow: hidden;
  105. background-color: rgba(11, 58, 125, 0.8);
  106. }
  107. .logo {
  108. height: 200px;
  109. overflow: hidden;
  110. }
  111. .menu {
  112. height: 70px;
  113. overflow: hidden;
  114. }
  115. .main {
  116. height: 1000px;
  117. overflow: hidden;
  118. margin: 10px 0;
  119. }
  120. .main .map {
  121. float: left;
  122. width: 590px;
  123. height: 400px;
  124. overflow: hidden;
  125. margin: 0 10px 10px 0;
  126. background-color: #fff;
  127. }
  128. .main .zixun {
  129. float: left;
  130. width: 600px;
  131. height: 400px;
  132. margin: 0 0 10px 0;
  133. overflow: hidden;
  134. }
  135. .main .aoliao {
  136. float: left;
  137. width: 810px;
  138. height: 480px;
  139. margin: 0 10px 10px 0;
  140. overflow: hidden;
  141. }
  142. .main .aoliao .notification {
  143. float: left;
  144. width: 810px;
  145. height: 310px;
  146. overflow: hidden;
  147. margin: 0 10px 10px 0;
  148. }
  149. .main .aoliao .notification .notice {
  150. float: left;
  151. width: 400px;
  152. height: 310px;
  153. margin: 0 10px 0 0;
  154. overflow: hidden;
  155. background-color: #fff;
  156. }
  157. .main .aoliao .notification .law {
  158. float: left;
  159. width: 400px;
  160. height: 310px;
  161. overflow: hidden;
  162. background-color: #fff;
  163. }
  164. .main .aoliao .dian {
  165. float: left;
  166. width: 100%;
  167. height: 160px;
  168. overflow: hidden;
  169. }
  170. .main .xinpin {
  171. float: left;
  172. width: 380px;
  173. height: 480px;
  174. overflow: hidden;
  175. margin: 0 0 10px 0;
  176. background-color: #fff;
  177. }
  178. .main .link {
  179. float: left;
  180. width: 100%;
  181. height: 100px;
  182. overflow: hidden;
  183. background-color: #fff;
  184. }
  185. .foot {
  186. float: left;
  187. width: 100%;
  188. height: 120px;
  189. overflow: hidden;
  190. }
  191. </style>