From a5bd14020fdb250d505e9da799603ec6ef6abd7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A5=9E=E4=BB=99=E9=83=BD=E6=B2=A1=E7=94=A8?= <615206459@qq.com> Date: Fri, 28 Jun 2024 15:54:35 +0800 Subject: [PATCH] 1 --- src/modules/helper/views/ai-code.vue | 51 ++++++++++++++-------------- 1 file changed, 25 insertions(+), 26 deletions(-) diff --git a/src/modules/helper/views/ai-code.vue b/src/modules/helper/views/ai-code.vue index 5954768..f194d4c 100644 --- a/src/modules/helper/views/ai-code.vue +++ b/src/modules/helper/views/ai-code.vue @@ -37,7 +37,7 @@ @@ -57,7 +57,9 @@
- + + +
@@ -70,7 +72,7 @@ @@ -135,7 +137,7 @@ @@ -179,13 +181,9 @@
- + + +
@@ -356,6 +354,8 @@ const step = reactive({ return false; } + desc.set(["正在做初步分析,请稍等..."]); + await code.getColumns(); break; } @@ -710,7 +710,7 @@ const desc = reactive({ default: desc.list = [ - "为开发者生成优质编程代码", + "COOL为开发者而生", "只需少量的口语提示就能完成特定的功能,大大节省开发时间" ]; } @@ -718,6 +718,11 @@ const desc = reactive({ desc.start(); }, + set(arr: string[]) { + desc.list = arr; + desc.start(); + }, + t1: null as any, t2: null as any, start() { @@ -1027,6 +1032,14 @@ $color: #41d1ff; border-radius: 12px; background-color: #2f3447; margin-right: 8px; + + &:first-child { + cursor: pointer; + + &:hover { + background-color: var(--el-color-danger); + } + } } } } @@ -1339,20 +1352,6 @@ $color: #41d1ff; border-radius: 10px 10px 0 0; } - .topbar { - .dots { - span { - cursor: pointer; - - &:first-child { - &:hover { - background-color: var(--el-color-danger); - } - } - } - } - } - .content { height: calc(100% - 36px); background-color: #080e14;