feat: 完善后台设计语言细节
- 统一说明文案层级:Typography.Paragraph 次要文案迁移到 admin-section-description - 状态色补齐边框与中间调令牌,Alert/错误条/Descriptions 与 StatusTag 同源 - 咨询详情描述列表去表格线,改为键值展示并统一令牌 - 新增 BrandMark,侧栏与登录页标识改用品牌首字 - 信任内容改用列表行,空状态、表格骨架屏、主按钮脏检查落地 - design.md 同步令牌映射、切换控件选型与组件清单
This commit is contained in:
1 parent
2f26828f09
commit
3ef46b0aa8
25 files changed
+836
-393
No files matched your search
@@ -5,6 +5,7 @@ import { useState } from "react";
|
||||
import { createApiClient } from "../../lib/api.js";
|
||||
import { AdminPageHeader } from "../../components/AdminPageHeader.js";
|
||||
import { MutationError, QueryState } from "../../components/QueryState.js";
|
||||
import { EmptyState } from "../../components/EmptyState.js";
|
||||
import { StatusTag } from "../../components/StatusTag.js";
|
||||
|
||||
const roleLabels: Record<string, string> = {
|
||||
@@ -75,8 +76,16 @@ export function MembersPage() {
|
||||
/>
|
||||
<Table
|
||||
rowKey="id"
|
||||
loading={members.isLoading}
|
||||
dataSource={members.data ?? []}
|
||||
locale={{
|
||||
emptyText: (
|
||||
<EmptyState
|
||||
compact
|
||||
title="还没有其他成员"
|
||||
description="添加协作者后,他们可以按角色维护当前品牌。"
|
||||
/>
|
||||
),
|
||||
}}
|
||||
columns={[
|
||||
{
|
||||
title: "成员",
|
||||
|
||||
Reference in new issue
Block a user