jwyu пре 2 година
родитељ
комит
21fa770edf
1 измењених фајлова са 2 додато и 1 уклоњено
  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;