jwyu %!s(int64=2) %!d(string=hai) anos
pai
achega
21fa770edf
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      components/videoBox/videoBox.vue

+ 2 - 1
components/videoBox/videoBox.vue

@@ -266,7 +266,7 @@ export default {
                         this.danmuList.push({
                             ...item,
                             top:this.getTopPosition(),
-                            speed:Math.floor(Math.random()*(16-8+1))+8//4~8 之间的随机数
+                            speed:Math.floor(Math.random()*(16-8+1))+8//8~16 之间的随机数
                         })
                     }
                 }else{
@@ -481,6 +481,7 @@ export default {
             position: absolute;
             font-size: 12px;
             height: 18px;
+            white-space: nowrap;
         }
         .animat-pause{
             animation-play-state: paused;