From 867a890d56e87016a27deef49d001fe153bbee3d Mon Sep 17 00:00:00 2001 From: stu2not Date: Thu, 28 May 2026 18:15:33 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=E8=A7=92=E8=89=B2=E5=88=87?= =?UTF-8?q?=E6=8D=A2=E5=BC=B9=E7=AA=97=E5=BD=93=E5=89=8D=E8=A7=92=E8=89=B2?= =?UTF-8?q?=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- banban-mini/src/pages/sleep/index.scss | 23 +++++++++++++++++++++++ banban-mini/src/pages/sleep/index.tsx | 6 ++++++ 2 files changed, 29 insertions(+) diff --git a/banban-mini/src/pages/sleep/index.scss b/banban-mini/src/pages/sleep/index.scss index ec0c4f6..f45576b 100644 --- a/banban-mini/src/pages/sleep/index.scss +++ b/banban-mini/src/pages/sleep/index.scss @@ -405,6 +405,29 @@ overflow-y: auto; } +.current-role-intro { + padding: 20px 22px; + border-radius: 16px; + background: #F7F8FA; + margin-bottom: 18px; +} + +.current-role-label { + display: block; + font-size: 27px; + line-height: 1.45; + color: #1A1A1A; + font-weight: 700; + margin-bottom: 8px; +} + +.current-role-desc { + display: block; + font-size: 25px; + line-height: 1.55; + color: #666666; +} + .family-list { max-height: 44vh; overflow-y: auto; diff --git a/banban-mini/src/pages/sleep/index.tsx b/banban-mini/src/pages/sleep/index.tsx index 56f176c..eb26657 100644 --- a/banban-mini/src/pages/sleep/index.tsx +++ b/banban-mini/src/pages/sleep/index.tsx @@ -889,6 +889,12 @@ export default function Sleep() { }} > 切换 AI 角色 + + 当前角色:{deviceRole?.name || deviceRole?.role_key || '未设置'} + + {deviceRole?.description || '暂无角色简介'} + + {isLoadingRoles ? ( 角色加载中... ) : roles.length === 0 ? (