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() { { // 最近聊天 } - { - // 分割线 - } - {/*
- -
*/} { // 聊天页面 }