From 69abf5b4af8e01c510df5208a407a14f02a7ecbc Mon Sep 17 00:00:00 2001 From: xuyiming Date: Thu, 16 Jul 2020 17:53:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=94=E7=94=A8=E9=83=A8=E7=BD=B2=E6=8E=92?= =?UTF-8?q?=E5=90=8D=E5=88=86=E6=9E=90=E8=87=AA=E5=8A=A8=E8=BD=AE=E6=92=AD?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/e-charts/toplist.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/e-charts/toplist.vue b/src/components/e-charts/toplist.vue index 1c7253e..5f6d31b 100644 --- a/src/components/e-charts/toplist.vue +++ b/src/components/e-charts/toplist.vue @@ -66,12 +66,12 @@ export default { this.$el.scrollTop = 0; this.timer = setInterval(() => { - let curScrollTop = this.$el.scrollTop + 1; + let curScrollTop = this.$el.scrollTop + 50; if (curScrollTop > this.$el.scrollHeight - this.$el.clientHeight) { curScrollTop = 0; } this.$el.scrollTop = curScrollTop; - }, 50); + }, 1500); }, mouseenter() { if (this.timer) { @@ -136,6 +136,7 @@ export default { flex-grow: 1; } .item_info > span:first-child { + width: 200px; flex-grow: 1; margin-right: 10px; } -- 2.26.0