From 0d704e8ed6c7ebe82764ce543a8f6121ca0c7846 Mon Sep 17 00:00:00 2001 From: Saramanda9988 <2074730050@qq.com> Date: Wed, 31 Dec 2025 00:54:32 +0800 Subject: [PATCH] feat: Enhance Retro Futurism templates with new header icons and layout adjustments --- .../retro_futurism/image_template.html | 63 ++++++++++++++----- .../retro_futurism/pdf_template.html | 60 ++++++++++++++---- 2 files changed, 98 insertions(+), 25 deletions(-) diff --git a/src/reports/templates/retro_futurism/image_template.html b/src/reports/templates/retro_futurism/image_template.html index d340bb3..3cda588 100644 --- a/src/reports/templates/retro_futurism/image_template.html +++ b/src/reports/templates/retro_futurism/image_template.html @@ -80,18 +80,15 @@ /* Decorative Color Bar */ .color-bar { - position: absolute; - top: 60px; - left: 0; display: flex; - flex-direction: column; + flex-direction: row; gap: 0; - z-index: 10; + margin-bottom: 20px; } .c-block { - width: 40px; - height: 10px; + width: 70px; + height: 5px; } .cb-1 { background: var(--c-dec-1); } @@ -128,6 +125,29 @@ color: var(--c-accent); } + .header-icons { + display: flex; + gap: 18px; + margin-top: 20px; + align-items: center; + } + + .header-icon { + width: 38px; + height: 38px; + display: flex; + align-items: center; + justify-content: center; + border: 2px solid var(--c-accent); + background: rgba(178, 101, 59, 0.08); + } + + .header-icon svg { + width: 20px; + height: 20px; + fill: var(--c-text); + } + .header-brief { max-width: 500px; color: rgba(24, 24, 24, 0.7); @@ -607,16 +627,31 @@
- -
-
-
-
-
-
+
+
+
+
+
System Report // {{current_date}}

Daily
Analysis
Export

+
+
+ + + +
+
+ + + +
+
+ + + +
+

QQ群日常活动分析报告,基于消息统计与AI分析生成

diff --git a/src/reports/templates/retro_futurism/pdf_template.html b/src/reports/templates/retro_futurism/pdf_template.html index 90d87d1..3528ee0 100644 --- a/src/reports/templates/retro_futurism/pdf_template.html +++ b/src/reports/templates/retro_futurism/pdf_template.html @@ -110,16 +110,14 @@ } .color-strip { - position: absolute; - top: 32px; - left: -40px; display: flex; - flex-direction: column; - gap: 4px; + flex-direction: row; + gap: 0; + margin-bottom: 24px; } .color-strip span { - width: 120px; + width: 80px; height: 6px; } @@ -164,6 +162,29 @@ color: var(--c-main); } + .hero-icons { + display: flex; + gap: 20px; + margin-top: 24px; + align-items: center; + } + + .hero-icon { + width: 42px; + height: 42px; + display: flex; + align-items: center; + justify-content: center; + border: 2px solid var(--c-accent); + background: rgba(178, 101, 59, 0.08); + } + + .hero-icon svg { + width: 22px; + height: 22px; + fill: var(--c-dark); + } + .hero-brief { max-width: 460px; color: rgba(24, 24, 24, 0.7); @@ -632,15 +653,32 @@
-
- - - -
+
+ + + +
Instruction Catalogue // Retro Futurism Export

Left Aligned
Daily Report

+
+
+ + + +
+
+ + + +
+
+ + + +
+

利用网格与留白塑造复古终端的秩序感,配合 #B2653B 主色的橙铜质感, 打造一份兼容当代阅读体验的指令式日报。