From f1c7d0ad150331380779b48adbea4b89dbb7a00f Mon Sep 17 00:00:00 2001 From: zhaowei Date: Mon, 30 Jun 2025 17:16:11 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E6=B3=A8=E9=87=8A=E6=8E=89?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=A4=B4=E5=83=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Center/components/ResetPassword/index.tsx | 1 + react-ui/src/pages/User/Center/index.less | 34 +++++++++---------- react-ui/src/pages/User/Center/index.tsx | 6 ++-- 3 files changed, 21 insertions(+), 20 deletions(-) diff --git a/react-ui/src/pages/User/Center/components/ResetPassword/index.tsx b/react-ui/src/pages/User/Center/components/ResetPassword/index.tsx index cbc93ba4..56c1e550 100644 --- a/react-ui/src/pages/User/Center/components/ResetPassword/index.tsx +++ b/react-ui/src/pages/User/Center/components/ResetPassword/index.tsx @@ -77,6 +77,7 @@ const ResetPassword = ({ open, onFinished }: ResetPasswordProps) => { diff --git a/react-ui/src/pages/User/Center/index.less b/react-ui/src/pages/User/Center/index.less index ad46d886..dbe81c56 100644 --- a/react-ui/src/pages/User/Center/index.less +++ b/react-ui/src/pages/User/Center/index.less @@ -12,23 +12,23 @@ height: @avaterSize; border-radius: 50%; } - &:hover:after { - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - color: #eee; - font-size: 24px; - font-style: normal; - line-height: @avaterSize; - background: rgba(0, 0, 0, 0.5); - border-radius: 50%; - cursor: pointer; - content: '+'; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - } + // &:hover:after { + // position: absolute; + // top: 0; + // right: 0; + // bottom: 0; + // left: 0; + // color: #eee; + // font-size: 24px; + // font-style: normal; + // line-height: @avaterSize; + // background: rgba(0, 0, 0, 0.5); + // border-radius: 50%; + // cursor: pointer; + // content: '+'; + // -webkit-font-smoothing: antialiased; + // -moz-osx-font-smoothing: grayscale; + // } } .user-center { diff --git a/react-ui/src/pages/User/Center/index.tsx b/react-ui/src/pages/User/Center/index.tsx index 80d5d5dc..64ccb77f 100644 --- a/react-ui/src/pages/User/Center/index.tsx +++ b/react-ui/src/pages/User/Center/index.tsx @@ -155,9 +155,9 @@ const Center = () => {
{ - setCropperModalOpen(true); - }} + // onClick={() => { + // setCropperModalOpen(true); + // }} >