封装背景音乐功能

This commit is contained in:
Andy Leong
2024-01-12 00:33:19 +08:00
parent de023d9c2e
commit 2feefb2c38
5 changed files with 1461 additions and 15 deletions

View File

@@ -25,7 +25,7 @@ $green: green;
// DIV背景
@mixin bg_pos($src) {
// new URL(`../assets/images/${url}`, import.meta.url).href
background-image: url("../assets/images/" + $src);
background-image: url("@/assets/images/" + $src);
background-repeat: no-repeat;
background-size: 100% 100%;
}