diff --git a/frontend/src/views/Login.vue b/frontend/src/views/Login.vue index 296ad44..dd4f8c8 100644 --- a/frontend/src/views/Login.vue +++ b/frontend/src/views/Login.vue @@ -194,11 +194,17 @@ - + + 钉钉登录 @@ -884,6 +890,9 @@ onUnmounted(() => { color: $text-white; font-size: $font-size-base; transition: all 0.2s ease; + display: flex; + align-items: center; + justify-content: center; &:hover:not(:disabled) { background: $bg-tertiary; @@ -892,6 +901,24 @@ onUnmounted(() => { &:disabled { opacity: 0.5; + } + } + + .dingtalk-login-button { + background: #0070f3; + border-color: #0070f3; + color: #ffffff; + + &:hover:not(:disabled) { + background: #0051cc; + border-color: #0051cc; + } + + .dingtalk-logo { + width: 20px; + height: 20px; + margin-right: 8px; + vertical-align: middle; cursor: not-allowed; } }