diff --git a/yudao-ui-admin/src/assets/logo/login-logo.png b/yudao-ui-admin/src/assets/logo/login-logo.png new file mode 100644 index 000000000..bc8f1d154 Binary files /dev/null and b/yudao-ui-admin/src/assets/logo/login-logo.png differ diff --git a/yudao-ui-admin/src/assets/styles/login.scss b/yudao-ui-admin/src/assets/styles/login.scss index c80a84571..ba28fc828 100644 --- a/yudao-ui-admin/src/assets/styles/login.scss +++ b/yudao-ui-admin/src/assets/styles/login.scss @@ -10,11 +10,11 @@ $buttonH: 50; // container $containerBgColor: #e6ebf2; -$containerBgImage: '/assets/images/bg.png'; +$containerBgImage: '../assets/images/bg.png'; // container-logo $logoWidth: 417px; $logoHeight: 64px; -$logoImage: '/assets/logo/logo.png'; +$logoImage: '../assets/logo/login-logo.png'; // container-content $contentWidth: round($W / $H * 100) * 1vw; $contentHeight: round($picH / $W * 100) / 100 * $contentWidth; @@ -22,7 +22,7 @@ $contentBgColor: #ffffff; // container-content-pic $picWidth: round($picW / $H * 100) * 1vw; $picHeight: inherit; -$picImage: '/assets/images/pic.png'; +$picImage: '../assets/images/pic.png'; // container-content-field $fieldWidth: $contentWidth - $picWidth; $fieldHeight: inherit; @@ -270,7 +270,7 @@ $mobileRowH: 48; $mobileButtonH: 48; // container -$mobileContainerBgImage: '/assets/images/bg-mobile.png'; +$mobileContainerBgImage: '../assets/images/bg-mobile.png'; // container-content $mobileContentWidth: round($mobileContentW / $mobileW * 100) * 1vw; $mobileContentHeight: round($mobileContentH / $mobileW * 100) / 100 * $mobileContentWidth; @@ -278,7 +278,7 @@ $mobileContentHeight: round($mobileContentH / $mobileW * 100) / 100 * $mobileCon $mobileFormWidth: round($mobileFormW / $mobileW *100) * 1vw; $mobileRowHeight: $mobileRowH * 1px; $mobileButtonHeight: $mobileButtonH * 1px; -$iconBgImage: '/assets/images/icon.png'; +$iconBgImage: '../assets/images/icon.png'; // - - - - - 移动端设置 @media screen and (max-width: 599px) { diff --git a/yudao-ui-admin/src/views/login.vue b/yudao-ui-admin/src/views/login.vue index a939c704f..bf4fb34ac 100644 --- a/yudao-ui-admin/src/views/login.vue +++ b/yudao-ui-admin/src/views/login.vue @@ -81,7 +81,20 @@ 登 录 中... + + +
+ +
+
+ + + + @@ -283,4 +296,24 @@ export default {