diff --git a/frontend/src/components/NotificationBell.vue b/frontend/src/components/NotificationBell.vue index 4a3f5c3..3c7a0c5 100644 --- a/frontend/src/components/NotificationBell.vue +++ b/frontend/src/components/NotificationBell.vue @@ -270,6 +270,17 @@ onUnmounted(() => { background: $bg-card; color: rgba(255, 255, 255, 0.95); } + + // 确保Icon组件继承颜色 + :deep(.app-icon) { + color: inherit; + } + + // 确保SVG元素继承颜色 + :deep(svg) { + color: inherit; + stroke: currentColor; + } } .notification-dropdown {