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 @@