From 47c9666f43000f8cf4ce4bf31da5548931fa8437 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E8=8B=A5=E6=99=A8?= <974220104@qq.com> Date: Mon, 9 Oct 2023 17:25:40 +0800 Subject: [PATCH] =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/DynamicHumanRoomData.vue | 2 +- .../overview/components/GridUpdateRanking.vue | 10 +- .../overview/components/RankingGridData.vue | 10 +- .../dataBoard/overview/components/jdwgy.vue | 160 +++++++++++++++--- .../dataBoard/overview/components/sq12345.vue | 12 +- .../dataBoard/overview/components/sqrfph.vue | 12 +- 6 files changed, 176 insertions(+), 30 deletions(-) diff --git a/src/views/dataBoard/overview/components/DynamicHumanRoomData.vue b/src/views/dataBoard/overview/components/DynamicHumanRoomData.vue index 64582c235..7f391e7d2 100644 --- a/src/views/dataBoard/overview/components/DynamicHumanRoomData.vue +++ b/src/views/dataBoard/overview/components/DynamicHumanRoomData.vue @@ -88,7 +88,7 @@ export default { const aniHeight = this.$refs.animation2.querySelector(".tr").offsetHeight * this.pmList.length; - this.$refs.animation2.style.animation = "move2 10s linear infinite"; + this.$refs.animation2.style.animation = `move1 ${this.pmList.length}s linear infinite`; document.styleSheets[0].insertRule( `@keyframes move2{0% {transform: translateY(0px);}100% {transform: translateY(-${aniHeight}px);}`, 0 diff --git a/src/views/dataBoard/overview/components/GridUpdateRanking.vue b/src/views/dataBoard/overview/components/GridUpdateRanking.vue index 523e171a2..e366d3240 100644 --- a/src/views/dataBoard/overview/components/GridUpdateRanking.vue +++ b/src/views/dataBoard/overview/components/GridUpdateRanking.vue @@ -99,8 +99,7 @@ export default { const aniHeight = this.$refs.animation1.querySelector(".tr").offsetHeight * this.pmList.length; - this.$refs.animation1.style.animation = - "move1 10s linear infinite"; + this.$refs.animation1.style.animation = `move1 ${this.pmList.length}s linear infinite`; document.styleSheets[0].insertRule( `@keyframes move1{0% {transform: translateY(0px);}100% {transform: translateY(-${aniHeight}px);}`, 0 @@ -121,4 +120,11 @@ export default { padding-top: 0 !important; height: 150px !important; } +.zanwuText { + margin-top: -34px; + font-size: 14px; + font-family: PingFang SC; + font-weight: 500; + color: #a3b9da; +} diff --git a/src/views/dataBoard/overview/components/RankingGridData.vue b/src/views/dataBoard/overview/components/RankingGridData.vue index 79da96114..76b1094d7 100644 --- a/src/views/dataBoard/overview/components/RankingGridData.vue +++ b/src/views/dataBoard/overview/components/RankingGridData.vue @@ -120,8 +120,7 @@ export default { const aniHeight = this.$refs.animation3.querySelector(".tr").offsetHeight * this.pmList.length; - this.$refs.animation3.style.animation = - "move3 10s linear infinite"; + this.$refs.animation3.style.animation = `move3 ${this.pmList.length}s linear infinite`; document.styleSheets[0].insertRule( `@keyframes move3{0% {transform: translateY(0px);}100% {transform: translateY(-${aniHeight}px);}`, 0 @@ -162,4 +161,11 @@ export default { } } } +.zanwuText { + margin-top: -34px; + font-size: 14px; + font-family: PingFang SC; + font-weight: 500; + color: #a3b9da; +} diff --git a/src/views/dataBoard/overview/components/jdwgy.vue b/src/views/dataBoard/overview/components/jdwgy.vue index a15baf56e..a62603efe 100644 --- a/src/views/dataBoard/overview/components/jdwgy.vue +++ b/src/views/dataBoard/overview/components/jdwgy.vue @@ -1,7 +1,16 @@