+
-
+
{{ countdown > 0 ? `${countdown}s` : (smsSending ? '发送中...' : '获取验证码') }}
@@ -227,6 +235,7 @@ onMounted(() => {
display: flex;
align-items: center;
justify-content: center;
+ padding: 2rem 1rem;
}
.container {
@@ -245,6 +254,22 @@ onMounted(() => {
box-shadow: none;
}
+.login-form {
+ margin-top: 0.5rem;
+}
+
+.sms-code-row {
+ display: flex;
+ align-items: center;
+ gap: 0.5rem;
+ width: 100%;
+}
+
+.sms-code-button {
+ white-space: nowrap;
+ min-width: 110px;
+}
+
.captcha-container {
width: 120px;
height: 40px;
@@ -395,5 +420,16 @@ onMounted(() => {
.social-login {
flex-direction: column;
}
+
+ .sms-code-row {
+ flex-direction: column;
+ align-items: stretch;
+ gap: 0.75rem;
+ }
+
+ .sms-code-button {
+ width: 100%;
+ text-align: center;
+ }
}
\ No newline at end of file