Browse Source

Update BackToTop.vue

star7th 6 years ago
parent
commit
22a288998c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      web_src/src/components/common/BackToTop.vue

+ 2 - 2
web_src/src/components/common/BackToTop.vue

@@ -14,7 +14,7 @@ export default {
       status: false,
       scrollTop: 0,
       timer: null,
-      speed:0
+      speed:50
     }
   },
   mounted () {
@@ -28,7 +28,7 @@ export default {
     gototop () {
       let _t = this;
       _t.timer = setInterval(function(){
-        _t.scrollTop -= 100
+        _t.scrollTop -= 2000
         if (_t.scrollTop < 100) {
           _t.scrollTop = 0;
           _t.status = false;