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;
+ }
}
}
}