servicedetail.vue 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. <template>
  2. <div id="policy">
  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="fenlei">
  20. <el-col :span="24" class="leftTop">
  21. <fenleiinfo :liebiaoList="liebiaoList" v-on="$listeners"></fenleiinfo>
  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="rightcont">
  28. <policyrightcont :columnTitle="columnTitle" :policyInfo="policyInfo"></policyrightcont>
  29. </el-col>
  30. </div>
  31. </el-col>
  32. <el-col :span="24" class="foot">
  33. <div class="w_1200">
  34. <foot :info="info"></foot>
  35. </div>
  36. </el-col>
  37. </el-row>
  38. </div>
  39. </template>
  40. <script>
  41. import top from '@/layout/index/top.vue';
  42. import logo from '@/layout/index/logo.vue';
  43. import menuInfo from '@/layout/index/menuInfo.vue';
  44. import foot from '@/layout/index/foot.vue';
  45. import fenleiinfo from '@/layout/service/fenleiinfo.vue';
  46. import policyrightcont from '@/layout/service/policyrightcont.vue';
  47. import examine from '@/layout/personCenter/question.vue';
  48. export default {
  49. name: 'policy',
  50. props: {
  51. info: null, //站点信息
  52. liebiaoList: null,
  53. columnName: null, //栏目标题
  54. contentList: null, //内容
  55. total: null,
  56. display: { type: String, default: 'list' },
  57. columnTitle: null, //信息详情头部栏目标题
  58. policyInfo: null, //信息详情
  59. },
  60. components: {
  61. top, //头部
  62. logo, //logo
  63. menuInfo, //导航
  64. foot, //底部
  65. fenleiinfo, //左边分类
  66. policyrightcont,
  67. examine,
  68. },
  69. data: () => ({}),
  70. created() {},
  71. computed: {},
  72. methods: {
  73. clickList({ id }) {
  74. console.log(id);
  75. },
  76. },
  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: 600px;
  99. overflow: hidden;
  100. margin: 10px 0;
  101. }
  102. .leftDiao {
  103. background: #fff;
  104. height: 370px;
  105. overflow: hidden;
  106. }
  107. .leftTop {
  108. background: #fff;
  109. height: 420px;
  110. overflow: hidden;
  111. margin: 0 0 10px 0;
  112. }
  113. .main .fenlei {
  114. float: left;
  115. width: 240px;
  116. min-height: 800px;
  117. margin: 0 10px 0 0;
  118. overflow: hidden;
  119. }
  120. .main .rightcont {
  121. float: left;
  122. width: 950px;
  123. min-height: 800px;
  124. overflow: hidden;
  125. background-color: #fff;
  126. }
  127. .main .link {
  128. float: left;
  129. width: 100%;
  130. height: 100px;
  131. overflow: hidden;
  132. background-color: #fff;
  133. }
  134. .foot {
  135. float: left;
  136. width: 100%;
  137. height: 120px;
  138. overflow: hidden;
  139. }
  140. </style>