From 28a8eaf33792fbabd9866bd9a0b6585eb0f755a8 Mon Sep 17 00:00:00 2001 From: CrescentLeaf Date: Sat, 6 Sep 2025 14:52:34 +0800 Subject: [PATCH] =?UTF-8?q?ui:=20=E6=B7=BB=E5=8A=A0=E4=BA=86=E9=9D=A2?= =?UTF-8?q?=E6=9D=BF=E9=96=93=E8=87=AA=E7=94=B1=E5=88=86=E5=89=B2=E7=9A=84?= =?UTF-8?q?=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/index.html | 22 ++++++++++++++++++++-- client/ui/App.jsx | 20 ++++---------------- 2 files changed, 24 insertions(+), 18 deletions(-) diff --git a/client/index.html b/client/index.html index 8c02c61..abaf3ae 100644 --- a/client/index.html +++ b/client/index.html @@ -13,9 +13,8 @@ - - + TheWhiteSilk @@ -79,6 +78,16 @@ image-rendering: crisp-edges; -ms-interpolation-mode: nearest-neighbor; } + + .gutter { + background-color: rgb(var(--mdui-color-surface-variant));; + background-repeat: no-repeat; + background-position: 50%; + } + + .gutter.gutter-horizontal { + cursor: col-resize; + } @@ -91,6 +100,7 @@ diff --git a/client/ui/App.jsx b/client/ui/App.jsx index 3ad18b0..f7b587f 100644 --- a/client/ui/App.jsx +++ b/client/ui/App.jsx @@ -11,7 +11,7 @@ import { React } from '../Imports.ts' export default function App() { const [recentsList, setRecentsList] = React.useState([ - /* { + { userId: 0, avatar: "https://www.court-records.net/mugshot/aa6-004-maya.png", nickName: "麻油衣酱", @@ -22,11 +22,11 @@ export default function App() { avatar: "https://www.court-records.net/mugshot/aa6-004-maya.png", nickName: "Maya Fey", content: "我是绫里真宵, 是一名灵媒师~" - }, */ + }, ]) const [contactsMap, setContactsMap] = React.useState({ 所有: [ - /* { + { userId: 0, avatar: "https://www.court-records.net/mugshot/aa6-004-maya.png", nickName: "麻油衣酱", @@ -35,7 +35,7 @@ export default function App() { userId: 0, avatar: "https://www.court-records.net/mugshot/aa6-004-maya.png", nickName: "Maya Fey", - }, */ + }, ], }) const [navigationItemSelected, setNavigationItemSelected] = React.useState('Recents') @@ -100,7 +100,6 @@ export default function App() { { // 最近聊天 } - { - // 分割线 - } - {/*
- -
*/} { // 聊天页面 }