From 532c24b7b0582d36bafdf255183a334918ea1ac3 Mon Sep 17 00:00:00 2001 From: luorijun Date: Fri, 21 Nov 2025 14:16:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E5=92=8C=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E7=BB=93=E6=9E=84=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/(auth)/login/login-card.tsx | 15 +++++-------- src/app/admin/bills/page.tsx | 34 +++++++---------------------- src/app/admin/identify/page.tsx | 19 ++++++++-------- 3 files changed, 24 insertions(+), 44 deletions(-) diff --git a/src/app/(auth)/login/login-card.tsx b/src/app/(auth)/login/login-card.tsx index f44225a..b2e959b 100644 --- a/src/app/(auth)/login/login-card.tsx +++ b/src/app/(auth)/login/login-card.tsx @@ -77,7 +77,7 @@ export default function LoginCard(props: { const [showPwd, setShowPwd] = useState(false) return ( - + {/* 登录方式切换 */} - + 密码登录 验证码登录 @@ -99,7 +99,7 @@ export default function LoginCard(props: { {...field} id={id} type="tel" - placeholder="请输入手机号" + placeholder={mode === 'phone_code' ? '请输入手机号' : '请输入用户名'} autoComplete="tel-national" /> )} @@ -113,6 +113,7 @@ export default function LoginCard(props: { id={id} className="h-10" placeholder="请输入验证码" + autoComplete="one-time-code" /> @@ -180,20 +181,16 @@ export default function LoginCard(props: { ) } - function Tab(props: { value: string children: ReactNode }) { return ( {props.children} ) -} \ No newline at end of file +} diff --git a/src/app/admin/bills/page.tsx b/src/app/admin/bills/page.tsx index 37fce93..586ec4a 100644 --- a/src/app/admin/bills/page.tsx +++ b/src/app/admin/bills/page.tsx @@ -90,16 +90,6 @@ export default function BillsPage(props: BillsPageProps) {
- {/* 订单号}> - {({id, field}) => ( - - )} - */} 账单类型}> {({id, field}) => (