123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136 |
- <template>
- <div id="supermarket">
- <el-row>
- <el-col :span="24" class="top">
- <top></top>
- </el-col>
- <el-col :span="24" class="logo">
- <div class="w_1200">
- <logo :info="info"></logo>
- </div>
- </el-col>
- <el-col :span="24" class="menu">
- <div class="w_1200">
- <menuInfo></menuInfo>
- </div>
- </el-col>
- <el-col :span="24" class="main">
- <div class="w_1200">
- <el-col :span="5" class="fenlei">
- <fenlei></fenlei>
- </el-col>
- <el-col :span="19" class="rightcont">
- <rightcont :jishuList="jishuList" :chanpinList="chanpinList" :serviceList="serviceList"></rightcont>
- </el-col>
- <el-col :span="24" class="fabu">
- <fabu :fabuList="fabuList"></fabu>
- </el-col>
- <el-col :span="24" class="jiaoyi">
- <jiaoyi :tableData="tableData"></jiaoyi>
- </el-col>
- </div>
- </el-col>
- <el-col :span="24" class="foot">
- <div class="w_1200">
- <foot :info="info"></foot>
- </div>
- </el-col>
- </el-row>
- </div>
- </template>
- <script>
- import top from '@/layout/index/top.vue';
- import logo from '@/layout/index/logo.vue';
- import menuInfo from '@/layout/index/menuInfo.vue';
- import fenlei from '@/layout/supermarket/fenlei.vue';
- import rightcont from '@/layout/supermarket/rightcont.vue';
- import fabu from '@/layout/supermarket/fabu.vue';
- import jiaoyi from '@/layout/supermarket/jiaoyi.vue';
- import foot from '@/layout/index/foot.vue';
- export default {
- name: 'supermarket',
- props: {
- info: null, //站点信息
- jishuList: null, //技术供求
- chanpinList: null, //产品供求
- serviceList: null, //服务供求
- fabuList: null, //最新发布
- tableData: null, //交易展示
- },
- components: {
- top, //头部
- logo, //logo
- menuInfo, //导航
- fenlei, //商务分类
- rightcont, //商务分类右侧信息列表
- fabu, //发布信息列表
- jiaoyi, //交易展示
- foot, //底部
- },
- data: () => ({}),
- created() {},
- computed: {},
- methods: {},
- };
- </script>
- <style lang="less" scoped>
- .w_1200 {
- width: 1200px;
- margin: 0 auto;
- }
- .top {
- height: 40px;
- overflow: hidden;
- background-color: rgba(11, 58, 125, 0.8);
- }
- .logo {
- height: 200px;
- overflow: hidden;
- }
- .menu {
- height: 70px;
- overflow: hidden;
- }
- .main {
- height: 1240px;
- overflow: hidden;
- margin: 10px 0;
- }
- .main .fenlei {
- float: left;
- width: 240px;
- height: 600px;
- margin: 0 10px 10px 0;
- overflow: hidden;
- background-color: #ffffff;
- }
- .main .rightcont {
- float: left;
- width: 950px;
- min-height: 600px;
- margin: 0 0 10px 0;
- overflow: hidden;
- }
- .main .fabu {
- float: left;
- width: 1200px;
- height: 390px;
- background-color: #ffffff;
- margin: 0 0 10px 0;
- }
- .main .jiaoyi {
- float: left;
- width: 1200px;
- height: 230px;
- background-color: #ffffff;
- }
- .foot {
- float: left;
- width: 100%;
- height: 120px;
- overflow: hidden;
- }
- </style>
|