From ba8dc41c832b0a17a64fe69068af242799ab681d Mon Sep 17 00:00:00 2001 From: aixianling Date: Tue, 21 Jan 2025 09:15:50 +0800 Subject: [PATCH] =?UTF-8?q?refactor(ui):=20=E6=9B=B4=E6=96=B0=20CDN=20?= =?UTF-8?q?=E5=9F=9F=E5=90=8D=E5=B9=B6=E7=BB=9F=E4=B8=80=E8=B5=84=E6=BA=90?= =?UTF-8?q?=E8=B7=AF=E5=BE=84=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 CDN 域名从 https://cdn.cunwuyun.cn/ 更改为 https://cdn.sinoecare.com/ - 统一资源路径格式,移除多余的斜杠 - 更新了多个样式类中的背景图片 URL --- ui/lib/styles/common.scss | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/ui/lib/styles/common.scss b/ui/lib/styles/common.scss index 326ff990..238ef53f 100644 --- a/ui/lib/styles/common.scss +++ b/ui/lib/styles/common.scss @@ -3,7 +3,7 @@ @import "ckeditor"; @import "vars"; -$cdn: "https://cdn.cunwuyun.cn/"; +$cdn: "https://cdn.sinoecare.com/"; $--color-primary: $primaryColor; $--color-text-placeholder: $placeholderColor; $--border-color-base: $borderColor; @@ -164,7 +164,7 @@ $--font-path: '~element-ui/lib/theme-chalk/fonts'; 缺省页相关样式 */ .no-data { - background: url("https://cdn.cunwuyun.cn/ui/svg/NoData.svg") no-repeat center; + background: url("https://cdn.sinoecare.com/ui/svg/NoData.svg") no-repeat center; background-size: 120px 120px; height: 120px; margin: 48px auto 10px; @@ -174,28 +174,28 @@ $--font-path: '~element-ui/lib/theme-chalk/fonts'; 缺省页相关样式 */ .ai-empty__bg { - background: url("https://cdn.cunwuyun.cn/ui/svg/empty.svg") no-repeat center; + background: url("https://cdn.sinoecare.com/ui/svg/empty.svg") no-repeat center; background-size: 120px 120px; height: 120px; margin: 48px auto 0; } .no-permission { - background: url("https://cdn.cunwuyun.cn/ui/svg/NoAuthority.svg") no-repeat center; + background: url("https://cdn.sinoecare.com/ui/svg/NoAuthority.svg") no-repeat center; background-size: 120px 120px; height: 120px; margin-top: 48px; } .no-message { - background: url("https://cdn.cunwuyun.cn/ui/svg/NoMessage.svg") no-repeat center; + background: url("https://cdn.sinoecare.com/ui/svg/NoMessage.svg") no-repeat center; background-size: 120px 120px; height: 120px; margin-top: 48px; } .done-success { - background: url("https://cdn.cunwuyun.cn/ui/svg/Success.svg") no-repeat center; + background: url("https://cdn.sinoecare.com/ui/svg/Success.svg") no-repeat center; background-size: 120px 120px; height: 120px; } @@ -207,7 +207,7 @@ $--font-path: '~element-ui/lib/theme-chalk/fonts'; } .developing { - background: url("https://cdn.cunwuyun.cn/ui/svg/developing.svg") no-repeat center; + background: url("https://cdn.sinoecare.com/ui/svg/developing.svg") no-repeat center; background-size: 400px 320px; width: 100%; height: 100%; @@ -657,11 +657,11 @@ h1, h2, h3, p { */ .signLeftBg { - background-image: url('#{$cdn}/ui/background/#{$theme}/loginLeft.png'); + background-image: url('#{$cdn}ui/background/#{$theme}/loginLeft.png'); } .navBg { - background-image: url('#{$cdn}/ui/background/#{$theme}/nav_bg.png'); + background-image: url('#{$cdn}ui/background/#{$theme}/nav_bg.png'); } /**