We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce54c34 commit 4c908b1Copy full SHA for 4c908b1
blog/components/ACGNItem.vue
@@ -67,10 +67,23 @@
67
class="text-sm whitespace-pre-line text-gray-400 flex-grow"
68
v-if="item.label?.length > 0"
69
>
70
- 标记:<span v-for="(label, index) in item.label" :key="index"
71
- ><span>{{ label }}</span
72
- ><span v-if="index !== item.label.length - 1">、</span></span
+ 标记:<UBadge
+ v-for="(label, index) in item.label"
+ :key="index"
73
+ color="white"
74
+ size="xs"
75
+ :ui="{
76
+ color: {
77
+ white: {
78
+ solid:
79
+ 'ring-1 ring-inset ring-gray-300 dark:ring-gray-700 text-gray-500 dark:text-white bg-white dark:text-gray-300'
80
+ }
81
82
+ }"
83
+ class="mr-1 mt-1"
84
85
+ {{ label }}
86
+ </UBadge>
87
</div>
88
89
0 commit comments