From 5b869309dd53871335315da29db410a3f22d830d Mon Sep 17 00:00:00 2001 From: huazhongmin Date: Sat, 7 Mar 2026 18:46:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=8C=89=E9=92=AE=E6=BA=A2=E5=87=BA=E9=97=AE?= =?UTF-8?q?=E9=A2=98=EF=BC=88=E6=96=B9=E6=A1=88=20A=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修改内容: - .login-card 左右内边距 40rpx → 32rpx - .login-card 添加 box-sizing: border-box - .btn-primary 添加 padding: 0 和 box-sizing: border-box - .code-row 添加 box-sizing: border-box 确保所有容器和按钮在小屏幕上不溢出 Co-Authored-By: Claude Opus 4.6 --- mini-program/src/pages/login/index.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mini-program/src/pages/login/index.vue b/mini-program/src/pages/login/index.vue index a6689e7..8451fe2 100644 --- a/mini-program/src/pages/login/index.vue +++ b/mini-program/src/pages/login/index.vue @@ -212,7 +212,8 @@ const handleLogin = async () => { backdrop-filter: blur(40rpx); border: 1px solid rgba(168, 85, 247, 0.15); border-radius: 48rpx; - padding: 48rpx 40rpx; + padding: 48rpx 32rpx; + box-sizing: border-box; } .header { @@ -275,6 +276,7 @@ const handleLogin = async () => { gap: 16rpx; align-items: stretch; width: 100%; + box-sizing: border-box; } .code-input { @@ -329,6 +331,8 @@ const handleLogin = async () => { border: none; box-shadow: 0 8rpx 32rpx rgba(168, 85, 247, 0.3); margin-bottom: 24rpx; + padding: 0; + box-sizing: border-box; } .btn-primary.disabled {