quietDetail.vue 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. <template>
  2. <div id="quietDetail">
  3. <el-row>
  4. <el-col :sapn="24" class="top">
  5. <div class="w_1200">
  6. <top :info="info"></top>
  7. </div>
  8. </el-col>
  9. <el-col :sapn="24" class="banner">
  10. <banner :info="info"></banner>
  11. </el-col>
  12. <el-col :span="24" class="menu">
  13. <menuInfo :menuList="menuList" :backColor="backColor"></menuInfo>
  14. </el-col>
  15. <el-col :span="24" class="main">
  16. <div class="w_1200">
  17. <jiuyeInfo></jiuyeInfo>
  18. </div>
  19. </el-col>
  20. <el-col :span="24" class="foot">
  21. <down :info="info" :backColor="backColor"></down>
  22. </el-col>
  23. </el-row>
  24. </div>
  25. </template>
  26. <script>
  27. import top from '@/layout/index/top.vue';
  28. import banner from '@/layout/index/banner.vue';
  29. import menuInfo from '@/layout/index/menuInfo.vue';
  30. import jiuyeInfo from '@/layout/quiet/jiuyeInfo.vue';
  31. import down from '@/layout/index/down.vue';
  32. export default {
  33. name: 'quietDetail',
  34. props: {
  35. info: null, //头部信息
  36. backColor: null, //导航菜单背景颜色
  37. menuList: null, //菜单列表
  38. },
  39. components: {
  40. top, //头部
  41. banner, //logo
  42. menuInfo, //导航
  43. jiuyeInfo, //
  44. down, //底部信息
  45. },
  46. data: () => ({}),
  47. created() {},
  48. computed: {
  49. title() {
  50. return this.$route.query.title;
  51. },
  52. },
  53. methods: {},
  54. };
  55. </script>
  56. <style lang="less" scoped>
  57. .w_1200 {
  58. width: 1000px;
  59. height: 450px;
  60. margin: 0 auto;
  61. }
  62. .top {
  63. height: 40px;
  64. overflow: hidden;
  65. background-color: #f5f5f54f;
  66. }
  67. .banner {
  68. height: 300px;
  69. overflow: hidden;
  70. }
  71. .menu {
  72. height: 50px;
  73. overflow: hidden;
  74. }
  75. .main {
  76. min-height: 600px;
  77. padding: 50px 0;
  78. overflow: hidden;
  79. background: #f5f5f5;
  80. }
  81. .foot {
  82. min-height: 133px;
  83. background-color: #0457c7;
  84. }
  85. </style>