governmentList.vue 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. <template>
  2. <div id="governmentDetail">
  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="5" class="left">
  20. <el-col :span="24" class="leftTop">
  21. <natives :nativeList="nativeList" v-on="$listeners"></natives>
  22. </el-col>
  23. <el-col :span="24" class="leftDiao">
  24. <examine></examine>
  25. </el-col>
  26. </el-col>
  27. <el-col :span="19" class="right">
  28. <rightcont v-on="$listeners" :columnName="columnName" :contentList="contentList" :total="total" v-if="display === 'list'"></rightcont>
  29. <policyrightcont v-else :columnTitle="columnTitle" :policyInfo="policyInfo"></policyrightcont>
  30. </el-col>
  31. </div>
  32. </el-col>
  33. <el-col :span="24" class="foot">
  34. <div class="w_1200">
  35. <foot :info="info"></foot>
  36. </div>
  37. </el-col>
  38. </el-row>
  39. </div>
  40. </template>
  41. <script>
  42. import top from '@/layout/index/top.vue';
  43. import logo from '@/layout/index/logo.vue';
  44. import menuInfo from '@/layout/index/menuInfo.vue';
  45. import foot from '@/layout/index/foot.vue';
  46. import natives from '@/layout/government/natives.vue';
  47. import examine from '@/layout/personCenter/question.vue';
  48. import message from '@/layout/government/message.vue';
  49. import rightcont from '@/layout/government/rightcont.vue';
  50. import policyrightcont from '@/layout/government/policyrightcont.vue';
  51. export default {
  52. name: 'government',
  53. props: {
  54. info: null, //站点信息
  55. nativeList: null, //标签栏
  56. columnTitle: null, //栏目名称
  57. columnName: null, //栏目标题
  58. contentList: null, //内容
  59. total: null,
  60. display: { type: String, default: 'list' },
  61. policyInfo: null, //信息详情
  62. },
  63. components: {
  64. top, //头部
  65. logo, //logo
  66. menuInfo, //导航
  67. foot, //底部
  68. natives, //列表-分类导航
  69. examine, //网上调查(引用于科技人才中的question)
  70. rightcont, //右边栏
  71. policyrightcont,
  72. },
  73. data: () => ({}),
  74. created() {},
  75. computed: {},
  76. methods: {},
  77. };
  78. </script>
  79. <style lang="less" scoped>
  80. .w_1200 {
  81. width: 1200px;
  82. margin: 0 auto;
  83. }
  84. .top {
  85. height: 40px;
  86. overflow: hidden;
  87. background-color: rgba(11, 58, 125, 0.8);
  88. }
  89. .logo {
  90. height: 200px;
  91. overflow: hidden;
  92. }
  93. .menu {
  94. height: 70px;
  95. overflow: hidden;
  96. }
  97. .main {
  98. min-height: 800;
  99. overflow: hidden;
  100. margin: 10px 0;
  101. }
  102. .main .left {
  103. width: 240px;
  104. min-height: 800px;
  105. margin: 0 10px 0 0;
  106. }
  107. .main .left .leftTop {
  108. height: 420px;
  109. background-color: #fff;
  110. margin: 0 0 10px 0;
  111. }
  112. .main .left .leftDiao {
  113. background: #fff;
  114. height: 370px;
  115. overflow: hidden;
  116. }
  117. .main .right {
  118. min-height: 800px;
  119. background-color: #fff;
  120. }
  121. .foot {
  122. float: left;
  123. width: 100%;
  124. height: 120px;
  125. overflow: hidden;
  126. }
  127. </style>