feat: agent对话

This commit is contained in:
2026-02-10 17:22:40 +08:00
parent fc93591b2f
commit 91ae3312d5
3 changed files with 158 additions and 17 deletions

View File

@@ -8,18 +8,9 @@
import { ref } from 'vue'
import Item from './Item.vue'
const messageList = ref([
{ id: 1, text: 'Hello', isUser: true },
{
id: 2,
text: 'Hey, I am your design assistant FiDA. I noticed that you want to design a yellow sofa. I can help you! Tell me what else you need?'
},
{
id: 3,
text: 'Please design a vintage-inspired sofa with smooth, flowing lines and a sculptural silhouette. The sofa features a retro aesthetic combined with elegant curves, creating a timeless and refined look.',
isUser: true
}
])
const props = defineProps<{
messageList: Array<any>
}>()
</script>
<style lang="less" scoped>