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}) => (