缓存优化

This commit is contained in:
stardrophere
2026-03-12 14:17:15 +08:00
parent 3d7d53f96f
commit 37791c7976
5 changed files with 82 additions and 18 deletions
+4 -3
View File
@@ -147,9 +147,9 @@ function getPlatformColor(name: string): string {
}
function getHotLevel(score: number): { label: string; color: string; bg: string } {
if (score >= 50) return { label: '全网沸腾', color: '#ef4444', bg: 'rgba(239,68,68,0.15)' }
if (score >= 20) return { label: '高度关注', color: '#f97316', bg: 'rgba(249,115,22,0.15)' }
if (score >= 10) return { label: '上升中', color: '#3b82f6', bg: 'rgba(59,130,246,0.15)' }
if (score >= 10) return { label: '全网沸腾', color: '#ef4444', bg: 'rgba(239,68,68,0.15)' }
if (score >= 5) return { label: '高度关注', color: '#f97316', bg: 'rgba(249,115,22,0.15)' }
if (score >= 3) return { label: '上升中', color: '#3b82f6', bg: 'rgba(59,130,246,0.15)' }
return { label: '一般关注', color: '#6b7280', bg: 'rgba(107,114,128,0.15)' }
}
@@ -1171,6 +1171,7 @@ watch(() => route.query.event, (newId) => {
gap: 10px;
min-width: 0;
font-size: 14px;
font-weight:500;
}
.platform-info i {