From b1fd9de87dad6c100375ad6a2a17408c61961104 Mon Sep 17 00:00:00 2001 From: alanpaine Date: Fri, 17 Apr 2026 11:30:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=88=86=E4=BA=AB=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E5=9F=BA=E7=A1=80=E4=BF=A1=E6=81=AF=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E4=B8=8E=E9=9A=90=E8=97=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/pages/business/MeetingPreview.tsx | 125 ++++++++++-------- frontend/vite.config.ts | 8 +- 2 files changed, 75 insertions(+), 58 deletions(-) diff --git a/frontend/src/pages/business/MeetingPreview.tsx b/frontend/src/pages/business/MeetingPreview.tsx index 5f41352..20343e1 100644 --- a/frontend/src/pages/business/MeetingPreview.tsx +++ b/frontend/src/pages/business/MeetingPreview.tsx @@ -15,6 +15,8 @@ import { ShareAltOutlined, TeamOutlined, UserOutlined, + DownOutlined, + UpOutlined, } from "@ant-design/icons"; import dayjs from "dayjs"; import ReactMarkdown from "react-markdown"; @@ -177,6 +179,7 @@ export default function MeetingPreview() { const [audioCurrentTime, setAudioCurrentTime] = useState(0); const [audioDuration, setAudioDuration] = useState(0); const [audioPlaybackRate, setAudioPlaybackRate] = useState(1); + const [isMetricsExpanded, setIsMetricsExpanded] = useState(false); const [isMobile, setIsMobile] = useState(() => typeof window !== "undefined" ? window.matchMedia("(max-width: 767px)").matches : false, ); @@ -786,63 +789,77 @@ export default function MeetingPreview() { -
-
- {TEXT.meetingTime} - - {meeting.meetingTime ? dayjs(meeting.meetingTime).format("YYYY.MM.DD HH:mm") : TEXT.notSet} - -
-
- {TEXT.createdAt} - - {meeting.createdAt ? dayjs(meeting.createdAt).format("YYYY.MM.DD HH:mm") : TEXT.notSet} - -
-
- {TEXT.creator} - {meeting.creatorName || TEXT.notSet} -
-
- {TEXT.host} - {meeting.hostName || TEXT.notSet} -
-
- {TEXT.participantsCount} - {participantCountValue || TEXT.notFilled} -
-
- 会议时长 - {meetingDuration > 0 ? formatDurationRange(0, meetingDuration).split(' - ')[1] : TEXT.noDuration} +
+
+
+ {TEXT.meetingTime} + + {meeting.meetingTime ? dayjs(meeting.meetingTime).format("YYYY.MM.DD HH:mm") : TEXT.notSet} + +
+
+ {TEXT.createdAt} + + {meeting.createdAt ? dayjs(meeting.createdAt).format("YYYY.MM.DD HH:mm") : TEXT.notSet} + +
+
+ {TEXT.creator} + {meeting.creatorName || TEXT.notSet} +
+
+ {TEXT.host} + {meeting.hostName || TEXT.notSet} +
+
+ {TEXT.participantsCount} + {participantCountValue || TEXT.notFilled} +
+
+ 会议时长 + {meetingDuration > 0 ? formatDurationRange(0, meetingDuration).split(' - ')[1] : TEXT.noDuration} +
+ + {participants.length > 0 ? ( +
+
{TEXT.participants}
+
+ {participants.map((item) => ( + + + {item} + + ))} +
+
+ ) : null} + + {tags.length > 0 ? ( +
0 ? 12 : 20 }}> +
{TEXT.tags}
+
+ {tags.map((item) => ( + + {item} + + ))} +
+
+ ) : null}
- {participants.length > 0 ? ( -
-
{TEXT.participants}
-
- {participants.map((item) => ( - - - {item} - - ))} -
-
- ) : null} - - {tags.length > 0 ? ( -
0 ? 12 : 20 }}> -
{TEXT.tags}
-
- {tags.map((item) => ( - - {item} - - ))} -
-
- ) : null} +
+ +
diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts index 994ea4c..9b95026 100644 --- a/frontend/vite.config.ts +++ b/frontend/vite.config.ts @@ -14,11 +14,11 @@ export default defineConfig({ server: { port: 5174, proxy: { - "/auth": "http://10.100.52.13:8081", - "/sys": "http://10.100.52.13:8081", - "/api": "http://10.100.52.13:8081", + "/auth": "http://10.100.51.199:8080", + "/sys": "http://10.100.51.199:8080", + "/api": "http://10.100.51.199:8080", "/ws": { - target: "ws://10.100.52.13:8081", + target: "ws://10.100.51.199:8080", ws: true } }