|
@@ -46,42 +46,75 @@
|
|
|
<el-image :src="topImage"></el-image>
|
|
|
</el-col>
|
|
|
<el-col :span="24" class="info">
|
|
|
- <el-col :span="8" class="btn">
|
|
|
+ <el-col :span="6" class="btn">
|
|
|
<el-link :underline="false" @click="$router.push({ path: '/service/detail', query: { column_name: '智慧推荐' } })" disabled>
|
|
|
<el-image :src="onePic"></el-image>
|
|
|
<p>智慧推荐</p>
|
|
|
</el-link>
|
|
|
</el-col>
|
|
|
- <el-col :span="8" class="btn">
|
|
|
+ <el-col :span="6" class="btn">
|
|
|
<el-link :underline="false" @click="$router.push({ path: '/service/detail', query: { column_name: '展会管理' } })">
|
|
|
<el-image :src="twoPic"></el-image>
|
|
|
<p>展会管理</p>
|
|
|
</el-link>
|
|
|
</el-col>
|
|
|
- <el-col :span="8" class="btn">
|
|
|
+ <el-col :span="6" class="btn">
|
|
|
+ <el-link :underline="false" @click="$router.push({ path: '/service/detail', query: { column_name: '动态监测' } })">
|
|
|
+ <el-image :src="twoPic"></el-image>
|
|
|
+ <p>动态监测</p>
|
|
|
+ </el-link>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="6" class="btn">
|
|
|
<el-link :underline="false" @click="$router.push({ path: '/service/detail', query: { column_name: '科技评估' } })" disabled>
|
|
|
<el-image :src="threePic"></el-image>
|
|
|
<p>科技评估</p>
|
|
|
</el-link>
|
|
|
</el-col>
|
|
|
- <el-col :span="8" class="btn">
|
|
|
+ <el-col :span="6" class="btn">
|
|
|
<el-link :underline="false" @click="$router.push({ path: '/service/detail', query: { column_name: '合同在线' } })" disabled>
|
|
|
<el-image :src="fourPic"></el-image>
|
|
|
<p>合同在线</p>
|
|
|
</el-link>
|
|
|
</el-col>
|
|
|
- <el-col :span="8" class="btn">
|
|
|
+ <el-col :span="6" class="btn">
|
|
|
<el-link :underline="false" @click="$router.push({ path: '/service/detail', query: { column_name: '信用认证' } })" disabled>
|
|
|
<el-image :src="fivePic"></el-image>
|
|
|
<p>信用认证</p>
|
|
|
</el-link>
|
|
|
</el-col>
|
|
|
- <el-col :span="8" class="btn">
|
|
|
+ <el-col :span="6" class="btn">
|
|
|
<el-link :underline="false" @click="$router.push({ path: '/service/detail', query: { column_name: '绩效评价' } })" disabled>
|
|
|
<el-image :src="sixPic"></el-image>
|
|
|
<p>绩效评价</p>
|
|
|
</el-link>
|
|
|
</el-col>
|
|
|
+ <el-col :span="6" class="btn">
|
|
|
+ <el-link :underline="false" @click="$router.push({ path: '/service/detail', query: { column_name: '在线咨询' } })" disabled>
|
|
|
+ <el-image :src="sixPic"></el-image>
|
|
|
+ <p>在线咨询</p>
|
|
|
+ </el-link>
|
|
|
+ </el-col>
|
|
|
+ </el-col>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="24" class="main1">
|
|
|
+ <el-col :span="24" class="main1top">
|
|
|
+ 技术交流
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="24" class="main1info">
|
|
|
+ <van-tabs v-model="active">
|
|
|
+ <van-tab title="专家问诊">
|
|
|
+ <technicallist type="1" :list="oneList"></technicallist>
|
|
|
+ </van-tab>
|
|
|
+ <van-tab title="行业研究">
|
|
|
+ <technicallist type="2" :list="twoList"></technicallist>
|
|
|
+ </van-tab>
|
|
|
+ <van-tab title="嘉宾访谈">
|
|
|
+ <technicallist type="3" :list="threeList"></technicallist>
|
|
|
+ </van-tab>
|
|
|
+ <van-tab title="项目路演">
|
|
|
+ <technicallist type="4" :list="fourList"></technicallist>
|
|
|
+ </van-tab>
|
|
|
+ </van-tabs>
|
|
|
</el-col>
|
|
|
</el-col>
|
|
|
<el-col :span="24" class="foot">
|
|
@@ -96,12 +129,18 @@
|
|
|
import { mapState, createNamespacedHelpers } from 'vuex';
|
|
|
import NavBar from '@/layout/common/topInfo.vue';
|
|
|
import footInfo from '@/layout/common/footInfo.vue';
|
|
|
+import technicallist from './parts/technicallist.vue';
|
|
|
+const { mapActions: column } = createNamespacedHelpers('column');
|
|
|
+const { mapActions: news } = createNamespacedHelpers('news');
|
|
|
+const { mapActions: newsguidance } = createNamespacedHelpers('newsguidance');
|
|
|
+const { mapActions: newsroadshow } = createNamespacedHelpers('newsroadshow');
|
|
|
export default {
|
|
|
name: 'index',
|
|
|
props: {},
|
|
|
components: {
|
|
|
NavBar,
|
|
|
footInfo,
|
|
|
+ technicallist,
|
|
|
},
|
|
|
data: function() {
|
|
|
return {
|
|
@@ -118,10 +157,57 @@ export default {
|
|
|
fourPic: require('@/assets/bendi4.png'),
|
|
|
fivePic: require('@/assets/bendi5.png'),
|
|
|
sixPic: require('@/assets/bendi6.png'),
|
|
|
+ // 技术交流
|
|
|
+ // 栏目列表
|
|
|
+ columnList: [],
|
|
|
+ active: 0,
|
|
|
+ oneList: [],
|
|
|
+ twoList: [],
|
|
|
+ threeList: [],
|
|
|
+ fourList: [],
|
|
|
};
|
|
|
},
|
|
|
- created() {},
|
|
|
+ async created() {
|
|
|
+ await this.searchCloumn();
|
|
|
+ await this.search();
|
|
|
+ },
|
|
|
methods: {
|
|
|
+ ...column({ columnquery: 'query', columnInfo: 'fetch' }),
|
|
|
+ ...news({ newsList: 'query' }),
|
|
|
+ ...newsguidance({ danceQuery: 'query' }),
|
|
|
+ ...newsroadshow({ adshowQuery: 'query' }),
|
|
|
+ // 技术交流
|
|
|
+ async searchCloumn() {
|
|
|
+ const res = await this.columnquery();
|
|
|
+ if (this.$checkRes(res)) {
|
|
|
+ this.$set(this, `columnList`, res.data);
|
|
|
+ }
|
|
|
+ },
|
|
|
+ // 查询列表
|
|
|
+ async search() {
|
|
|
+ let column = this.columnList;
|
|
|
+ for (const i of column) {
|
|
|
+ if (i.name == '专家问诊') {
|
|
|
+ const res = await this.newsList({ column_id: i._id });
|
|
|
+ if (this.$checkRes(res)) {
|
|
|
+ this.$set(this, `oneList`, res.data);
|
|
|
+ }
|
|
|
+ } else if (i.name == '行业研究') {
|
|
|
+ const res = await this.newsList({ column_id: i._id });
|
|
|
+ if (this.$checkRes(res)) {
|
|
|
+ this.$set(this, `twoList`, res.data);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ const jiabin = await this.danceQuery();
|
|
|
+ if (this.$checkRes(jiabin)) {
|
|
|
+ this.$set(this, `threeList`, jiabin.data);
|
|
|
+ }
|
|
|
+ const luyan = await this.adshowQuery();
|
|
|
+ if (this.$checkRes(luyan)) {
|
|
|
+ this.$set(this, `fourList`, luyan.data);
|
|
|
+ }
|
|
|
+ },
|
|
|
// 智慧推荐
|
|
|
oneBtn() {},
|
|
|
// 展会管理
|
|
@@ -169,7 +255,7 @@ export default {
|
|
|
z-index: 999;
|
|
|
}
|
|
|
.main {
|
|
|
- min-height: 570px;
|
|
|
+ // min-height: 570px;
|
|
|
.topImage {
|
|
|
height: 160px;
|
|
|
.el-image {
|
|
@@ -215,6 +301,20 @@ export default {
|
|
|
// }
|
|
|
// }
|
|
|
}
|
|
|
+.main1 {
|
|
|
+ margin: 0 0 50px 0;
|
|
|
+ .main1top {
|
|
|
+ height: 46px;
|
|
|
+ line-height: 46px;
|
|
|
+ text-align: center;
|
|
|
+ background: #2c69fe;
|
|
|
+ color: #fff;
|
|
|
+ }
|
|
|
+ .main1info {
|
|
|
+ height: 565px;
|
|
|
+ overflow-y: auto;
|
|
|
+ }
|
|
|
+}
|
|
|
.foot {
|
|
|
position: absolute;
|
|
|
bottom: 0;
|