feat(report): improve daily intelligence UX and price tracking
Some checks failed
CI / go-test (push) Has been cancelled
CI / scripts-regression (push) Has been cancelled
CI / frontend-build (push) Has been cancelled
CI / docker-build (push) Has been cancelled

This commit is contained in:
phamnazage-jpg
2026-05-27 17:23:08 +08:00
parent f274621013
commit f5b373caf4
29 changed files with 4257 additions and 801 deletions

View File

@@ -3,7 +3,8 @@
max-width: 1200px;
margin: 0 auto;
padding: 20px;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
font-family:
-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.navbar {
@@ -252,7 +253,11 @@
border: 1px solid #dbeafe;
border-radius: 18px;
background:
radial-gradient(circle at top left, rgba(37, 99, 235, 0.10), transparent 35%),
radial-gradient(
circle at top left,
rgba(37, 99, 235, 0.1),
transparent 35%
),
rgba(255, 255, 255, 0.94);
box-shadow: 0 12px 30px rgba(37, 99, 235, 0.08);
}
@@ -343,6 +348,44 @@
color: #6b7280;
font-size: 13px;
}
.runtime-warning {
margin-bottom: 16px;
padding: 12px 14px;
border: 1px solid #f59e0b;
border-radius: 10px;
background: #fff7ed;
color: #9a3412;
font-size: 14px;
line-height: 1.5;
}
.runtime-error {
margin-bottom: 16px;
padding: 12px 14px;
border: 1px solid #dc2626;
border-radius: 10px;
background: #fef2f2;
color: #991b1b;
font-size: 14px;
line-height: 1.5;
}
.runtime-error-inline {
color: #991b1b;
}
.data-empty {
padding: 18px;
border: 1px dashed #d1d5db;
border-radius: 10px;
background: #f9fafb;
color: #6b7280;
text-align: center;
}
.runtime-warning-inline {
color: #9a3412;
}
.subscription-section {
padding: 20px;
@@ -431,6 +474,293 @@
text-align: center;
}
.explorer-editorial,
.report-priority-section {
display: grid;
gap: 18px;
}
.explorer-hero,
.filters-editorial,
.pricing-focus-card,
.pricing-board-card,
.report-priority-card,
.report-news-card,
.report-theme-card {
border: 1px solid rgba(15, 23, 42, 0.08);
border-radius: 20px;
background: linear-gradient(
180deg,
rgba(255, 255, 255, 0.98) 0%,
rgba(248, 250, 252, 0.96) 100%
);
box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
}
.explorer-hero,
.pricing-focus-card,
.report-priority-card {
padding: 22px;
}
.explorer-kicker,
.report-news-label {
font-size: 12px;
letter-spacing: 0.12em;
text-transform: uppercase;
color: #475569;
}
.explorer-hero {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 20px;
}
.explorer-hero h2 {
margin: 6px 0 8px;
font-size: 34px;
line-height: 1.05;
color: #0f172a;
}
.explorer-hero p,
.pricing-focus-header p,
.report-news-summary,
.report-theme-card li,
.report-evidence {
color: #475569;
line-height: 1.6;
}
.explorer-hero-meta {
display: flex;
gap: 10px;
flex-wrap: wrap;
}
.explorer-hero-meta span,
.report-news-label {
padding: 8px 12px;
border-radius: 999px;
background: #eff6ff;
color: #1d4ed8;
}
.filters-editorial {
padding: 14px 16px;
background: #fff;
}
.pricing-focus-header,
.report-news-grid,
.report-theme-grid,
.pricing-board-grid {
display: grid;
gap: 14px;
}
.pricing-focus-header {
grid-template-columns: 1fr auto;
align-items: start;
}
.pricing-focus-header h3,
.report-theme-title,
.report-news-title {
margin: 8px 0 6px;
color: #0f172a;
}
.pricing-focus-prices {
margin-top: 18px;
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 14px;
}
.pricing-focus-prices div,
.pricing-board-card,
.report-news-card,
.report-theme-card {
padding: 16px;
}
.pricing-focus-prices span,
.pricing-board-meta {
display: block;
color: #64748b;
font-size: 13px;
}
.pricing-focus-prices strong,
.pricing-board-price {
display: block;
margin-top: 8px;
font-size: 24px;
color: #111827;
}
.pricing-board-grid,
.report-news-grid,
.report-theme-grid {
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.report-priority-card {
background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}
.report-hero-priority {
background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 55%, #2563eb 100%);
}
.report-evidence {
margin-top: 12px;
color: rgba(255, 255, 255, 0.82);
}
.report-theme-card ul {
margin: 12px 0 0;
padding-left: 18px;
}
.model-table-editorial {
box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
}
.theme-news-list {
display: grid;
gap: 12px;
margin-top: 12px;
}
.theme-news-item {
padding: 14px;
border-radius: 14px;
background: rgba(248, 250, 252, 0.92);
border: 1px solid rgba(148, 163, 184, 0.18);
border-left: 6px solid #94a3b8;
}
.theme-news-item.tone-success {
background: linear-gradient(180deg, rgba(240, 253, 244, 0.98) 0%, rgba(220, 252, 231, 0.92) 100%);
border-color: rgba(34, 197, 94, 0.28);
border-left-color: #16a34a;
}
.theme-news-item.tone-success .card-title,
.theme-news-item.tone-success .trust-line {
color: #166534;
}
.theme-news-item.tone-caution {
background: linear-gradient(180deg, rgba(254, 242, 242, 0.98) 0%, rgba(254, 226, 226, 0.92) 100%);
border-color: rgba(239, 68, 68, 0.26);
border-left-color: #dc2626;
}
.theme-news-item.tone-caution .card-title,
.theme-news-item.tone-caution .trust-line {
color: #991b1b;
}
.theme-news-item.tone-promo {
background: linear-gradient(180deg, rgba(255, 247, 237, 0.98) 0%, rgba(250, 245, 255, 0.94) 100%);
border-color: rgba(168, 85, 247, 0.22);
border-left-color: #f97316;
}
.theme-news-item.tone-promo .card-title,
.theme-news-item.tone-promo .trust-line {
color: #9a3412;
}
.report-theme-card {
background: linear-gradient(180deg, rgba(248, 250, 252, 0.98) 0%, rgba(241, 245, 249, 0.94) 100%);
}
.report-theme-card:first-child {
border-color: rgba(34, 197, 94, 0.18);
}
.report-theme-card:first-child .report-theme-title {
color: #166534;
}
.report-theme-card:nth-child(2) {
border-color: rgba(239, 68, 68, 0.18);
}
.report-theme-card:nth-child(2) .report-theme-title {
color: #991b1b;
}
.report-theme-card:nth-child(3) {
border-color: rgba(249, 115, 22, 0.2);
}
.report-theme-card:nth-child(3) .report-theme-title {
color: #9a3412;
}
.report-theme-badge {
display: inline-flex;
align-items: center;
gap: 8px;
margin-bottom: 12px;
}
.report-theme-badge-icon {
width: 26px;
height: 26px;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 999px;
background: rgba(15, 23, 42, 0.08);
font-weight: 700;
}
.report-theme-badge-label {
font-size: 11px;
letter-spacing: 0.12em;
text-transform: uppercase;
color: #475569;
}
.report-theme-card.tone-success .report-theme-badge-icon {
background: rgba(34, 197, 94, 0.16);
color: #166534;
}
.report-theme-card.tone-caution .report-theme-badge-icon {
background: rgba(239, 68, 68, 0.16);
color: #991b1b;
}
.report-theme-card.tone-promo .report-theme-badge-icon {
background: rgba(249, 115, 22, 0.16);
color: #9a3412;
}
@media (max-width: 768px) {
.explorer-hero,
.pricing-focus-header {
grid-template-columns: 1fr;
display: grid;
}
.explorer-hero h2 {
font-size: 28px;
}
.pricing-focus-prices {
grid-template-columns: 1fr;
}
}
@media (max-width: 768px) {
.app {
padding: 16px;