From fb286c173fa336ad55d318e2f8f40c24629882ff Mon Sep 17 00:00:00 2001 From: Vce Date: Sat, 15 Jun 2024 20:31:54 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E5=AE=8C=E6=88=90=E7=8E=B0=E5=9C=BA?= =?UTF-8?q?=E5=A4=A7=E5=B1=8F=E4=B8=AD=E4=B8=8A=E9=83=A8=E5=88=86=E5=AE=89?= =?UTF-8?q?=E5=85=A8=E6=95=99=E8=82=B2=E6=8E=A5=E5=8F=A3=E5=AF=B9=E6=8E=A5?= =?UTF-8?q?=20fix:=E8=B0=83=E6=95=B4=E5=B7=A6=E4=B8=8B=E9=83=A8=E5=88=86?= =?UTF-8?q?=E7=89=B9=E6=AE=8A=E4=BD=9C=E4=B8=9A=E6=83=85=E5=86=B5=E3=80=81?= =?UTF-8?q?=E4=B8=AD=E4=B8=8A=E9=83=A8=E5=88=86=E5=AE=89=E5=85=A8=E6=95=99?= =?UTF-8?q?=E8=82=B2=E3=80=81=E4=B8=AD=E4=B8=8B=E5=B7=A6=E9=83=A8=E5=88=86?= =?UTF-8?q?=E5=8A=B3=E5=8A=A1=E5=AE=9E=E5=90=8D=E5=88=B6=E3=80=81=E4=B8=AD?= =?UTF-8?q?=E4=B8=8B=E5=8F=B3=E9=83=A8=E5=88=86=E8=B4=A8=E9=87=8F=E5=BE=85?= =?UTF-8?q?=E5=8A=9E=E3=80=81=E5=8F=B3=E4=B8=8A=E9=83=A8=E5=88=86=E5=BA=94?= =?UTF-8?q?=E6=80=A5=E8=AE=B0=E5=BD=95=E3=80=81=E5=8F=B3=E4=B8=8B=E9=83=A8?= =?UTF-8?q?=E5=88=86=E5=AE=89=E5=85=A8=E5=BE=85=E5=8A=9E=E7=9A=84=E7=BB=86?= =?UTF-8?q?=E8=8A=82=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../liveScreen/centerBottomLeft.vue | 2 +- .../liveScreen/centerBottomRight.vue | 2 +- .../liveScreen/centerTop(旧版2).vue | 322 +++++++++++++++++ .../agjtLiveScreen/liveScreen/centerTop.vue | 336 ++++++------------ src/views/agjtLiveScreen/liveScreen/index.vue | 14 +- .../agjtLiveScreen/liveScreen/leftBottom.vue | 14 +- .../agjtLiveScreen/liveScreen/leftTop.vue | 28 +- .../agjtLiveScreen/liveScreen/rightTop.vue | 4 +- 8 files changed, 481 insertions(+), 241 deletions(-) create mode 100644 src/views/agjtLiveScreen/liveScreen/centerTop(旧版2).vue diff --git a/src/views/agjtLiveScreen/liveScreen/centerBottomLeft.vue b/src/views/agjtLiveScreen/liveScreen/centerBottomLeft.vue index 6a24e3a..24aafe2 100644 --- a/src/views/agjtLiveScreen/liveScreen/centerBottomLeft.vue +++ b/src/views/agjtLiveScreen/liveScreen/centerBottomLeft.vue @@ -17,7 +17,7 @@
- +
1
diff --git a/src/views/agjtLiveScreen/liveScreen/centerBottomRight.vue b/src/views/agjtLiveScreen/liveScreen/centerBottomRight.vue index c5a01f7..89d962c 100644 --- a/src/views/agjtLiveScreen/liveScreen/centerBottomRight.vue +++ b/src/views/agjtLiveScreen/liveScreen/centerBottomRight.vue @@ -2,7 +2,7 @@
- +
外墙、顶板、地板出现贯通性裂缝
diff --git a/src/views/agjtLiveScreen/liveScreen/centerTop(旧版2).vue b/src/views/agjtLiveScreen/liveScreen/centerTop(旧版2).vue new file mode 100644 index 0000000..d8b8cdd --- /dev/null +++ b/src/views/agjtLiveScreen/liveScreen/centerTop(旧版2).vue @@ -0,0 +1,322 @@ + + + + + diff --git a/src/views/agjtLiveScreen/liveScreen/centerTop.vue b/src/views/agjtLiveScreen/liveScreen/centerTop.vue index 645146e..fb6d4e2 100644 --- a/src/views/agjtLiveScreen/liveScreen/centerTop.vue +++ b/src/views/agjtLiveScreen/liveScreen/centerTop.vue @@ -1,38 +1,41 @@ @@ -263,32 +133,51 @@ onMounted(async () => { width: 100%; height: 100%; position: relative; - .set-icon { - width: 28px; - height: 28px; - background: url("@/assets/images/overviewScreen/set-icon.png") no-repeat; - background-size: 100% 100%; + .video-config { position: absolute; - top: 1.2%; - right: 0; - cursor: pointer; + top: 1.5%; + right: 1%; + .config-icon { + cursor: pointer; + } } .videoBox { width: 100%; - height: 100%; - // margin-top: 8%; - // background: url("@/assets/images/comprehensiveManage/project10.png") no-repeat; - // background-size: 100% 100%; - + height: 103.255%; + transform: translateY(-11px); .videos { width: 100%; height: 100%; object-fit: fill; - z-index: 9; - // margin-left: 11%; - // margin-top: 1%; } } + .imgBox { + width: 100%; + height: 92%; + margin-top: 8%; + background: url("@/assets/images/comprehensiveManage/project10.png") no-repeat; + background-size: 100% 100%; + .imgs { + width: 78%; + height: 82%; + margin: 3% 11%; + img { + width: 100%; + height: 100%; + margin-top: 5%; + } + } + } + .href-content { + width: 100%; + height: 92%; + margin-top: 8%; + background: url("@/assets/images/comprehensiveManage/project10.png") no-repeat; + background-size: 100% 100%; + display: flex; + align-items: center; + justify-content: center; + } } // .href-content { @@ -318,7 +207,6 @@ onMounted(async () => { padding: 0 30%; display: flex; justify-content: space-around; - .tab-box { font-size: 16px; color: rgba(255, 255, 255, 0.3); @@ -326,9 +214,7 @@ onMounted(async () => { } } -:deep(.h-card .content) { - margin-top: 1%; - height: 92%; +::v-deep .h-card .content { background: none; } diff --git a/src/views/agjtLiveScreen/liveScreen/index.vue b/src/views/agjtLiveScreen/liveScreen/index.vue index 75c53b3..d7630dd 100644 --- a/src/views/agjtLiveScreen/liveScreen/index.vue +++ b/src/views/agjtLiveScreen/liveScreen/index.vue @@ -54,11 +54,11 @@ const rightTopRef = ref(); const rightBottomRef = ref(); const callChildFn = async () => { nextTick( async ()=>{ - leftTopRef.value.projectTypeEnum() - centerTopRef.value.getQueryBySnData() - centerBottomLeftRef.value.getProgressOption() - rightTopRef.value.getSafeInfo() - rightBottomRef.value.getList() + // leftTopRef.value.projectTypeEnum() + // centerTopRef.value.getQueryBySnData() + // centerBottomLeftRef.value.getProgressOption() + // rightTopRef.value.getSafeInfo() + // rightBottomRef.value.getList() }) } //定时器 @@ -66,8 +66,8 @@ const interval = ref(null as any); //定时调用 const startInterval = async () => { interval.value= setInterval(() => { - getPersonDetail(); - getProjectInfo(); + // getPersonDetail(); + // getProjectInfo(); callChildFn(); }, 30 * 1000); } diff --git a/src/views/agjtLiveScreen/liveScreen/leftBottom.vue b/src/views/agjtLiveScreen/liveScreen/leftBottom.vue index b5d1ed2..0ae7fae 100644 --- a/src/views/agjtLiveScreen/liveScreen/leftBottom.vue +++ b/src/views/agjtLiveScreen/liveScreen/leftBottom.vue @@ -89,8 +89,11 @@ function drawPie(){ label: { // formatter: '{a|{a}}{abg|}\n{hr|}\n {b|{b}:}{c} {per|{d}%} ', formatter: function(params: any){ - return '{name|'+ tempList.value[params.dataIndex].name +'}{abg|} {per|'+ tempList.value[params.dataIndex].per +'%}\n{hr|}\n已完成:' - + tempList.value[params.dataIndex].value+' 进行中:' + tempList.value[params.dataIndex].doing + let done = '已完成:'+ tempList.value[params.dataIndex].value + ' ' + return '{name|'+ tempList.value[params.dataIndex].name +'}{abg|} {per|'+ tempList.value[params.dataIndex].per +'%}\n{hr|}\n{done|'+ done + +'} 进行中:' + tempList.value[params.dataIndex].doing + // return '{name|'+ tempList.value[params.dataIndex].name +'}{abg|} {per|'+ tempList.value[params.dataIndex].per +'%}\n{hr|}\n已完成:' + // + tempList.value[params.dataIndex].value+' 进行中:' + tempList.value[params.dataIndex].doing }, // backgroundColor: '#1c447b', backgroundColor: 'rgba(28,68,123,0.5)', @@ -100,8 +103,13 @@ function drawPie(){ }, rich: { name:{ + color: '#fff', align: 'center', - lineHeight: 10 + lineHeight: 20 + }, + done:{ + color: '#fff', + lineHeight: 20 }, // a: { // color: '#fff', diff --git a/src/views/agjtLiveScreen/liveScreen/leftTop.vue b/src/views/agjtLiveScreen/liveScreen/leftTop.vue index e2fcc56..58ad122 100644 --- a/src/views/agjtLiveScreen/liveScreen/leftTop.vue +++ b/src/views/agjtLiveScreen/liveScreen/leftTop.vue @@ -1,5 +1,10 @@