government.vue 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. <template>
  2. <div id="government">
  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="phontoNews">
  20. <photoNews :photoNews="photoNews"> </photoNews>
  21. </el-col>
  22. <el-col :span="12" class="news">
  23. <news :chuangxinList="chuangxinList" :guoneiList="guoneiList" :zhengwuList="zhengwuList" :meitiList="meitiList"></news>
  24. </el-col>
  25. <el-col :span="8" class="notice">
  26. <notice :tongzhiList="tongzhiList"></notice>
  27. </el-col>
  28. <el-col :span="16" class="zhengwu">
  29. <zhengwu :zhengwu="zhengwu"></zhengwu>
  30. </el-col>
  31. <el-col :span="24" class="gongzhong">
  32. <gongzhong :gongzhongList="gongzhongList"></gongzhong>
  33. </el-col>
  34. <el-col :span="24" class="link">
  35. <linkInfo :linkList="linkList"></linkInfo>
  36. </el-col>
  37. </div> -->
  38. </el-col>
  39. <el-col :span="24" class="foot">
  40. <div class="w_1200">
  41. <foot :info="info"></foot>
  42. </div>
  43. </el-col>
  44. </el-row>
  45. </div>
  46. </template>
  47. <script>
  48. import top from '@/layout/index/top.vue';
  49. import logo from '@/layout/index/logo.vue';
  50. import menuInfo from '@/layout/index/menuInfo.vue';
  51. import foot from '@/layout/index/foot.vue';
  52. import photoNews from '@/layout/government/photoNews.vue';
  53. import news from '@/layout/government/news.vue';
  54. import notice from '@/layout/government/notice.vue';
  55. import zhengwu from '@/layout/government/zhengwu.vue';
  56. import gongzhong from '@/layout/government/gongzhong.vue';
  57. import linkInfo from '@/layout/index/linkInfo.vue';
  58. export default {
  59. name: 'government',
  60. props: {
  61. info: null, //站点信息
  62. photoNews: null, //图片新闻
  63. chuangxinList: null, //科技政务图片旁边新闻
  64. guoneiList: null, //科技政务图片旁边国内动态
  65. zhengwuList: null, //科技政务图片旁边政务活动
  66. meitiList: null, //科技政务图片旁边媒体焦距
  67. tongzhiList: null, //通知公告
  68. zhengwu: null, //政务公开
  69. gongzhongList: null, //公众参与
  70. linkList: null, //友情链接
  71. },
  72. components: {
  73. top, //头部
  74. logo, //logo
  75. menuInfo, //导航
  76. foot, //底部
  77. // photoNews, //科技政务下的图片新闻照片
  78. // news, //科技政务图片旁边新闻
  79. // notice, //通知公告
  80. // zhengwu, //政务公告
  81. // gongzhong, //公众参与
  82. // linkInfo, //相关链接
  83. },
  84. data: () => ({}),
  85. created() {},
  86. computed: {},
  87. methods: {},
  88. };
  89. </script>
  90. <style lang="less" scoped>
  91. .w_1200 {
  92. width: 1200px;
  93. margin: 0 auto;
  94. }
  95. .top {
  96. height: 40px;
  97. overflow: hidden;
  98. background-color: rgba(11, 58, 125, 0.8);
  99. }
  100. .logo {
  101. height: 200px;
  102. overflow: hidden;
  103. }
  104. .menu {
  105. height: 70px;
  106. overflow: hidden;
  107. }
  108. .main {
  109. height: 1080px;
  110. overflow: hidden;
  111. margin: 10px 0;
  112. }
  113. .main .phontoNews {
  114. float: left;
  115. width: 590px;
  116. height: 400px;
  117. overflow: hidden;
  118. margin: 0 10px 10px 0;
  119. background-color: #fff;
  120. }
  121. .main .news {
  122. float: left;
  123. width: 600px;
  124. height: 400px;
  125. margin: 0 0 10px 0;
  126. overflow: hidden;
  127. background-color: #fff;
  128. }
  129. .main .notice {
  130. float: left;
  131. width: 390px;
  132. height: 320px;
  133. margin: 0 10px 10px 0;
  134. overflow: hidden;
  135. background-color: #fff;
  136. }
  137. .main .zhengwu {
  138. float: left;
  139. width: 800px;
  140. height: 320px;
  141. margin: 0 0 10px 0;
  142. overflow: hidden;
  143. background-color: #fff;
  144. }
  145. .main .gongzhong {
  146. height: 240px;
  147. margin: 0 0 10px 0;
  148. background-color: #fff;
  149. }
  150. .main .link {
  151. float: left;
  152. width: 100%;
  153. height: 100px;
  154. overflow: hidden;
  155. background-color: #fff;
  156. }
  157. .foot {
  158. float: left;
  159. width: 100%;
  160. height: 120px;
  161. overflow: hidden;
  162. }
  163. </style>