|
@@ -17,17 +17,59 @@
|
|
|
<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>
|
|
|
+ <fenlei v-on="$listeners" :nativeList="nativeList"></fenlei>
|
|
|
</el-col>
|
|
|
+ <span v-if="display === 'first'">
|
|
|
+ <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>
|
|
|
+ </span>
|
|
|
+ <span v-else-if="display === 'second'">
|
|
|
+ <el-col :span="19" class="second">
|
|
|
+ <schoolInfo :schoolList="schoolList" :schoolTotal="schoolTotal"></schoolInfo>
|
|
|
+ </el-col>
|
|
|
+ </span>
|
|
|
+ <span v-else-if="display === 'thirth'">
|
|
|
+ <el-col :span="19" class="second">
|
|
|
+ <scientific :scientificList="scientificList" :scientificTotal="scientificTotal"></scientific>
|
|
|
+ </el-col>
|
|
|
+ </span>
|
|
|
+ <span v-else-if="display === 'fourth'">
|
|
|
+ <el-col :span="19" class="second">
|
|
|
+ <company :companyList="companyList" :companyTotal="companyTotal"></company>
|
|
|
+ </el-col>
|
|
|
+ </span>
|
|
|
+ <span v-else-if="display === 'fivth'">
|
|
|
+ <el-col :span="19" class="second">
|
|
|
+ <mechanism :mechanismList="mechanismList" :mechanismTotal="mechanismTotal"></mechanism>
|
|
|
+ </el-col>
|
|
|
+ </span>
|
|
|
+ <span v-else-if="display === 'sixth'">
|
|
|
+ <el-col :span="19" class="second">
|
|
|
+ 研发服务
|
|
|
+ </el-col>
|
|
|
+ </span>
|
|
|
+ <span v-else-if="display === 'seventh'">
|
|
|
+ <el-col :span="19" class="second">
|
|
|
+ 技术成果
|
|
|
+ </el-col>
|
|
|
+ </span>
|
|
|
+ <span v-else-if="display === 'eighth'">
|
|
|
+ <el-col :span="19" class="second">
|
|
|
+ 创新产品
|
|
|
+ </el-col>
|
|
|
+ </span>
|
|
|
+ <span v-else-if="display === 'nineth'">
|
|
|
+ <el-col :span="19" class="second">
|
|
|
+ 咨询服务
|
|
|
+ </el-col>
|
|
|
+ </span>
|
|
|
</div>
|
|
|
</el-col>
|
|
|
<el-col :span="24" class="foot">
|
|
@@ -45,6 +87,11 @@ 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 schoolInfo from '@/layout/supermarket/schoolInfo.vue';
|
|
|
+import scientific from '@/layout/supermarket/scientific.vue';
|
|
|
+import company from '@/layout/supermarket/company.vue';
|
|
|
+import mechanism from '@/layout/supermarket/mechanism.vue';
|
|
|
+
|
|
|
import fabu from '@/layout/supermarket/fabu.vue';
|
|
|
import jiaoyi from '@/layout/supermarket/jiaoyi.vue';
|
|
|
import foot from '@/layout/index/foot.vue';
|
|
@@ -53,11 +100,21 @@ export default {
|
|
|
name: 'supermarket',
|
|
|
props: {
|
|
|
info: null, //站点信息
|
|
|
+ nativeList: null, //商务分类
|
|
|
+ display: { type: String, default: 'first' },
|
|
|
jishuList: null, //技术供求
|
|
|
chanpinList: null, //产品供求
|
|
|
serviceList: null, //服务供求
|
|
|
fabuList: null, //最新发布
|
|
|
tableData: null, //交易展示
|
|
|
+ schoolList: null, //高校院所
|
|
|
+ schoolTotal: null, //分页
|
|
|
+ scientificList: null, //科研院所
|
|
|
+ scientificTotal: null, //分页
|
|
|
+ companyList: null, //科技企业
|
|
|
+ companyTotal: null, //分页
|
|
|
+ mechanismList: null, //机构团体
|
|
|
+ mechanismTotal: null, //分页
|
|
|
},
|
|
|
components: {
|
|
|
top, //头部
|
|
@@ -65,6 +122,10 @@ export default {
|
|
|
menuInfo, //导航
|
|
|
fenlei, //商务分类
|
|
|
rightcont, //商务分类右侧信息列表
|
|
|
+ schoolInfo, //高校院所
|
|
|
+ scientific, //科研院所
|
|
|
+ mechanism, //机构团体
|
|
|
+ company, //科技企业
|
|
|
fabu, //发布信息列表
|
|
|
jiaoyi, //交易展示
|
|
|
foot, //底部
|
|
@@ -95,7 +156,7 @@ export default {
|
|
|
overflow: hidden;
|
|
|
}
|
|
|
.main {
|
|
|
- height: 1240px;
|
|
|
+ min-height: 600px;
|
|
|
overflow: hidden;
|
|
|
margin: 10px 0;
|
|
|
}
|
|
@@ -114,17 +175,25 @@ export default {
|
|
|
margin: 0 0 10px 0;
|
|
|
overflow: hidden;
|
|
|
}
|
|
|
+.second {
|
|
|
+ float: left;
|
|
|
+ width: 950px;
|
|
|
+ min-height: 1000px;
|
|
|
+ margin: 0 0 10px 0;
|
|
|
+ overflow: hidden;
|
|
|
+ background-color: #fff;
|
|
|
+}
|
|
|
.main .fabu {
|
|
|
float: left;
|
|
|
width: 1200px;
|
|
|
- height: 390px;
|
|
|
+ min-height: 10px;
|
|
|
background-color: #ffffff;
|
|
|
margin: 0 0 10px 0;
|
|
|
}
|
|
|
.main .jiaoyi {
|
|
|
float: left;
|
|
|
width: 1200px;
|
|
|
- height: 230px;
|
|
|
+ min-height: 10px;
|
|
|
background-color: #ffffff;
|
|
|
}
|
|
|
.foot {
|