From dd9d2e51f0e543f26bc4cdde67823656b9d861d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E6=98=B1=E8=BE=BE?= Date: Thu, 5 Jun 2025 17:17:34 +0800 Subject: [PATCH] =?UTF-8?q?feat(AI):=20=E6=B7=BB=E5=8A=A0=20PDF=E9=A2=84?= =?UTF-8?q?=E8=A7=88=E5=8A=9F=E8=83=BD=E5=B9=B6=E4=BC=98=E5=8C=96=E7=95=8C?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增 pdf.vue 组件用于渲染 PDF 文件 - 在 TabBox组件中添加 PDF 预览对话框 - 优化 treasureBox 组件的列表展示 - 在 AI 页面中添加滚动到顶部按钮 - 修复 SCSS 变量定义方式 --- src/views/AI/components/TabBox.vue | 39 +++++++++++++++++--- src/views/AI/components/pdf.vue | 48 +++++++++++++++++++++++++ src/views/AI/components/treasureBox.vue | 2 +- src/views/AI/index.vue | 24 +++++++++++-- 4 files changed, 106 insertions(+), 7 deletions(-) create mode 100644 src/views/AI/components/pdf.vue diff --git a/src/views/AI/components/TabBox.vue b/src/views/AI/components/TabBox.vue index 7a40f3a..7327a48 100644 --- a/src/views/AI/components/TabBox.vue +++ b/src/views/AI/components/TabBox.vue @@ -5,18 +5,33 @@ {{item.title}}
-
+
{{list.title}}
+ + + +
+ +
+
+ + diff --git a/src/views/AI/components/treasureBox.vue b/src/views/AI/components/treasureBox.vue index 6504dbd..34e2bf7 100644 --- a/src/views/AI/components/treasureBox.vue +++ b/src/views/AI/components/treasureBox.vue @@ -75,7 +75,7 @@ export default { list:this.item.detail.knowledge[i].split(',').map(item=>{ return { title:item, - value:item + // value:item } }) }) diff --git a/src/views/AI/index.vue b/src/views/AI/index.vue index 5750898..b59936b 100644 --- a/src/views/AI/index.vue +++ b/src/views/AI/index.vue @@ -7,6 +7,13 @@ + + + + +
+ +