From 5c02214063f56337dd75763378947b68e1437b1e Mon Sep 17 00:00:00 2001 From: fofolee Date: Sat, 21 Dec 2024 19:38:17 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E5=8D=A1=E7=89=87=E4=B8=8A?= =?UTF-8?q?=E6=A0=87=E7=AD=BE=E6=98=BE=E7=A4=BA=E9=80=BB=E8=BE=91=E7=9A=84?= =?UTF-8?q?=E7=AE=97=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/card/CommandBadge.vue | 77 ++++++ src/components/card/CommandCardContent.vue | 1 + src/components/card/CommandTypeTag.vue | 268 +++++++++++++------- src/components/card/layouts/DenseLayout.vue | 2 + src/components/card/layouts/ListLayout.vue | 2 + src/components/card/layouts/MiniLayout.vue | 13 +- src/js/options/textDisplayRules.js | 9 + 7 files changed, 273 insertions(+), 99 deletions(-) create mode 100644 src/components/card/CommandBadge.vue create mode 100644 src/js/options/textDisplayRules.js diff --git a/src/components/card/CommandBadge.vue b/src/components/card/CommandBadge.vue new file mode 100644 index 0000000..4e398c6 --- /dev/null +++ b/src/components/card/CommandBadge.vue @@ -0,0 +1,77 @@ + + + + + diff --git a/src/components/card/CommandCardContent.vue b/src/components/card/CommandCardContent.vue index 35e051c..846c5e5 100644 --- a/src/components/card/CommandCardContent.vue +++ b/src/components/card/CommandCardContent.vue @@ -11,6 +11,7 @@ :isPlatformSupported="isPlatformSupported" :isHovered="isHovered" :style="iconHaloStyle" + :cardStyleCode="cardStyleCode" /> diff --git a/src/components/card/CommandTypeTag.vue b/src/components/card/CommandTypeTag.vue index 23c2a8d..df48d58 100644 --- a/src/components/card/CommandTypeTag.vue +++ b/src/components/card/CommandTypeTag.vue @@ -1,83 +1,192 @@