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/5] =?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/5] =?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_91eFW9-Yd}l=2hA
zT1ZPNFcTh;OJi}lQSpY{41>hT4+{lCtSBpB#uzZ0u4c@6S`Q3#VE
z<-bl!r;P>_B#i-LfjH0r!6IOlL;#CnQ7{|;AP_7BAt4A017QS(Bq%Hf#vVQ!jW(vD
zu}algEcPVjn;3>dK`$-~Sc1
z#M>wgjKwTu7Hwb$m+I>bMWG5B(=#L;Pm-DAU5qx73~4cu6rfN5ehD~XBy%kOqj0Sj
zRTCCQPZ%(@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*@Jy}5&ZcPS(Z+#``lzhd#4dbUssZP-
zQg^@1=Fvrcld<+{PCj?+$z;S(%~0+~g$D1I&(~z@k8~R<`@|oY?GmmkuIl>8aLg*?
zUhE5Sa;Q7UMI$SHf1bA(zinF8F>sS?JEbpSX3!F29XJ&s#SRMm0FdC5>(i
z&n_Me=}mE>e)jJ(>29XSjipDY%{a-!lm4^SE}AdRYid2MHZARx7K{vOHsZpVW!-b1&!CAzOGj4TT{$aeEv}?cI
zEBpX>?{HcIH^|ZFMTJJhUlsF|9-1_cJpZvjHS~D0>jPgViO2tQ`2sRw-V}1Yb5uc9
z44Vp`gZa-Jt9n;#JM(U>r{9?K*=p@QhZAK4rb8RJ-}=1wdYRRY-=x3CT^)Y5&P6dN
z9X&Xa{#A$X#`O(VHKyt#Q)n0Asqc+fUqwfJ(mm%&v$F2qRW{`PZDB~j+TXn}jqPzv
zy+;3m^02un?rPlOv(j_d6G|?pvl$+R-(AWw-7RT7WfE~iM~&e@G_&d$v*;0d&*ZV6
zJeZPaaz9x>Kw8u2smv2knhLt%olQ?iXh8XRAkvXlm>SL import('@/views/mynoticeView'),
+ meta: {
+ title: '我的消息',
+ icon: 'error-warning-line',
+ },
+ },
{
path: '/WorkDynDetails',
name: 'WorkDynDetails',
diff --git a/front/src/views/home/components/header.vue b/front/src/views/home/components/header.vue
index 84106d79..ecbfd950 100644
--- a/front/src/views/home/components/header.vue
+++ b/front/src/views/home/components/header.vue
@@ -59,20 +59,15 @@
-
+
-
- {{ item.content }}
- {{ item.title }}
-
-
- 设为已读
-
+ {{ item.content }}
+ 查看更多
@@ -113,7 +108,7 @@
import { ref, onMounted, onBeforeUnmount, defineProps } from 'vue'
import { recordRoute } from '@/config'
import { useRoute, useRouter } from 'vue-router'
- import { getUser, mynotice, mynoticeRead } from '@/api/home'
+ import { getUser, mynotice } from '@/api/home'
import { useStore } from 'vuex'
import { getSgcTotal } from '@/api/home'
import mybus from '@/myplugins/mybus'
@@ -243,15 +238,20 @@
mynotice({ page: 1, limit: 999, readStatus: 0 }).then((res) => {
console.log('我的消息', res.data.data)
mynoticeNum.value = res.data.data.total
- mynoticeData.value = res.data.data.list
+ mynoticeData.value = res.data.data.list.splice(0, 3)
})
}
- const read = (item) => {
- mynoticeRead(item.id).then((res) => {
- console.log('已读', res)
- getMynotice()
+ const goToView = () => {
+ router.push({
+ path: '/mynoticeView',
})
}
+ // const read = (item) => {
+ // mynoticeRead(item.id).then((res) => {
+ // console.log('已读', res)
+ // getMynotice()
+ // })
+ // }
onMounted(() => {
getSgcTotal().then((res) => {
console.log('初始化========================>', res.data.data.count)
@@ -397,7 +397,7 @@
}
}
.mynotice {
- width: 2.5rem;
+ width: 4rem;
height: 3rem;
background: #eee;
border-radius: 0.05rem;
@@ -405,24 +405,33 @@
top: 0.45rem;
right: 3.1rem;
overflow-y: scroll;
+ .bottom {
+ cursor: pointer;
+ width: 100%;
+ text-align: center;
+ color: #000;
+ font-size: 0.16rem;
+ }
}
.mynotice::-webkit-scrollbar {
display: none;
}
:deep(.ant-list-item) {
border-bottom: 0.01rem solid #ccc;
+ padding: 0.1rem;
}
:deep(.ant-list-item-meta-title) {
- display: flex;
- justify-content: space-around;
- align-items: center;
- padding: 0 0.05rem;
+ // display: flex;
+ // justify-content: space-around;
+ // align-items: center;
+ // padding: 0 0.05rem;
a {
- width: 1.5rem;
- // 超出显示...
+ width: 3.8rem;
overflow: hidden;
text-overflow: ellipsis;
- white-space: nowrap;
+ display: -webkit-box;
+ -webkit-line-clamp: 2;
+ -webkit-box-orient: vertical;
}
button {
width: 0.7rem;
diff --git a/front/src/views/mynoticeView/components/NoticeList.vue b/front/src/views/mynoticeView/components/NoticeList.vue
new file mode 100644
index 00000000..7e4db574
--- /dev/null
+++ b/front/src/views/mynoticeView/components/NoticeList.vue
@@ -0,0 +1,260 @@
+
+
+
+
+
+
+
+
{{ nav.title + '(' + nav.num + ')' }}
+
+
+
+
搜索
+
+
+
+
+
+
搜索
+
重置
+
+
+
+
+
+ 全部消息
+ 已读消息
+ 未读消息
+
+
+
+
全选
+
+ 共
+ 2
+ 条消息
+
+
+
+
标记为已读
+
+
+
+
+
+
+
+
+ {{ item.title }}
+
+ {{ '发布时间:' + item.time }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/front/src/views/mynoticeView/index.vue b/front/src/views/mynoticeView/index.vue
new file mode 100644
index 00000000..8b012893
--- /dev/null
+++ b/front/src/views/mynoticeView/index.vue
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
From 15b0d7c5ae71d3857375d2c2bf5c5590ff32676f Mon Sep 17 00:00:00 2001
From: a0049873 <79py69t9wb@privaterelay.appleid.com>
Date: Tue, 21 Jun 2022 17:01:04 +0800
Subject: [PATCH 3/5] =?UTF-8?q?=E5=A4=B4=E9=83=A8=E5=8A=A0=E9=98=B4?=
=?UTF-8?q?=E5=BD=B1?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
front/src/views/home/components/header.vue | 2 ++
1 file changed, 2 insertions(+)
diff --git a/front/src/views/home/components/header.vue b/front/src/views/home/components/header.vue
index 6c4639dd..3fc68faa 100644
--- a/front/src/views/home/components/header.vue
+++ b/front/src/views/home/components/header.vue
@@ -131,6 +131,7 @@
const select = ref(router.currentRoute.value.name)
const mynoticeFlag = ref(false)
const mynoticeData = ref([])
+ // eslint-disable-next-line no-undef
const navList = ref(navListManagement.navList)
const props = defineProps({
showView: { type: String, default: '' },
@@ -362,6 +363,7 @@
}
.white {
background-color: #fff;
+ box-shadow: 0 0.02rem 0.1rem rgba(0, 0, 0, 0.1);
.name {
color: #0058e1;
}
From 25eed3e27b91b084f3779ab0308af764f28b33bc Mon Sep 17 00:00:00 2001
From: a0049873 <79py69t9wb@privaterelay.appleid.com>
Date: Tue, 21 Jun 2022 17:01:19 +0800
Subject: [PATCH 4/5] =?UTF-8?q?=E9=9D=92=E5=B2=9B=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 | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/front/public/static/config/location.js b/front/public/static/config/location.js
index 0b85c99c..50aebc14 100644
--- a/front/public/static/config/location.js
+++ b/front/public/static/config/location.js
@@ -1,12 +1,12 @@
/*
* @Author: hisense.wuhongjian
* @Date: 2020-07-07 16:03:23
- * @LastEditors: hisense.wuhongjian
- * @LastEditTime: 2022-04-01 10:51:45
+ * @LastEditors: hisense.liangjunhua
+ * @LastEditTime: 2022-06-21 16:58:56
* @Description: 数据资源参数配置
*/
-// const newLocation = 'qingdao'
-const newLocation = 'baotou'
+const newLocation = 'qingdao'
+// const newLocation = 'baotou'
// const newLocation = 'xihaian'
// 数据资源数据
From c9855a55c30fbb3c4c2dd9d45dc30337e9858b3b Mon Sep 17 00:00:00 2001
From: a0049873 <79py69t9wb@privaterelay.appleid.com>
Date: Tue, 21 Jun 2022 17:04:20 +0800
Subject: [PATCH 5/5] =?UTF-8?q?=E6=BB=9A=E5=8A=A8=E6=9D=A1bug=E4=BF=AE?=
=?UTF-8?q?=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
front/src/views/home/components/header.vue | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/front/src/views/home/components/header.vue b/front/src/views/home/components/header.vue
index 3fc68faa..17e0cad5 100644
--- a/front/src/views/home/components/header.vue
+++ b/front/src/views/home/components/header.vue
@@ -265,21 +265,21 @@
if (mynoticeDom) {
mynoticeDom.addEventListener('mouseover', () => {
mynoticeFlag.value = true
- document.documentElement.style.overflow = 'hidden'
+ document.documentElement.style.overflowY = 'hidden'
})
mynoticeDom.addEventListener('mouseout', () => {
mynoticeFlag.value = false
- document.documentElement.style.overflow = 'scroll'
+ document.documentElement.style.overflowY = 'scroll'
})
}
if (mynotice) {
mynotice.addEventListener('mouseover', () => {
mynoticeFlag.value = true
- document.documentElement.style.overflow = 'hidden'
+ document.documentElement.style.overflowY = 'hidden'
})
mynotice.addEventListener('mouseout', () => {
mynoticeFlag.value = false
- document.documentElement.style.overflow = 'scroll'
+ document.documentElement.style.overflowY = 'scroll'
})
}
mybus.on('getSgcNum', () => {