1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- <template>
- <div id="index">
- <el-row>
- <el-col :span="24" class="style">
- <el-col :span="24" class="top">
- <NavBar v-show="navShow" :title="title" :isleftarrow="isleftarrow" @onClickLeft="onClickLeft"> </NavBar>
- </el-col>
- <el-col :span="24" class="main">
- <span v-if="column_name == '智慧推荐'">智慧推荐</span>
- <span v-else-if="column_name == '展会管理'"><twoInfo :column_name="column_name"></twoInfo></span>
- <span v-else-if="column_name == '动态监测'"><threeInfo :column_name="column_name"></threeInfo></span>
- <span v-else-if="column_name == '科技评估'">科技评估</span>
- <span v-else-if="column_name == '合同在线'">合同在线</span>
- <span v-else-if="column_name == '信用认证'">信用认证</span>
- <span v-else-if="column_name == '绩效评价'">绩效评价</span>
- <span v-else-if="column_name == '在线咨询'">在线咨询</span>
- </el-col>
- </el-col>
- </el-row>
- </div>
- </template>
- <script>
- import { mapState, createNamespacedHelpers } from 'vuex';
- import NavBar from '@/layout/common/topInfo.vue';
- import footInfo from '@/layout/common/footInfo.vue';
- import twoInfo from './parts/twoInfo.vue';
- import threeInfo from './parts/threeInfo.vue';
- export default {
- name: 'index',
- props: {},
- components: {
- NavBar,
- // footInfo,
- twoInfo, //展会管理
- threeInfo, //动态监测
- },
- data: function() {
- return {
- // 头部标题
- title: '',
- // meta为true
- isleftarrow: '',
- // 返回
- navShow: true,
- };
- },
- created() {},
- methods: {
- // 返回
- onClickLeft() {
- this.$router.push({ path: '/service/index' });
- },
- },
- computed: {
- ...mapState(['user']),
- column_name() {
- return this.$route.query.column_name;
- },
- },
- mounted() {
- this.title = this.$route.meta.title;
- this.isleftarrow = this.$route.meta.isleftarrow;
- },
- };
- </script>
- <style lang="less" scoped>
- .style {
- width: 100%;
- min-height: 667px;
- position: relative;
- background-color: #f9fafc;
- }
- .top {
- height: 46px;
- overflow: hidden;
- position: relative;
- z-index: 999;
- }
- .main {
- min-height: 570px;
- }
- .foot {
- position: absolute;
- bottom: 0;
- }
- </style>
|