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 @@ + + + + {{ text }} + + + + + + + {{ text }} + + + + + + + + + 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 @@ - - - - - - {{ cmd }} - - - {{ cmd }} - - - - - - {{ cmd.match.app[0] }} - - - - {{ app }} + + + + + + + + + {{ app }} - - - - - - {{ cmd.match || "所有文件" }} - - - - {{ cmd.match || "所有文件" }} + + + + + + + + + + + {{ app }} + + + + + + + + + + + + + + {{ getDisplayText(cmd) }} - - - - - - {{ cmd.match }} - - - - {{ cmd.match }} - - - - - - 所有文本 - - - - - 图片 - - - + + +