From 25399920db3e5693397ebace85ec3698d26c27dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=88=90?= Date: Thu, 20 Nov 2025 23:00:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=A6=96=E9=A1=B5=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/login_pages/index/index.scss | 16 ++++++++++------ src/login_pages/index/index.tsx | 4 ++-- src/static/login/check_r.svg | 4 ++++ src/static/login/check_t.svg | 4 ++++ src/static/login/wechat_icon.svg | 30 ++++++++++++------------------ 5 files changed, 32 insertions(+), 26 deletions(-) create mode 100644 src/static/login/check_r.svg create mode 100644 src/static/login/check_t.svg diff --git a/src/login_pages/index/index.scss b/src/login_pages/index/index.scss index 7d98b90..b70f97d 100644 --- a/src/login_pages/index/index.scss +++ b/src/login_pages/index/index.scss @@ -427,14 +427,16 @@ .checkbox_container { flex-shrink: 0; - padding-top: 2px; + padding-top: 3px; .checkbox { width: 20px; height: 20px; - border: 1px solid rgba(255, 255, 255, 0.6); - border-radius: 1000px; - background: rgba(255, 255, 255, 0.1); + // border: 1px solid rgba(255, 255, 255, 0.6); + // border-radius: 1000px; + // background: rgba(255, 255, 255, 0.1); + background: url('../../static/login/check_r.svg') no-repeat center center; + background-size: contain; display: flex; align-items: center; justify-content: center; @@ -442,8 +444,10 @@ cursor: pointer; &.checked { - background: #07C160; - border-color: #07C160; + // background: #07C160; + // border-color: #07C160; + background: url('../../static/login/check_t.svg') no-repeat center center; + background-size: contain; .checkmark { width: 6px; diff --git a/src/login_pages/index/index.tsx b/src/login_pages/index/index.tsx index 652b623..2bb2934 100644 --- a/src/login_pages/index/index.tsx +++ b/src/login_pages/index/index.tsx @@ -184,7 +184,7 @@ const LoginPage: React.FC = () => { - {is_loading ? '登录中...' : '微信快捷登录'} + {is_loading ? '登录中...' : '微信授权登录'} @@ -203,7 +203,7 @@ const LoginPage: React.FC = () => { - {agree_terms && } + {/* {agree_terms && } */} diff --git a/src/static/login/check_r.svg b/src/static/login/check_r.svg new file mode 100644 index 0000000..161a46f --- /dev/null +++ b/src/static/login/check_r.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/static/login/check_t.svg b/src/static/login/check_t.svg new file mode 100644 index 0000000..b46ef1a --- /dev/null +++ b/src/static/login/check_t.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/static/login/wechat_icon.svg b/src/static/login/wechat_icon.svg index 28843cb..37f12d1 100644 --- a/src/static/login/wechat_icon.svg +++ b/src/static/login/wechat_icon.svg @@ -1,22 +1,16 @@ - - - - - - - + + + + + + - - - - - - - - - - - + + + + + +