mirror of
https://github.com/stardrophere/InsightRadar.git
synced 2026-06-06 03:07:50 +08:00
缓存优化
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user