shuju.vue 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. <template>
  2. <div id="shuju">
  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="16" class="leftcont">
  20. <el-col :span="5" class="fenlei"> <fenlei></fenlei></el-col>
  21. <el-col :span="19" class="between"><zhanshi :zhanshiList="zhanshiList"></zhanshi></el-col>
  22. <el-col :span="24" class="gonggao">
  23. <gonggao :gonggaoList="gonggaoList"></gonggao>
  24. </el-col>
  25. </el-col>
  26. <el-col class="rightCont">
  27. <el-col :span="24" class="tongzhi">
  28. <tongzhi :tongzhiList="tongzhiList"></tongzhi>
  29. </el-col>
  30. <el-col :span="24" class="shangbao">
  31. <shangbao :shangbaoList="shangbaoList"></shangbao>
  32. </el-col>
  33. </el-col>
  34. </div>
  35. </el-col>
  36. <el-col :span="24" class="foot">
  37. <div class="w_1200">
  38. <foot :info="info"></foot>
  39. </div>
  40. </el-col>
  41. </el-row>
  42. </div>
  43. </template>
  44. <script>
  45. import top from '@/layout/index/top.vue';
  46. import logo from '@/layout/index/logo.vue';
  47. import menuInfo from '@/layout/index/menuInfo.vue';
  48. import foot from '@/layout/index/foot.vue';
  49. import fenlei from '@/layout/shuju/fenlei.vue';
  50. import zhanshi from '@/layout/shuju/zhanshi.vue';
  51. import gonggao from '@/layout/shuju/gonggao.vue';
  52. import shangbao from '@/layout/shuju/shangbao.vue';
  53. import tongzhi from '@/layout/shuju/tongzhi.vue';
  54. export default {
  55. name: 'shuju',
  56. props: {
  57. info: null, //站点信息
  58. zhanshiList: null,
  59. gonggaoList: null, //底部通知公告
  60. shangbaoList: null, //上报通知
  61. tongzhiList: null, //右侧通知公告
  62. },
  63. components: {
  64. top, //头部
  65. logo, //logo
  66. menuInfo, //导航
  67. foot, //底部
  68. fenlei, //左侧分类
  69. zhanshi, //数据展示
  70. gonggao, //底部通知公告
  71. shangbao, //上报通知
  72. tongzhi, //右侧通知公告
  73. },
  74. data: () => ({}),
  75. created() {},
  76. computed: {},
  77. methods: {},
  78. };
  79. </script>
  80. <style lang="less" scoped>
  81. .w_1200 {
  82. width: 1200px;
  83. margin: 0 auto;
  84. }
  85. .top {
  86. height: 40px;
  87. overflow: hidden;
  88. background-color: rgba(11, 58, 125, 0.8);
  89. }
  90. .logo {
  91. height: 200px;
  92. overflow: hidden;
  93. }
  94. .menu {
  95. height: 70px;
  96. overflow: hidden;
  97. }
  98. .main {
  99. height: 700px;
  100. overflow: hidden;
  101. margin: 10px 0;
  102. }
  103. .leftcont {
  104. height: 700px;
  105. overflow: hidden;
  106. margin: 0 10px 0 0;
  107. }
  108. .leftcont .rightcont {
  109. width: 390px;
  110. height: 350px;
  111. overflow: hidden;
  112. background: #fff;
  113. }
  114. .leftcont .fenlei {
  115. width: 240px;
  116. height: 420px;
  117. margin: 0 10px 10px 0;
  118. background-color: #fff;
  119. }
  120. .leftcont .between {
  121. width: 550px;
  122. background-color: #fff;
  123. height: 420px;
  124. }
  125. .leftcont .gonggao {
  126. width: 800px;
  127. height: 270px;
  128. background-color: #fff;
  129. }
  130. .rightCont {
  131. width: 390px;
  132. height: 700px;
  133. overflow: hidden;
  134. }
  135. .rightCont .tongzhi {
  136. height: 350px;
  137. overflow: hidden;
  138. background-color: #fff;
  139. margin: 0 0 10px 0;
  140. }
  141. .rightCont .shangbao {
  142. height: 350px;
  143. overflow: hidden;
  144. background-color: #fff;
  145. }
  146. .foot {
  147. float: left;
  148. width: 100%;
  149. height: 120px;
  150. overflow: hidden;
  151. }
  152. </style>