From 9b750008413c052250b7a4d302a6544ad10e919e Mon Sep 17 00:00:00 2001 From: MT-Mint <798521692@qq.com> Date: Fri, 27 Mar 2026 17:34:48 +0800 Subject: [PATCH] =?UTF-8?q?feat(stacked-cards):=20=E9=87=8D=E5=81=9A=20Sta?= =?UTF-8?q?ckedCards=20=E7=BB=84=E4=BB=B6=E5=B9=B6=E5=AE=8C=E5=96=84?= =?UTF-8?q?=E9=99=84=E4=BB=B6=E4=BA=A4=E4=BA=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/chat/ChatMain.vue | 27 - src/components/icons/custom/PlusIcon.vue | 17 + src/components/input/AttachmentPreview.vue | 269 -------- src/components/input/ChatInput.vue | 180 +++--- src/components/input/UploadActionCards.vue | 194 ++++++ src/components/ui/StackedCards.vue | 691 +++++++++++++++++---- src/components/ui/StackedCardsDemo.vue | 157 ----- src/router/index.ts | 5 - 8 files changed, 889 insertions(+), 651 deletions(-) create mode 100644 src/components/icons/custom/PlusIcon.vue delete mode 100644 src/components/input/AttachmentPreview.vue create mode 100644 src/components/input/UploadActionCards.vue delete mode 100644 src/components/ui/StackedCardsDemo.vue diff --git a/src/components/chat/ChatMain.vue b/src/components/chat/ChatMain.vue index e9f10e2..e1a096f 100644 --- a/src/components/chat/ChatMain.vue +++ b/src/components/chat/ChatMain.vue @@ -28,13 +28,6 @@
悬停展开 · 视觉发现 · 触感交互
- -<StackedCards
- :cards="cardList"
- :max-visible="5"
- :spread-gap="190"
-/>
- interface CardItem {
- id: string | number
- title: string
- description?: string
- icon?: string
- color?: string
-}
-