From dc24123ab6c81f3951aa88e0ba673debf6716027 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=88=90?= Date: Tue, 2 Dec 2025 11:16:27 +0800 Subject: [PATCH] 1 --- .../SubscribeNotificationTip/index.scss | 12 +++ .../SubscribeNotificationTip/index.tsx | 9 +- .../enable_notification/index.scss | 96 ++++++++++--------- src/other_pages/enable_notification/index.tsx | 71 +++++++------- src/static/message/bell-icon.svg | 4 + 5 files changed, 111 insertions(+), 81 deletions(-) create mode 100644 src/static/message/bell-icon.svg diff --git a/src/components/SubscribeNotificationTip/index.scss b/src/components/SubscribeNotificationTip/index.scss index 48cc498..0bd71f3 100644 --- a/src/components/SubscribeNotificationTip/index.scss +++ b/src/components/SubscribeNotificationTip/index.scss @@ -18,7 +18,19 @@ display: flex; justify-content: space-between; align-items: center; + height: 20.5px; + } + + &__title_wrapper { + display: flex; + align-items: center; + gap: 4px; + } + + &__bell_icon { + width: 20px; height: 20px; + flex-shrink: 0; } &__title { diff --git a/src/components/SubscribeNotificationTip/index.tsx b/src/components/SubscribeNotificationTip/index.tsx index ea36889..22ec442 100644 --- a/src/components/SubscribeNotificationTip/index.tsx +++ b/src/components/SubscribeNotificationTip/index.tsx @@ -23,7 +23,14 @@ const SubscribeNotificationTip: React.FC = ({ return ( - 不想错过约球邀请? + + + 不想错过约球邀请? + 开启消息通知 { - - - {/* 示例消息卡片 */} - - {exampleMessages.map((message) => ( - - - - {message.name} - {message.content} - - - ))} - - - {/* 标题区域 */} - - 开启消息通知 - 请放心,我们只会在必要时提醒你 - - - {/* 二维码区域 */} - - + + {/* 示例消息卡片 */} + + {exampleMessages.map((message, index) => ( + + + {message.name} + {message.content} + - 长按关注👆开启提醒 - + ))} - + + {/* 标题区域 */} + + 开启消息通知 + 请放心,我们只会在必要时提醒你 + + + {/* 二维码区域 */} + + + + + 长按关注👆开启提醒 + + ); }; diff --git a/src/static/message/bell-icon.svg b/src/static/message/bell-icon.svg new file mode 100644 index 0000000..e8a30ab --- /dev/null +++ b/src/static/message/bell-icon.svg @@ -0,0 +1,4 @@ + + + +