diff --git a/app/globals.css b/app/globals.css index b925772..c96b813 100644 --- a/app/globals.css +++ b/app/globals.css @@ -18,7 +18,11 @@ body{ --background-end-rgb: 0, 0, 0; } } */ - +@media only screen and (min-device-width: 320px) and (max-device-width: 1024px) { + select:focus, textarea:focus, input:focus { + font-size: 16px !important; + } +} .custom-tabs .adm-tabs { border: none; --active-line-color: #ff8383; diff --git a/app/layout.js b/app/layout.js index 82cf7f8..bb28b29 100644 --- a/app/layout.js +++ b/app/layout.js @@ -46,6 +46,7 @@ export default function RootLayout({ children }) { type="image/x-icon" > + -
+
+
null} ref={swiperRef} defaultIndex={activeIndex} @@ -253,6 +254,7 @@ function Login({ handleLogin }) { clearable placeholder="请输入手机号" // disabled={true} + name="phone_number" type="number" maxLength={11} onChange={(value) => @@ -261,7 +263,7 @@ function Login({ handleLogin }) { value={loginInfo.mobilePhone} style={{ "--color": "#FFFFFF", - "--font-size": "14px", + "--font-size": "16px", "--placeholder-color": "#FFFFFF80", }} /> @@ -275,10 +277,11 @@ function Login({ handleLogin }) { placeholder="请输入验证码" onChange={(value) => setVeriCode(value)} value={veriCode} + name="veriCode" type="number" style={{ "--placeholder-color": "#FFFFFF80", - "--font-size": "14px", + "--font-size": "16px", }} />