diff --git a/src/components/e-charts/toplist.vue b/src/components/e-charts/toplist.vue index 1c7253e6237d75c1a32d42f9ed23ab44f52c3539..5f6d31b395d9049ac88fafefb809e213c4be57c0 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; }