From e9a559cd6fc5eddc366b2220d7cce28d034783f6 Mon Sep 17 00:00:00 2001 From: al Date: Wed, 31 Jul 2024 18:16:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86=E5=AF=86=E7=A0=81=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/globals.css | 6 +++++- app/layout.js | 1 + app/login/page.js | 23 ++++++++++++-------- app/my/addToHome/page.js | 6 +++--- app/my/page.js | 9 +++++--- app/my/setting/editPassword/page.js | 33 +++++++++++++++++------------ components/WithAuth/index.js | 6 ++++-- utils/requireAPI.js | 2 +- 8 files changed, 54 insertions(+), 32 deletions(-) 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", }} />