From e97ff8e147d8076806990b4e8993aa730a06b9c2 Mon Sep 17 00:00:00 2001 From: lyc Date: Sun, 16 Feb 2025 23:13:30 +0800 Subject: [PATCH 1/8] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=80=E4=BA=9B?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../container/adjust-dialog.vue | 20 ++++++++++++++++--- .../template-study/container/left-dialog.vue | 4 +++- .../template-study/container/right.vue | 8 ++++---- 3 files changed, 24 insertions(+), 8 deletions(-) diff --git a/src/renderer/src/components/template-study/container/adjust-dialog.vue b/src/renderer/src/components/template-study/container/adjust-dialog.vue index 000f8e2..32f207d 100644 --- a/src/renderer/src/components/template-study/container/adjust-dialog.vue +++ b/src/renderer/src/components/template-study/container/adjust-dialog.vue @@ -15,7 +15,9 @@
-
{{ item.msg }}
+
+ +
替换分析结果 @@ -158,8 +160,10 @@ const dataset_id = ref('') const fileList = ref([]) const getList = () =>{ docList({ - userId: userInfo.userId, - dataset_id: dataset_id.value + createUser: userInfo.userId, + datasetId: dataset_id.value, + edustage: curNode.edustage, + edusubject: curNode.edusubject }).then( res =>{ fileList.value = res.rows Object.assign(curFile, fileList.value[0]) @@ -239,6 +243,7 @@ onUnmounted(() => { .robot { background: #409EFF; color: #FFF; + width: 100%; } .replace-item{ font-size: 12px; @@ -332,4 +337,13 @@ onUnmounted(() => { display: flex; margin-bottom: 10px; } + +:deep(.v-md-editor){ + background-color: #409EFF; +} +:deep(.github-markdown-body) { + font-size: 14px; + padding: 10px; + +} diff --git a/src/renderer/src/components/template-study/container/left-dialog.vue b/src/renderer/src/components/template-study/container/left-dialog.vue index 678b0ca..9e74e43 100644 --- a/src/renderer/src/components/template-study/container/left-dialog.vue +++ b/src/renderer/src/components/template-study/container/left-dialog.vue @@ -137,7 +137,9 @@ const curFile = reactive({}) const getList = () => { docList({ createUser: userInfo.userId, - datasetId: dataset_id.value + datasetId: dataset_id.value, + edustage: curNode.edustage, + edusubject: curNode.edusubject }).then((res) => { fileList.value = [...res.rows] if(res.rows.length){ diff --git a/src/renderer/src/components/template-study/container/right.vue b/src/renderer/src/components/template-study/container/right.vue index e2cba23..42d3a4d 100644 --- a/src/renderer/src/components/template-study/container/right.vue +++ b/src/renderer/src/components/template-study/container/right.vue @@ -4,12 +4,12 @@
- {{ curTemplate.name }} + {{ curTemplate.ex3 ? `平台-${curTemplate.name}` : `个人-${curTemplate.name}` }} @@ -18,12 +18,12 @@ - + 删除 - 添加提示词 + {{ curTemplate.ex3 == 1 ? '复制并创建个人模板' : '添加提示词' }} 一键研读
-- 2.44.0.windows.1 From e27f7e00182bd07e6c42af1ec3a6a5431def4c68 Mon Sep 17 00:00:00 2001 From: lyc Date: Tue, 18 Feb 2025 17:32:10 +0800 Subject: [PATCH 2/8] edit --- .../container/adjust-dialog.vue | 16 +- .../template-study/container/right.vue | 160 ++++++++++------ .../src/components/typing-effect/index.vue | 174 +++++++++++++----- src/renderer/src/layout/components/Aside.vue | 1 - 4 files changed, 241 insertions(+), 110 deletions(-) diff --git a/src/renderer/src/components/template-study/container/adjust-dialog.vue b/src/renderer/src/components/template-study/container/adjust-dialog.vue index 32f207d..8113b8f 100644 --- a/src/renderer/src/components/template-study/container/adjust-dialog.vue +++ b/src/renderer/src/components/template-study/container/adjust-dialog.vue @@ -1,9 +1,9 @@