From 4194b9afe689fab7e01bdb78bc2e55c765998950 Mon Sep 17 00:00:00 2001 From: alanpaine Date: Thu, 16 Apr 2026 13:32:00 +0800 Subject: [PATCH] =?UTF-8?q?style(frontend):=20=E7=BB=9F=E4=B8=80=E4=BC=9A?= =?UTF-8?q?=E8=AE=AE=E4=B8=AD=E5=BF=83=E9=A1=B5=E9=9D=A2=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E4=B8=8E=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 调整会议中心页面的卡片与布局结构,使用一致的样式类名并优化间距。 移除 List.Item 的底部边距,使卡片间距完全由网格控制。 将分页组件移至内容卡片内部,提升整体布局一致性。 --- frontend/src/index.css | 2 +- frontend/src/pages/business/Meetings.tsx | 58 +++++++++++++----------- 2 files changed, 32 insertions(+), 28 deletions(-) diff --git a/frontend/src/index.css b/frontend/src/index.css index 7e2722f..7a61d8a 100644 --- a/frontend/src/index.css +++ b/frontend/src/index.css @@ -848,8 +848,8 @@ body::after { flex: 1 1 100%; box-sizing: border-box; padding: 12px 24px; - border-top: 1px solid var(--app-border-color); background: var(--app-bg-card); + border-top: 1px solid var(--app-border-color); border-radius: 0 0 16px 16px; display: flex; align-items: center; diff --git a/frontend/src/pages/business/Meetings.tsx b/frontend/src/pages/business/Meetings.tsx index f65689c..92b129e 100644 --- a/frontend/src/pages/business/Meetings.tsx +++ b/frontend/src/pages/business/Meetings.tsx @@ -121,9 +121,9 @@ const MeetingCardItem: React.FC<{ item: MeetingVO, config: any, fetchData: () => const isPaused = effectiveStatus === PAUSED_DISPLAY_STATUS; return ( - - onOpenMeeting(item)} className="meeting-card" style={{ borderRadius: 16, border: '1px solid var(--app-border-color)', background: 'var(--app-bg-card)', backdropFilter: 'blur(16px)', height: '220px', position: 'relative', boxShadow: 'var(--app-shadow)', transition: 'all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1)' }} styles={{ body: { padding: 0, display: 'flex', height: '100%' } }}> -
+ + onOpenMeeting(item)} className="meeting-card" style={{ borderRadius: 16, border: '1px solid var(--app-border-color)', background: 'var(--app-bg-card)', backdropFilter: 'blur(16px)', height: '220px', position: 'relative', boxShadow: 'var(--app-shadow)', transition: 'all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1)' }} styles={{ body: { padding: 0, display: 'flex', flexDirection: 'row', height: '100%' } }}> +
e.stopPropagation()}> @@ -336,37 +336,41 @@ const Meetings: React.FC = () => { }; return ( -
-
- - -
会议中心
- - - { setViewType(e.target.value); setCurrent(1); }} buttonStyle="solid"> - 全部我发起我参与 - - } allowClear onPressEnter={(e) => { setSearchTitle((e.target as any).value); setCurrent(1); }} style={{ width: 220, borderRadius: 8 }} /> - - - -
-
- -
+
+ +
+ 会议中心 + + } + extra={ + + { setViewType(e.target.value); setCurrent(1); }} buttonStyle="solid"> + 全部我发起我参与 + + } allowClear onPressEnter={(e) => { setSearchTitle((e.target as any).value); setCurrent(1); }} style={{ width: 220, borderRadius: 8 }} /> + + + } + > +
- { + { const config = statusConfig[item.displayStatus ?? item.status] || statusConfig[0]; return ; }} locale={{ emptyText: }} />
- {total > 0 && { setCurrent(p); setSize(s); }} />} -
+ { setCurrent(p); setSize(s); }} /> +