From fc84f8ed92317a9d29bfe1bb921cd648bf746eb7 Mon Sep 17 00:00:00 2001 From: gaoyuanwei <2826352639@qq.com> Date: Tue, 21 Jun 2022 16:49:45 +0800 Subject: [PATCH 1/7] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E8=B5=84=E6=BA=90?= =?UTF-8?q?=E9=83=A8=E5=88=86=E6=9B=B4=E6=94=B9=E3=80=81=E5=AF=BC=E8=88=AA?= =?UTF-8?q?=E6=A0=8F=E4=BF=AE=E6=94=B9=E3=80=81=E4=BA=91=E5=9B=BE=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/public/index.html | 10 +- front/public/static/config/location.js | 103 ++++++++++++++++-- .../components/DataResources.vue | 2 +- .../home/components/DetailsPageResource.vue | 6 +- front/src/views/home/components/header.vue | 25 +++-- 5 files changed, 114 insertions(+), 32 deletions(-) diff --git a/front/public/index.html b/front/public/index.html index bf156246..deb29db3 100644 --- a/front/public/index.html +++ b/front/public/index.html @@ -44,10 +44,10 @@ // window.SITE_CONFIG['frontUrl'] = 'http://10.134.135.9:9796/document/#/devModelFile/'; // window.SITE_CONFIG['apiURL'] = 'http://10.134.135.9:8888/renren-admin'; // 开发 - window.SITE_CONFIG['backUrl'] = 'http://15.2.21.238:9797'; - window.SITE_CONFIG['previewUrl'] = 'http://15.2.21.238:9796'; - window.SITE_CONFIG['frontUrl'] = 'http://15.2.21.238:9796/document/#/devModelFile/'; - window.SITE_CONFIG['apiURL'] = 'http://15.2.21.238:8888/renren-admin'; + window.SITE_CONFIG['backUrl'] = 'http://15.2.21.239:9797'; + window.SITE_CONFIG['previewUrl'] = 'http://15.2.21.239:9796'; + window.SITE_CONFIG['frontUrl'] = 'http://15.2.21.239:9796/document/#/devModelFile/'; + window.SITE_CONFIG['apiURL'] = 'http://15.2.21.239:8888/renren-admin'; // 穿透版本 // window.SITE_CONFIG['backUrl'] = 'http://124.222.94.39:9797'; // window.SITE_CONFIG['previewUrl'] = 'http://124.222.94.39:9796/'; @@ -66,7 +66,7 @@ - + diff --git a/front/public/static/config/location.js b/front/public/static/config/location.js index 732d579b..0b85c99c 100644 --- a/front/public/static/config/location.js +++ b/front/public/static/config/location.js @@ -5,14 +5,95 @@ * @LastEditTime: 2022-04-01 10:51:45 * @Description: 数据资源参数配置 */ -const launchedDataNum = [ - { - num: 10373, - }, - { - num: 1080, - }, - { - num: 976, - }, -] +// const newLocation = 'qingdao' +const newLocation = 'baotou' +// const newLocation = 'xihaian' + +// 数据资源数据 +const launchedDataNumObject = {} +// 导航数据 +const navListManagement = {} +// qingdao +if (newLocation === 'qingdao') { + // 数据资源数据 + launchedDataNumObject.launchedDataNum = [ + { + num: 10374, + }, + { + 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' }, + ] +} +// 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') { + // 数据资源数据 + launchedDataNumObject.launchedDataNum = [ + { + num: 10372, + }, + { + 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' }, + ] +} diff --git a/front/src/views/capabilityCloud/components/DataResources.vue b/front/src/views/capabilityCloud/components/DataResources.vue index 66e9bf62..fb204199 100644 --- a/front/src/views/capabilityCloud/components/DataResources.vue +++ b/front/src/views/capabilityCloud/components/DataResources.vue @@ -143,7 +143,7 @@ // assignRankings.value[i - 1].name = contentData.value.resourceTop5[i - 1].service_name || '' - assignRankings.value[i - 1].opacity = + assignRankings.value[i - 1].operation = contentData.value.resourceTop5[i - 1].count || ' ' } }) diff --git a/front/src/views/home/components/DetailsPageResource.vue b/front/src/views/home/components/DetailsPageResource.vue index 01056c86..157a3605 100644 --- a/front/src/views/home/components/DetailsPageResource.vue +++ b/front/src/views/home/components/DetailsPageResource.vue @@ -32,17 +32,17 @@ const launchedData = ref([ { title: '已上线目录', - num: launchedDataNum[0].num, + num: launchedDataNumObject.launchedDataNum[0].num, img: require('@/assets/home/pageResource/catalogue-icon.png'), }, { title: '已发布服务', - num: launchedDataNum[1].num, + num: launchedDataNumObject.launchedDataNum[1].num, img: require('@/assets/home/pageResource/service-icon.png'), }, { title: '已发布接口', - num: launchedDataNum[2].num, + num: launchedDataNumObject.launchedDataNum[2].num, img: require('@/assets/home/pageResource/port-icon.png'), }, ]) diff --git a/front/src/views/home/components/header.vue b/front/src/views/home/components/header.vue index 84106d79..57c517f4 100644 --- a/front/src/views/home/components/header.vue +++ b/front/src/views/home/components/header.vue @@ -120,22 +120,23 @@ const store = useStore() const router = useRouter() const route = useRoute() - const navList = ref([ - { 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' }, - ]) + // const navListManagement = ref([ + // { 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' }, + // ]) const user = ref({}) const select = ref(router.currentRoute.value.name) const mynoticeFlag = ref(false) const mynoticeData = ref([]) + const navList = ref(navListManagement.navList) const props = defineProps({ showView: { type: String, default: '' }, }) From db187766ccd35f254a19f0dee3d62478f3be194e Mon Sep 17 00:00:00 2001 From: a0049873 <79py69t9wb@privaterelay.appleid.com> Date: Tue, 21 Jun 2022 16:55:59 +0800 Subject: [PATCH 2/7] =?UTF-8?q?=E6=88=91=E7=9A=84=E6=B6=88=E6=81=AF?= =?UTF-8?q?=E6=A8=A1=E5=9D=97=E5=BC=80=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/src/assets/mynoticeView/all.png | Bin 0 -> 1644 bytes front/src/assets/mynoticeView/comment.png | Bin 0 -> 1849 bytes front/src/assets/mynoticeView/notice.png | Bin 0 -> 1990 bytes front/src/router/index.js | 10 + front/src/views/home/components/header.vue | 53 ++-- .../mynoticeView/components/NoticeList.vue | 260 ++++++++++++++++++ front/src/views/mynoticeView/index.vue | 18 ++ 7 files changed, 319 insertions(+), 22 deletions(-) create mode 100644 front/src/assets/mynoticeView/all.png create mode 100644 front/src/assets/mynoticeView/comment.png create mode 100644 front/src/assets/mynoticeView/notice.png create mode 100644 front/src/views/mynoticeView/components/NoticeList.vue create mode 100644 front/src/views/mynoticeView/index.vue diff --git a/front/src/assets/mynoticeView/all.png b/front/src/assets/mynoticeView/all.png new file mode 100644 index 0000000000000000000000000000000000000000..ba1003fc2c88a9cc13663834ed06dcdd0e3ff9a2 GIT binary patch literal 1644 zcmaJ?drT8|94}Ujpr})vf;i8j4jl9zZIPZ7)(0J}6nQy{5~Z{UJ)n2z^?;VmDIh~b zm1PshoXaqZB8rl!$tEfgFsRdk%7iEbd>{^du(9asknD
?-S3gl=ktAilG_;_
z^^u3Ww>yW!@lZ!7W7!pQzSDW^H(`pSh+Vvxa2*pzrZPEt8so@}WC{kT&H6Mf7SkJT
zn=fM_91eFW9uaWo%ZYcJJ(-MnvI?LqT!SlFR!TL