index.vue 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. <template>
  2. <div id="index">
  3. <el-row>
  4. <el-col :span="24" class="top">
  5. <div class="w_1200">
  6. <top :logolist="logolist"></top>
  7. </div>
  8. </el-col>
  9. <el-col :span="24" class="menu">
  10. <div class="w_1200">
  11. <native></native>
  12. </div>
  13. </el-col>
  14. <el-col :span="24" class="main">
  15. <div class="w_1200">
  16. <el-col :span="6" class="notice">
  17. <news title="通知公告"></news>
  18. </el-col>
  19. <el-col :span="17" class="news">
  20. <news :newslist="newslist"></news>
  21. </el-col>
  22. </div>
  23. </el-col>
  24. <el-col :span="24" class="mains">
  25. <div class="w_1200">
  26. <el-col :span="6" class="mingshi">
  27. <news title="计算明示"></news>
  28. </el-col>
  29. <el-col :span="17" class="chengguo">
  30. 成果展示
  31. </el-col>
  32. </div>
  33. </el-col>
  34. <el-col :span="24" class="down">
  35. <div class="w_1200">
  36. <foot></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 native from '../../layout/index/native.vue';
  45. import news from '../../layout/index/news.vue';
  46. import foot from '../../layout/index/foot.vue';
  47. export default {
  48. name: 'index',
  49. props: {
  50. logolist: null,
  51. },
  52. components: {
  53. top,
  54. native,
  55. news,
  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: 100px;
  71. border: 1px solid #ccc;
  72. }
  73. .menu {
  74. margin-bottom: 20px;
  75. height: 40px;
  76. border: 1px solid #ccc;
  77. }
  78. .main {
  79. margin-bottom: 20px;
  80. height: 400px;
  81. }
  82. .main .notice {
  83. height: 400px;
  84. border: 1px solid #ccc;
  85. overflow: hidden;
  86. }
  87. .main .news {
  88. float: right;
  89. width: 880px;
  90. height: 400px;
  91. border: 1px solid #ccc;
  92. overflow: hidden;
  93. }
  94. .mains {
  95. margin-bottom: 20px;
  96. height: 400px;
  97. }
  98. .mains .mingshi {
  99. height: 400px;
  100. border: 1px solid #ccc;
  101. overflow: hidden;
  102. }
  103. .mains .chengguo {
  104. float: right;
  105. width: 880px;
  106. height: 400px;
  107. border: 1px solid #ccc;
  108. overflow: hidden;
  109. }
  110. .down {
  111. height: 100px;
  112. border: 1px solid #ccc;
  113. }
  114. </style>