修正全局主色

This commit is contained in:
WindowBird 2025-11-04 11:15:34 +08:00
parent 016f2a59ce
commit da4a588d9c
2 changed files with 12 additions and 12 deletions

View File

@ -90,11 +90,11 @@ onMounted(() => {
}">
<!-- 筛选提示 -->
<div v-if="code" class="mb-6 px-4">
<div class="inline-flex items-center gap-2 px-4 py-2 bg-blue-50 text-blue-700 rounded-lg">
<div class="inline-flex items-center gap-2 px-4 py-2 bg-primary-50 text-primary-700 rounded-lg">
<span>当前筛选{{ articleTypeMap[code] || code }}</span>
<button
@click="router.push('/article') "
class="text-blue-600 hover:text-blue-800 underline text-sm"
class="text-primary-600 hover:text-primary-800 underline text-sm"
>
清除筛选
</button>
@ -136,8 +136,8 @@ onMounted(() => {
>
<!-- 默认图片占位 -->
<div class="object-cover aspect-[4/3] w-full bg-gradient-to-br from-blue-100 to-blue-200 flex items-center justify-center rounded-lg">
<UIcon name="i-heroicons-document-text" class="size-16 text-blue-400" />
<div class="object-cover aspect-[4/3] w-full bg-gradient-to-br from-primary-100 to-primary-200 flex items-center justify-center rounded-lg">
<UIcon name="i-heroicons-document-text" class="size-16 text-primary-400" />
</div>
<template #footer>
<UButton