From 83266eeef6039000471af12c3485e6be291ed653 Mon Sep 17 00:00:00 2001 From: Ultrame <1019265060@qq.com> Date: Sun, 26 Oct 2025 19:26:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=AA=E4=BA=BA=E9=A1=B5=E3=80=81=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E9=A1=B5=E9=A1=B6=E9=83=A8=E8=83=8C=E6=99=AF=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=EF=BC=9B=E4=BF=AE=E6=94=B9=E9=A1=B5=E6=89=8B=E6=9C=BA?= =?UTF-8?q?=E5=8F=B7=E7=A0=81=E5=B1=95=E7=A4=BA=E6=A0=BC=E5=BC=8F=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/user_pages/edit/index.scss | 15 ++++++++++++--- src/user_pages/edit/index.tsx | 3 ++- src/user_pages/myself/index.scss | 4 ++-- src/user_pages/queryTransactions/index.scss | 1 - 4 files changed, 16 insertions(+), 7 deletions(-) diff --git a/src/user_pages/edit/index.scss b/src/user_pages/edit/index.scss index 0aeff1a..2dc4714 100644 --- a/src/user_pages/edit/index.scss +++ b/src/user_pages/edit/index.scss @@ -1,7 +1,17 @@ // 编辑资料页面样式 .edit_profile_page { - height: 100vh; - background: radial-gradient(circle at 50% 0%, rgba(238, 255, 220, 1) 0%, rgba(255, 255, 255, 1) 37%); + height: 100vh; // position: relative; + background: radial-gradient(circle at 50% 0, + /* 光晕圆心在顶部中间 */ + rgba(191, 255, 239, 0.9) 0px, + /* 中间更深的浅蓝 */ + rgba(191, 255, 239, 0.5) 200px, + /* 100px 处开始淡化 */ + #fff 300px, + /* 到 200px 变成白色 */ + #fff 100% + /* 200px 以下全白 */ + ); position: relative; // overflow: hidden; box-sizing: border-box; @@ -28,7 +38,6 @@ position: sticky; top: 0; z-index: 100; - background-color: rgb(238, 255, 220); } .detail-navigator { diff --git a/src/user_pages/edit/index.tsx b/src/user_pages/edit/index.tsx index 0884e51..5511e0f 100644 --- a/src/user_pages/edit/index.tsx +++ b/src/user_pages/edit/index.tsx @@ -591,7 +591,8 @@ const EditProfilePage: React.FC = () => { openType="getPhoneNumber" onGetPhoneNumber={onGetPhoneNumber} > - {form_data.phone || "未绑定"} + {form_data.phone ? form_data.phone.replace(/(\d{3})(\d{4})(\d{4})/, "$1 $2 $3") + : "未绑定"}