This commit is contained in:
@@ -3,7 +3,6 @@ import MessageContainer from "./chat/MessageContainer.js"
|
|||||||
import ContactsListItem from "./main/ContactsListItem.js"
|
import ContactsListItem from "./main/ContactsListItem.js"
|
||||||
import RecentsListItem from "./main/RecentsListItem.js"
|
import RecentsListItem from "./main/RecentsListItem.js"
|
||||||
import useEventListener from './useEventListener.js'
|
import useEventListener from './useEventListener.js'
|
||||||
import ShadowInner from './ShadowInner.js'
|
|
||||||
|
|
||||||
export default function App() {
|
export default function App() {
|
||||||
const [recentsList, setRecentsList] = React.useState([
|
const [recentsList, setRecentsList] = React.useState([
|
||||||
@@ -110,7 +109,8 @@ export default function App() {
|
|||||||
}}>
|
}}>
|
||||||
{
|
{
|
||||||
// 移动端用 页面调试
|
// 移动端用 页面调试
|
||||||
(new URL(location.href).searchParams.get('debug') == 'true') && <script src="https://unpkg.com/eruda/eruda.js"></script>
|
// 換個地方弄
|
||||||
|
// (new URL(location.href).searchParams.get('debug') == 'true') && <script src="https://unpkg.com/eruda/eruda.js"></script>
|
||||||
}
|
}
|
||||||
<mdui-navigation-rail contained value="Recents" ref={navigationRailRef}>
|
<mdui-navigation-rail contained value="Recents" ref={navigationRailRef}>
|
||||||
<mdui-button-icon icon="menu" slot="top"></mdui-button-icon>
|
<mdui-button-icon icon="menu" slot="top"></mdui-button-icon>
|
||||||
@@ -255,14 +255,14 @@ export default function App() {
|
|||||||
bottom: '0',
|
bottom: '0',
|
||||||
backgroundColor: 'rgb(var(--mdui-color-background))',
|
backgroundColor: 'rgb(var(--mdui-color-background))',
|
||||||
}}>
|
}}>
|
||||||
<mdui-text-field variant="outlined" placeholder="喵呜~">
|
<mdui-text-field variant="outlined" placeholder="喵呜~" style={{
|
||||||
<mdui-button-icon slot="end-icon" icon="more_vert"></mdui-button-icon>
|
marginRight: '10px',
|
||||||
</mdui-text-field>
|
}}></mdui-text-field>
|
||||||
|
<mdui-button-icon slot="end-icon" icon="more_vert" style={{
|
||||||
|
marginRight: '6px',
|
||||||
|
}}></mdui-button-icon>
|
||||||
<mdui-button-icon icon="send" style={{
|
<mdui-button-icon icon="send" style={{
|
||||||
marginTop: '0.75rem',
|
marginRight: '7px',
|
||||||
marginBottom: '0.75rem',
|
|
||||||
marginLeft: '0.75rem',
|
|
||||||
marginRight: '0.4rem',
|
|
||||||
}}></mdui-button-icon>
|
}}></mdui-button-icon>
|
||||||
</div>
|
</div>
|
||||||
{/* <mdui-top-app-bar style={{
|
{/* <mdui-top-app-bar style={{
|
||||||
|
|||||||
@@ -113,6 +113,18 @@ export const UserApi = {
|
|||||||
// 思路之一: 扫名称 重复则不允许
|
// 思路之一: 扫名称 重复则不允许
|
||||||
// 思路之二: 邮箱制 但是无法多账号 以及其他遗留问题
|
// 思路之二: 邮箱制 但是无法多账号 以及其他遗留问题
|
||||||
// 长远思考
|
// 长远思考
|
||||||
|
|
||||||
|
// 2025.6.2 決定
|
||||||
|
// 使用郵箱驗證, 以賬號ID為基準, 用戶名可改但不可重複制度
|
||||||
|
// 關聯性字符串數據庫
|
||||||
|
|
||||||
|
// 具體方案: 先使用郵箱驗證
|
||||||
|
// 再注冊賬號
|
||||||
|
// 賬號支持修改不重複的用戶名
|
||||||
|
// 可以一個郵箱多個賬號
|
||||||
|
// 修改郵箱 = 修改文件名
|
||||||
|
// 多賬號管理 = 郵箱 (文件夾) + 多賬戶ID
|
||||||
|
// 忘記賬號 = 郵箱驗證 + 給出所有賬號
|
||||||
let user = UserManager.createUser({
|
let user = UserManager.createUser({
|
||||||
name: args.name,
|
name: args.name,
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user