From f1b5f9ee574e4917b89a166fc8c9181afa0a31dd Mon Sep 17 00:00:00 2001 From: gaoyuanwei <2826352639@qq.com> Date: Tue, 21 Jun 2022 18:26:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=89=E6=96=B9=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/public/static/config/location.js | 68 +- front/src/views/home/DetailsPageconetent.vue | 723 ++++++++++++++++++- 2 files changed, 744 insertions(+), 47 deletions(-) diff --git a/front/public/static/config/location.js b/front/public/static/config/location.js index 50aebc14..14710547 100644 --- a/front/public/static/config/location.js +++ b/front/public/static/config/location.js @@ -1,32 +1,23 @@ /* * @Author: hisense.wuhongjian * @Date: 2020-07-07 16:03:23 - * @LastEditors: hisense.liangjunhua - * @LastEditTime: 2022-06-21 16:58:56 + * @LastEditors: hisense.wuhongjian + * @LastEditTime: 2022-04-01 10:51:45 * @Description: 数据资源参数配置 */ -const newLocation = 'qingdao' +// const newLocation = 'qingdao' // const newLocation = 'baotou' -// const newLocation = 'xihaian' +const newLocation = 'xihaian' // 数据资源数据 +const whoShow = {} const launchedDataNumObject = {} // 导航数据 const navListManagement = {} // qingdao if (newLocation === 'qingdao') { // 数据资源数据 - launchedDataNumObject.launchedDataNum = [ - { - num: 10374, - }, - { - num: 1080, - }, - { - num: 976, - }, - ] + whoShow.itShowQingDao = true // 导航数据 navListManagement.navList = [ { name: '共享门户', key: 'home' }, @@ -44,34 +35,7 @@ if (newLocation === 'qingdao') { // baotou else if (newLocation === 'baotou') { // 数据资源数据 - launchedDataNumObject.launchedDataNum = [ - { - num: 10373, - }, - { - num: 1080, - }, - { - num: 976, - }, - ] - // 导航数据 - navListManagement.navList = [ - { name: '共享门户', key: 'home' }, - { name: '能力集市', key: 'DetailsPageconetent' }, - { name: '能力云图', key: 'capabilityCloud' }, - { name: '能力统计', key: 'abilityStatistics' }, - { name: '开发指南', key: 'developmentGuide' }, - { name: '需求中心', key: 'demandCenter' }, - // { name: '个人中心', key: 'personalCenter' }, - // { name: '区市站点', key: 'mapTest' }, - // { name: '后台管理', key: 'houtaiguanli' }, - { name: '赋能案例', key: 'assignCase' }, - ] -} -// xihaian -else if (newLocation === 'xihaian') { - // 数据资源数据 + whoShow.itShowBaoTou = true launchedDataNumObject.launchedDataNum = [ { num: 10372, @@ -97,3 +61,21 @@ else if (newLocation === 'xihaian') { { name: '赋能案例', key: 'assignCase' }, ] } +// xihaian +else if (newLocation === 'xihaian') { + // 数据资源数据 + whoShow.itShowXiHaiAn = true + // 导航数据 + navListManagement.navList = [ + { name: '共享门户', key: 'home' }, + { name: '能力集市', key: 'DetailsPageconetent' }, + { name: '能力云图', key: 'capabilityCloud' }, + { name: '能力统计', key: 'abilityStatistics' }, + { name: '开发指南', key: 'developmentGuide' }, + { name: '需求中心', key: 'demandCenter' }, + // { name: '个人中心', key: 'personalCenter' }, + // { name: '区市站点', key: 'mapTest' }, + // { name: '后台管理', key: 'houtaiguanli' }, + { name: '赋能案例', key: 'assignCase' }, + ] +} diff --git a/front/src/views/home/DetailsPageconetent.vue b/front/src/views/home/DetailsPageconetent.vue index fb3cb500..53389403 100644 --- a/front/src/views/home/DetailsPageconetent.vue +++ b/front/src/views/home/DetailsPageconetent.vue @@ -1,5 +1,713 @@