From f7afab9764bd3c156f1ebdf93cc3563c41c3982d Mon Sep 17 00:00:00 2001 From: Monine Melolaris Date: Mon, 8 Apr 2024 22:59:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=BD=95=E6=92=AD=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E9=A1=B5=E5=8D=A1=E7=89=87=E9=87=8D=E5=8F=A0=E9=97=AE?= =?UTF-8?q?=E9=A2=98=20(#851)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 删除原有样式,并替换组件为Card,以修复录播管理页卡片重叠问题。 --- app/streamers/page.tsx | 74 +++++++++++++++++++++++------------------- 1 file changed, 41 insertions(+), 33 deletions(-) diff --git a/app/streamers/page.tsx b/app/streamers/page.tsx index a6af705..27d024e 100644 --- a/app/streamers/page.tsx +++ b/app/streamers/page.tsx @@ -4,7 +4,10 @@ import { Nav, Button, Tag, - Typography, Popconfirm, Notification + Typography, + Popconfirm, + Notification, + Card } from '@douyinfe/semi-ui'; import { IconHelpCircle, @@ -140,39 +143,44 @@ export default function Home() { }} dataSource={data} renderItem={item => ( - -
-
-

{item.remark}

- {item.status} + + +
+
+

{item.remark}

+ {item.status} +
+ {item.url} +
+ + + + + + await onConfirm(item.id)} + // onCancel={onCancel} + > + + + +
- {item.url} -
- - - - - - await onConfirm(item.id)} - // onCancel={onCancel} - > - - - -
-
+ + )} />