supermarket.vue 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. <template>
  2. <div id="supermarket">
  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. <fenlei></fenlei>
  21. </el-col>
  22. <el-col :span="19" class="rightcont">
  23. <rightcont :jishuList="jishuList" :chanpinList="chanpinList" :serviceList="serviceList"></rightcont>
  24. </el-col>
  25. <el-col :span="24" class="fabu">
  26. <fabu :fabuList="fabuList"></fabu>
  27. </el-col>
  28. <el-col :span="24" class="jiaoyi">
  29. <jiaoyi :tableData="tableData"></jiaoyi>
  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 fenlei from '@/layout/supermarket/fenlei.vue';
  46. import rightcont from '@/layout/supermarket/rightcont.vue';
  47. import fabu from '@/layout/supermarket/fabu.vue';
  48. import jiaoyi from '@/layout/supermarket/jiaoyi.vue';
  49. import foot from '@/layout/index/foot.vue';
  50. export default {
  51. name: 'supermarket',
  52. props: {
  53. info: null, //站点信息
  54. jishuList: null, //技术供求
  55. chanpinList: null, //产品供求
  56. serviceList: null, //服务供求
  57. fabuList: null, //最新发布
  58. tableData: null, //交易展示
  59. },
  60. components: {
  61. top, //头部
  62. logo, //logo
  63. menuInfo, //导航
  64. fenlei, //商务分类
  65. rightcont, //商务分类右侧信息列表
  66. fabu, //发布信息列表
  67. jiaoyi, //交易展示
  68. foot, //底部
  69. },
  70. data: () => ({}),
  71. created() {},
  72. computed: {},
  73. methods: {},
  74. };
  75. </script>
  76. <style lang="less" scoped>
  77. .w_1200 {
  78. width: 1200px;
  79. margin: 0 auto;
  80. }
  81. .top {
  82. height: 40px;
  83. overflow: hidden;
  84. background-color: rgba(11, 58, 125, 0.8);
  85. }
  86. .logo {
  87. height: 200px;
  88. overflow: hidden;
  89. }
  90. .menu {
  91. height: 70px;
  92. overflow: hidden;
  93. }
  94. .main {
  95. height: 1240px;
  96. overflow: hidden;
  97. margin: 10px 0;
  98. }
  99. .main .fenlei {
  100. float: left;
  101. width: 240px;
  102. height: 600px;
  103. margin: 0 10px 10px 0;
  104. overflow: hidden;
  105. background-color: #ffffff;
  106. }
  107. .main .rightcont {
  108. float: left;
  109. width: 950px;
  110. min-height: 600px;
  111. margin: 0 0 10px 0;
  112. overflow: hidden;
  113. }
  114. .main .fabu {
  115. float: left;
  116. width: 1200px;
  117. height: 390px;
  118. background-color: #ffffff;
  119. margin: 0 0 10px 0;
  120. }
  121. .main .jiaoyi {
  122. float: left;
  123. width: 1200px;
  124. height: 230px;
  125. background-color: #ffffff;
  126. }
  127. .foot {
  128. float: left;
  129. width: 100%;
  130. height: 120px;
  131. overflow: hidden;
  132. }
  133. </style>