shuju.vue 2.7 KB

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