look.vue 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. <template>
  2. <div id="adviserList">
  3. <el-row>
  4. <el-col :span="24" class="main">
  5. <el-col :span="24" class="top">
  6. <heads></heads>
  7. </el-col>
  8. <div class="w_1200">
  9. <el-col :span="5" class="left">
  10. <el-col :span="24" class="leftTop">
  11. <mainMenu :liebiaoList="liebiaoList" v-on="$listeners"></mainMenu>
  12. </el-col>
  13. </el-col>
  14. <el-col :span="19" class="right">
  15. <look v-on="$listeners" :resultTable="resultTable" :pageSize="pageSize" :total="total" :limit="limit"></look>
  16. </el-col>
  17. </div>
  18. <el-col :span="24" class="foots">
  19. <foot></foot>
  20. </el-col>
  21. </el-col>
  22. </el-row>
  23. </div>
  24. </template>
  25. <script>
  26. import heads from '@/layout/enterprise/heads.vue';
  27. import mainMenu from '@/layout/enterprise/mainMenu.vue';
  28. import look from '@/layout/enterprise/look.vue';
  29. import foot from '@/layout/live/foot.vue';
  30. export default {
  31. name: 'adviserList',
  32. props: {
  33. info: null, //站点信息
  34. liebiaoList: null, //分类导航
  35. form: null,
  36. resultTable: null,
  37. limit: null,
  38. total: null,
  39. pageSize: null,
  40. },
  41. components: {
  42. heads,
  43. mainMenu, //分类导航
  44. look, //右侧
  45. foot,
  46. },
  47. data: () => ({}),
  48. created() {},
  49. computed: {},
  50. methods: {},
  51. };
  52. </script>
  53. <style lang="less" scoped>
  54. .w_1200 {
  55. width: 80%;
  56. margin: 0 auto;
  57. }
  58. .menu {
  59. height: 70px;
  60. overflow: hidden;
  61. }
  62. .main {
  63. min-height: 520px;
  64. overflow: hidden;
  65. background: #e9edf6;
  66. background-attachment: fixed;
  67. background-size: cover;
  68. background-position: center center;
  69. }
  70. .left {
  71. min-height: 520px;
  72. margin: 0 10px 0 0;
  73. width: 20%;
  74. }
  75. .leftTop {
  76. background: #fff;
  77. height: 455px;
  78. overflow: hidden;
  79. margin: 0 0 10px 0;
  80. }
  81. .right {
  82. width: 79%;
  83. min-height: 1520px;
  84. overflow: hidden;
  85. background-color: #fff;
  86. }
  87. .foots {
  88. margin: 10px 0 0 0;
  89. }
  90. </style>