fix: 调整默认背景图片为静态目录

This commit is contained in:
TsMask
2025-03-18 10:14:49 +08:00
parent d3cbf2b748
commit dfa1a580d0
4 changed files with 4 additions and 4 deletions

View File

Before

Width:  |  Height:  |  Size: 226 KiB

After

Width:  |  Height:  |  Size: 226 KiB

View File

Before

Width:  |  Height:  |  Size: 70 KiB

After

Width:  |  Height:  |  Size: 70 KiB

View File

@@ -301,7 +301,7 @@ function fnChangeLocale(e: any) {
// background: url('./../assets/black_dot.png') 0% 0% / 14px 14px repeat;
background-image: url(@/assets/background_light.jpg);
background-image: url(/background/light.jpg);
background-repeat: no-repeat;
background-size: cover;
background-position: center center;
@@ -350,7 +350,7 @@ function fnChangeLocale(e: any) {
}
[data-theme='dark'] .container {
background-image: url(@/assets/background_dark.jpg);
background-image: url(/background/dark.jpg);
background-color: #141414;
}

View File

@@ -79,14 +79,14 @@ onMounted(() => {
// background: url('./../assets/black_dot.png') 0% 0% / 14px 14px repeat;
background-image: url(@/assets/background_light.jpg);
background-image: url(/background/light.jpg);
background-repeat: no-repeat;
background-size: cover;
background-position: center center;
}
[data-theme='dark'] .container {
background-image: url(@/assets/background_dark.jpg);
background-image: url(/background/dark.jpg);
background-color: #141414;
}