master
shenhan000 2025-05-14 17:58:06 +08:00
parent 73baf0a166
commit e9494b156b
1 changed files with 3 additions and 3 deletions

View File

@ -181,9 +181,9 @@ onMounted(() => {
</div>
<div
v-for="tag in tagList" :key="tag.id" class="flex items-center px-4 py-1 rounded cursor-pointer mr-2" :style="{
backgroundColor: publishListParams.type === tag.id ? '#000000' : '#ffffff',
color: publishListParams.type === tag.id ? '#ffffff' : '#878d95',
v-for="tag in tagList" :key="tag" class="flex items-center px-4 py-1 rounded cursor-pointer mr-2" :style="{
backgroundColor: publishListParams.labelName === tag ? '#000000' : '#ffffff',
color: publishListParams.labelName === tag ? '#ffffff' : '#878d95',
}" @click="handleTagClick(tag)"
>
{{ tag }}