From 840934372e5e769062e6dc8c6ae5475f32da4ed0 Mon Sep 17 00:00:00 2001 From: aixianling Date: Wed, 5 Jun 2024 18:13:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4AI=E8=81=8A=E5=A4=A9=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/packages/ai/AiCopilot.vue | 43 ++++++++++++++++++++++++++++++++++-- 1 file changed, 41 insertions(+), 2 deletions(-) diff --git a/ui/packages/ai/AiCopilot.vue b/ui/packages/ai/AiCopilot.vue index 9f1ba5a9..15cbf173 100644 --- a/ui/packages/ai/AiCopilot.vue +++ b/ui/packages/ai/AiCopilot.vue @@ -7,11 +7,17 @@ export default { data() { return { show: false, - expand: false + expand: false, + prompt: "" } }, computed: { expandBtn: v => v.expand ? "收起" : "展开" + }, + methods: { + handleSend() { + + } } } @@ -26,7 +32,16 @@ export default {
-
+
+
+ +
+
+ +
+
+
@@ -101,6 +116,30 @@ export default { .right { width: 420px; height: 100%; + padding: 14px; + + .sendBtn { + width: 40px; + height: 40px; + border-radius: 50%; + background: url("https://cdn.sinoecare.com/i/2024/06/04/665ed2bbdeb27.png") no-repeat center; + background-size: 100% 100%; + cursor: pointer; + } + } + + :deep(.sendBox) { + width: 100%; + + .input > textarea { + width: 100%; + line-height: 40px; + border-radius: 22px; + border: 1px solid #ddd; + padding: 0 14px; + box-sizing: border-box; + background: #F4F6FA; + } } } }