张延森 3 年之前
父節點
當前提交
635b117e43
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      src/components/BgMusic.vue

+ 2
- 2
src/components/BgMusic.vue 查看文件

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