From 165bcdb264a2a2e496b9649682af12165440e626 Mon Sep 17 00:00:00 2001 From: JOJO <1498581755@qq.com> Date: Wed, 22 Jul 2026 19:33:21 +0800 Subject: [PATCH] =?UTF-8?q?feat(quickdock):=20=E6=96=87=E4=BB=B6=E9=A2=84?= =?UTF-8?q?=E8=A7=88=E6=8E=A5=E5=85=A5=20Prism=20=E8=AF=AD=E6=B3=95?= =?UTF-8?q?=E9=AB=98=E4=BA=AE=EF=BC=8C=E4=BF=AE=E5=A4=8D=E6=B7=B1=E8=89=B2?= =?UTF-8?q?=E6=A8=A1=E5=BC=8F=E8=BF=90=E7=AE=97=E7=AC=A6=E5=BA=95=E8=89=B2?= =?UTF-8?q?=E4=B8=8E=20show=5Ffile=20=E9=AB=98=E4=BA=AE=E5=A4=B1=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/src/components/chat/ShowFileCard.vue | 155 +++++++++++------- .../chat/quickdock/FilePreviewPanel.vue | 110 +++++++++---- .../components/chat/quickdock/quickdock.css | 28 +++- static/src/env.d.ts | 2 +- static/src/styles/base/_prism-overrides.scss | 15 ++ static/src/styles/index.scss | 1 + static/src/utils/prismHighlight.ts | 136 +++++++++++++++ 7 files changed, 351 insertions(+), 96 deletions(-) create mode 100644 static/src/styles/base/_prism-overrides.scss create mode 100644 static/src/utils/prismHighlight.ts diff --git a/static/src/components/chat/ShowFileCard.vue b/static/src/components/chat/ShowFileCard.vue index 35be71e6..ba44907e 100644 --- a/static/src/components/chat/ShowFileCard.vue +++ b/static/src/components/chat/ShowFileCard.vue @@ -4,21 +4,10 @@ {{ displayName }}
- - +
@@ -72,14 +61,13 @@ -