fix: 调整默认背景图片为静态目录
This commit is contained in:
|
Before Width: | Height: | Size: 226 KiB After Width: | Height: | Size: 226 KiB |
|
Before Width: | Height: | Size: 70 KiB After Width: | Height: | Size: 70 KiB |
@@ -301,7 +301,7 @@ function fnChangeLocale(e: any) {
|
|||||||
|
|
||||||
// background: url('./../assets/black_dot.png') 0% 0% / 14px 14px repeat;
|
// 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-repeat: no-repeat;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
background-position: center center;
|
background-position: center center;
|
||||||
@@ -350,7 +350,7 @@ function fnChangeLocale(e: any) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
[data-theme='dark'] .container {
|
[data-theme='dark'] .container {
|
||||||
background-image: url(@/assets/background_dark.jpg);
|
background-image: url(/background/dark.jpg);
|
||||||
background-color: #141414;
|
background-color: #141414;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -79,14 +79,14 @@ onMounted(() => {
|
|||||||
|
|
||||||
// background: url('./../assets/black_dot.png') 0% 0% / 14px 14px repeat;
|
// 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-repeat: no-repeat;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
background-position: center center;
|
background-position: center center;
|
||||||
}
|
}
|
||||||
|
|
||||||
[data-theme='dark'] .container {
|
[data-theme='dark'] .container {
|
||||||
background-image: url(@/assets/background_dark.jpg);
|
background-image: url(/background/dark.jpg);
|
||||||
background-color: #141414;
|
background-color: #141414;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user