listDetail.vue 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. <template>
  2. <div id="listDetail">
  3. <el-row>
  4. <el-col :span="24" class="style">
  5. <el-col :span="24" class="top">
  6. 头部
  7. </el-col>
  8. <el-col :span="24" class="banner">
  9. <div class="w_1200">
  10. logo
  11. </div>
  12. </el-col>
  13. <el-col :span="24" class="menu">
  14. <div class="w_1200">
  15. 菜单
  16. </div>
  17. </el-col>
  18. <el-col :span="24" class="main">
  19. <div class="w_1200">
  20. <el-col :span="5" class="left">
  21. 左侧列表
  22. </el-col>
  23. <el-col :span="18" class="right">
  24. 右侧详情
  25. </el-col>
  26. </div>
  27. </el-col>
  28. <el-col :span="24" class="foot">
  29. <div class="w_1200">
  30. 底部
  31. </div>
  32. </el-col>
  33. </el-col>
  34. </el-row>
  35. </div>
  36. </template>
  37. <script>
  38. import { mapState, createNamespacedHelpers } from 'vuex';
  39. export default {
  40. name: 'listDetail',
  41. props: {},
  42. components: {},
  43. data: function() {
  44. return {};
  45. },
  46. created() {},
  47. methods: {},
  48. computed: {
  49. ...mapState(['user']),
  50. pageTitle() {
  51. return `${this.$route.meta.title}`;
  52. },
  53. },
  54. metaInfo() {
  55. return { title: this.$route.meta.title };
  56. },
  57. };
  58. </script>
  59. <style lang="less" scoped>
  60. .w_1200 {
  61. width: 1200px;
  62. margin: 0 auto;
  63. }
  64. .style {
  65. .top {
  66. height: 40px;
  67. }
  68. .banner {
  69. height: 220px;
  70. }
  71. .menu {
  72. height: 70px;
  73. margin: 0 0 10px 0;
  74. }
  75. .main {
  76. min-height: 600px;
  77. margin: 0 0 10px 0;
  78. .left {
  79. min-height: 600px;
  80. background: #fff;
  81. margin: 0 10px 0 0;
  82. }
  83. .right {
  84. width: 78%;
  85. min-height: 600px;
  86. background: #fff;
  87. }
  88. }
  89. .foot {
  90. height: 120px;
  91. }
  92. }
  93. </style>