From 462933f4afd996979aa9b1449a55b60170690bc4 Mon Sep 17 00:00:00 2001 From: zdl <3489966805@qq.com> Date: Mon, 3 Nov 2025 15:59:12 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=BB=9F=E4=B8=80=E4=BA=8B=E4=BB=B6?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E5=92=8C=E6=BB=9A=E5=8A=A8=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E7=9A=84=E9=87=8D=E8=A6=81=E6=80=A7=E9=A2=9C=E8=89=B2=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 优化: - 事件详情页面的重要性标签从固定橙色改为动态红色渐变 - 背景色使用 importance.bgColor (red.50) - 文字和边框颜色使用 importance.badgeBg (red.800/600/500/400) - 添加 2px 边框以保持视觉一致性 - 与滚动事件列表的重要性角标样式保持统一 修改文件: - src/views/Community/components/DynamicNewsDetail/EventHeaderInfo.js 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .../components/DynamicNewsDetail/EventHeaderInfo.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/views/Community/components/DynamicNewsDetail/EventHeaderInfo.js b/src/views/Community/components/DynamicNewsDetail/EventHeaderInfo.js index 0a6f1ae0..aa2cee36 100644 --- a/src/views/Community/components/DynamicNewsDetail/EventHeaderInfo.js +++ b/src/views/Community/components/DynamicNewsDetail/EventHeaderInfo.js @@ -112,12 +112,14 @@ const EventHeaderInfo = ({ event, importance, isFollowing, followerCount, onTogg {/* 重要性文本 */} - + 重要性:{getImportanceText()}