From 5c3de0dbe09a4462ef36ef5ce9db972814f9d764 Mon Sep 17 00:00:00 2001 From: "2569718930@qq.com" <2569718930@qq.com> Date: Fri, 13 Mar 2026 07:40:09 +0800 Subject: [PATCH] feat: Add dashboard layout with dark theme and Pro feature paywall component. --- .../components/dashboard/Dashboard.module.css | 4 +- .../dashboard/ProFeaturePaywall.tsx | 134 ++++++++++-------- 2 files changed, 77 insertions(+), 61 deletions(-) diff --git a/frontend/components/dashboard/Dashboard.module.css b/frontend/components/dashboard/Dashboard.module.css index eedb67ba..e0fbe487 100644 --- a/frontend/components/dashboard/Dashboard.module.css +++ b/frontend/components/dashboard/Dashboard.module.css @@ -1431,8 +1431,8 @@ left: 0; right: 0; bottom: 0; - background: rgba(0, 0, 0, 0.6); - backdrop-filter: blur(4px); + background: rgba(2, 6, 23, 0.75); + backdrop-filter: blur(12px); z-index: 10000; display: flex; align-items: center; diff --git a/frontend/components/dashboard/ProFeaturePaywall.tsx b/frontend/components/dashboard/ProFeaturePaywall.tsx index 86d3d5d1..da7692f1 100644 --- a/frontend/components/dashboard/ProFeaturePaywall.tsx +++ b/frontend/components/dashboard/ProFeaturePaywall.tsx @@ -36,69 +36,85 @@ export function ProFeaturePaywall({ feature }: ProFeaturePaywallProps) { const isEn = locale === "en-US"; return ( -
- {isEn - ? `This module (${featureLabel}) is available for subscribers only. Upgrade to unlock advanced weather intelligence.` - : `当前模块(${featureLabel})仅对订阅用户开放。升级后可解锁更完整的气象分析能力。`} -
-+ {isEn + ? `This module (${featureLabel}) is available for subscribers only. Upgrade to unlock advanced weather intelligence.` + : `当前模块(${featureLabel})仅对订阅用户开放。升级后可解锁更完整的气象分析能力。`} +
+