Commit 69abf5b4 authored by 徐一鸣's avatar 徐一鸣

应用部署排名分析自动轮播优化

parent 02e4f30a
...@@ -66,12 +66,12 @@ export default { ...@@ -66,12 +66,12 @@ export default {
this.$el.scrollTop = 0; this.$el.scrollTop = 0;
this.timer = setInterval(() => { this.timer = setInterval(() => {
let curScrollTop = this.$el.scrollTop + 1; let curScrollTop = this.$el.scrollTop + 50;
if (curScrollTop > this.$el.scrollHeight - this.$el.clientHeight) { if (curScrollTop > this.$el.scrollHeight - this.$el.clientHeight) {
curScrollTop = 0; curScrollTop = 0;
} }
this.$el.scrollTop = curScrollTop; this.$el.scrollTop = curScrollTop;
}, 50); }, 1500);
}, },
mouseenter() { mouseenter() {
if (this.timer) { if (this.timer) {
...@@ -136,6 +136,7 @@ export default { ...@@ -136,6 +136,7 @@ export default {
flex-grow: 1; flex-grow: 1;
} }
.item_info > span:first-child { .item_info > span:first-child {
width: 200px;
flex-grow: 1; flex-grow: 1;
margin-right: 10px; margin-right: 10px;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment