feat: 颜色调整

This commit is contained in:
2025-12-13 17:24:54 +08:00
parent cf431a19b1
commit 185eb452cc

View File

@ -8,7 +8,7 @@
@mouseleave="showActions[index] = false">
<div class="post-header">
<div class="post-title">
<span v-if="item.sfzd == 1" class="premium-tag">精品</span>
<span v-if="item.sfzd == 1" class="premium-tag">精品</span>
{{ item.title || '无标题' }}
</div>
<div class="post-meta">
@ -252,16 +252,14 @@ const load = () => {
// 精品标签
.premium-tag {
display: inline-block;
background: #ff6b6b;
background: #ee5527;
color: white;
font-size: 12px;
font-weight: 700;
padding: 2px 4px;
// font-weight: 700;
padding: 2px 8px;
border-radius: 4px;
margin-right: 8px;
box-shadow: 0 2px 4px rgba(255, 107, 107, 0.3);
animation: premium-shine 2s ease-in-out infinite;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}