From c84e0d288ed9652c30ee7816fab482a7912a85f1 Mon Sep 17 00:00:00 2001 From: aixianling Date: Mon, 8 Jan 2024 18:00:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=88=E6=8F=90=E4=BA=A4=E4=B8=80=E6=B3=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/AiAssist.vue | 44 ++++++++++++++++++++++++++++++++++++--- ui/lib/styles/common.scss | 4 ++++ 2 files changed, 45 insertions(+), 3 deletions(-) diff --git a/components/AiAssist.vue b/components/AiAssist.vue index e052780b..79884885 100644 --- a/components/AiAssist.vue +++ b/components/AiAssist.vue @@ -1,13 +1,34 @@ @@ -15,6 +36,23 @@ export default { .AiAssist { .avatar-text { text-align: center; + color: white; + } + + :deep(.assistDialog) { + .border-box-content { + padding: 8px 10px; + width: initial; + } + + .inbox { + min-width: 400px; + box-shadow: 4px 4px 10px #23ECFD inset, -4px -4px 10px #23ECFD inset; + height: 100%; + $v: 14px; + $vv: calc(100% - #{$v}); + clip-path: polygon($v 0, $vv 0, 100% $v, 100% $vv, $vv 100%, $v 100%, 0 $vv, 0 $v); + } } } diff --git a/ui/lib/styles/common.scss b/ui/lib/styles/common.scss index 0047d587..b283e2f3 100644 --- a/ui/lib/styles/common.scss +++ b/ui/lib/styles/common.scss @@ -734,3 +734,7 @@ h1, h2, h3, p { margin-left: 50%; transform: translateX(-50%); } + +.pointer { + cursor: pointer; +}