张延森 3 лет назад
Родитель
Сommit
635b117e43
1 измененных файлов: 2 добавлений и 2 удалений
  1. 2
    2
      src/components/BgMusic.vue

+ 2
- 2
src/components/BgMusic.vue Просмотреть файл

@@ -61,12 +61,12 @@ export default {
61 61
 
62 62
   width: 2em;
63 63
   height: 2em;
64
-  background-image: url('../assets/indexImg/play.png');
64
+  background-image: url('~@/assets/indexImg/play.png');
65 65
   background-repeat: no-repeat;
66 66
   background-size: 100% 100%;
67 67
 
68 68
   &.icon-playing {
69
-    background-image: url('../assets/indexImg/paused.png');
69
+    background-image: url('~@/assets/indexImg/paused.png');
70 70
     animation: musicrotate 3s linear infinite;
71 71
   }
72 72