Files
bettafish-company/final_reports/final_report__20250826_163510.html
T
2025-08-26 17:34:36 +08:00

522 lines
17 KiB
HTML

<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>智能舆情分析报告</title>
</head>
<body>
json
{
"html_content": "<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>智能舆情分析报告 - 武汉大学</title>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<style>
:root {
--primary-color: #2c3e50;
--secondary-color: #3498db;
--background-color: #f4f7f9;
--card-bg-color: #ffffff;
--text-color: #333333;
--heading-color: #2c3e50;
--border-color: #e0e0e0;
--shadow-color: rgba(0, 0, 0, 0.08);
--success-color: #2ecc71;
--warning-color: #f39c12;
--danger-color: #e74c3c;
--info-color: #3498db;
--font-family: 'Helvetica Neue', 'Hiragino Sans GB', 'WenQuanYi Micro Hei', 'Microsoft Yahei', sans-serif;
}
.dark-mode {
--primary-color: #3498db;
--secondary-color: #2980b9;
--background-color: #1a1a1a;
--card-bg-color: #2c2c2c;
--text-color: #e0e0e0;
--heading-color: #ffffff;
--border-color: #444444;
--shadow-color: rgba(0, 0, 0, 0.2);
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: var(--font-family);
background-color: var(--background-color);
color: var(--text-color);
line-height: 1.6;
transition: background-color 0.3s, color 0.3s;
display: flex;
}
#sidebar {
width: 260px;
background-color: var(--card-bg-color);
border-right: 1px solid var(--border-color);
height: 100vh;
position: fixed;
top: 0;
left: 0;
padding: 20px;
display: flex;
flex-direction: column;
box-shadow: 2px 0 5px var(--shadow-color);
transition: background-color 0.3s, border-color 0.3s;
overflow-y: auto;
}
#sidebar h1 {
font-size: 1.5em;
color: var(--primary-color);
margin-bottom: 10px;
text-align: center;
}
#sidebar .logo {
font-weight: bold;
font-size: 1.2em;
color: var(--heading-color);
padding-bottom: 20px;
border-bottom: 1px solid var(--border-color);
}
#toc {
list-style: none;
margin-top: 20px;
flex-grow: 1;
}
#toc li a {
display: block;
color: var(--text-color);
text-decoration: none;
padding: 10px 15px;
border-radius: 6px;
margin-bottom: 5px;
font-weight: 500;
transition: background-color 0.2s, color 0.2s;
}
#toc li a:hover, #toc li a.active {
background-color: var(--primary-color);
color: #ffffff;
}
.sidebar-footer {
margin-top: auto;
font-size: 0.8em;
text-align: center;
color: #777;
}
#main-content {
margin-left: 260px;
width: calc(100% - 260px);
padding: 30px;
}
header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 30px;
padding-bottom: 20px;
border-bottom: 1px solid var(--border-color);
}
header h2 {
font-size: 2em;
color: var(--heading-color);
}
.header-actions button {
background: var(--card-bg-color);
border: 1px solid var(--border-color);
color: var(--text-color);
padding: 8px 15px;
border-radius: 6px;
cursor: pointer;
margin-left: 10px;
transition: background-color 0.2s, box-shadow 0.2s;
font-weight: 500;
}
.header-actions button:hover {
background-color: var(--background-color);
box-shadow: 0 2px 4px var(--shadow-color);
}
.report-section {
background-color: var(--card-bg-color);
border-radius: 8px;
padding: 25px;
margin-bottom: 30px;
box-shadow: 0 4px 12px var(--shadow-color);
transition: background-color 0.3s, box-shadow 0.3s;
}
.report-section h3 {
font-size: 1.6em;
color: var(--heading-color);
margin-bottom: 20px;
padding-bottom: 10px;
border-bottom: 2px solid var(--primary-color);
display: flex;
align-items: center;
}
.report-section h3 svg {
margin-right: 10px;
fill: var(--primary-color);
}
.grid-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 20px;
}
.data-card {
background: var(--background-color);
padding: 20px;
border-radius: 8px;
text-align: center;
border: 1px solid var(--border-color);
}
.data-card .value {
font-size: 2.5em;
font-weight: bold;
color: var(--primary-color);
}
.data-card .label {
font-size: 1em;
color: var(--text-color);
margin-top: 5px;
}
.hot-topic-card {
background: var(--background-color);
padding: 20px;
border-radius: 8px;
border-left: 5px solid;
}
.hot-topic-card.topic-1 { border-color: var(--success-color); }
.hot-topic-card.topic-2 { border-color: var(--warning-color); }
.hot-topic-card.topic-3 { border-color: var(--info-color); }
.hot-topic-card h4 {
font-size: 1.2em;
color: var(--heading-color);
margin-bottom: 10px;
}
.alert-card {
background-color: rgba(243, 156, 18, 0.1);
border-left: 5px solid var(--warning-color);
padding: 15px;
border-radius: 6px;
}
.alert-card p {
color: var(--warning-color);
font-weight: 500;
}
.chart-container {
position: relative;
height: 400px;
width: 100%;
}
.timeline {
position: relative;
padding: 20px 0;
}
.timeline::before {
content: '';
position: absolute;
left: 20px;
top: 0;
bottom: 0;
width: 3px;
background-color: var(--primary-color);
border-radius: 3px;
}
.timeline-item {
position: relative;
margin-bottom: 20px;
padding-left: 50px;
}
.timeline-item::before {
content: '';
position: absolute;
left: 12px;
top: 5px;
width: 20px;
height: 20px;
background-color: var(--card-bg-color);
border: 3px solid var(--primary-color);
border-radius: 50%;
z-index: 1;
}
.timeline-item-content {
background: var(--background-color);
padding: 15px;
border-radius: 6px;
}
.timeline-item-content .date {
font-weight: bold;
color: var(--primary-color);
}
details {
margin-bottom: 15px;
border: 1px solid var(--border-color);
border-radius: 6px;
overflow: hidden;
}
summary {
padding: 15px;
background-color: var(--background-color);
font-weight: bold;
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
}
summary::after {
content: '▼';
transform: rotate(0deg);
transition: transform 0.2s;
}
details[open] summary::after {
transform: rotate(180deg);
}
.details-content {
padding: 20px;
}
table {
width: 100%;
border-collapse: collapse;
margin-top: 15px;
}
th, td {
padding: 12px;
border: 1px solid var(--border-color);
text-align: left;
}
th {
background-color: var(--background-color);
font-weight: bold;
color: var(--heading-color);
}
.negative-item {
padding: 10px;
border-bottom: 1px solid var(--border-color);
display: flex;
align-items: center;
}
.negative-item:last-child { border-bottom: none; }
.negative-item .icon { color: var(--danger-color); margin-right: 10px; font-weight: bold; }
.risk-item {
padding: 10px;
border-bottom: 1px solid var(--border-color);
display: flex;
align-items: center;
}
.risk-item:last-child { border-bottom: none; }
.risk-item .icon { color: var(--warning-color); margin-right: 10px; font-weight: bold; }
@media (max-width: 1024px) {
#sidebar {
left: -260px;
transition: left 0.3s;
z-index: 1000;
}
body.sidebar-open #sidebar {
left: 0;
}
#main-content {
margin-left: 0;
width: 100%;
padding: 15px;
}
header h2 {
font-size: 1.5em;
}
.header-actions button {
padding: 6px 10px;
}
.menu-toggle {
display: block !important;
}
}
@media print {
body { display: block; }
#sidebar, .header-actions {
display: none;
}
#main-content {
margin-left: 0;
width: 100%;
padding: 0;
}
.report-section {
box-shadow: none;
border: 1px solid #ccc;
page-break-inside: avoid;
}
}
.menu-toggle {
display: none;
background: none;
border: none;
font-size: 24px;
cursor: pointer;
color: var(--heading-color);
}
</style>
</head>
<body>
<aside id="sidebar">
<div class="logo">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="currentColor" style="vertical-align: middle; margin-right: 8px;"><path d="M12 2L1 9l4 1.5V21h14v-10.5L23 9l-11-7zm-2 16h-2v-6h2v6zm4 0h-2v-6h2v6zm4 0h-2v-6h2v6zm-8-8H4.5L12 5.5 19.5 9H16v8H8v-8z"/></svg>
珞珈舆情洞察
</div>
<nav>
<ul id="toc">
<li><a href="#s1">舆情概览</a></li>
<li><a href="#s2">关键数据趋势</a></li>
<li><a href="#s3">舆情动态时间轴</a></li>
<li><a href="#s4">热点话题追踪</a></li>
<li><a href="#s5">重点渠道表现</a></li>
<li><a href="#s6">负面与风险监测</a></li>
<li><a href="#s7">简报与关注点</a></li>
</ul>
</nav>
<div class="sidebar-footer">
<p>&copy; 2024 智能报告生成</p>
</div>
</aside>
<main id="main-content">
<header>
<button class="menu-toggle" onclick="toggleSidebar()"></button>
<div>
<h2>武汉大学 智能舆情分析报告</h2>
<p style="color: #777;">数据周期:2024-03-01 至 2024-04-30</p>
</div>
<div class="header-actions">
<button id="theme-toggle">切换主题</button>
<button onclick="window.print()">打印/导出PDF</button>
</div>
</header>
<section id="s1" class="report-section">
<h3>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M3 13h8V3H3v10zm0 8h8v-6H3v6zm10 0h8V11h-8v10zm0-18v6h8V3h-8z"/></svg>
1.0 本期舆情概览
</h3>
<h4>1.1 核心数据看板</h4>
<div class="grid-container" style="margin-top: 20px;">
<div class="data-card">
<div class="value">3.8亿+</div>
<div class="label">总阅读量</div>
</div>
<div class="data-card">
<div class="value">210万+</div>
<div class="label">有效讨论</div>
</div>
<div class="data-card">
<div class="value">420万+</div>
<div class="label">总互动量</div>
</div>
<div class="data-card">
<div class="value" style="color: var(--success-color);">51%</div>
<div class="label">主要情感:骄傲与自豪</div>
</div>
</div>
<h4 style="margin-top: 30px;">1.2 本期舆情热度 TOP 3</h4>
<div class="grid-container" style="margin-top: 20px;">
<div class="hot-topic-card topic-1">
<h4>TOP 1: 樱花季的浪漫与焦虑</h4>
<p>#武大樱花预约# 话题阅读量超3.8亿,引发全民关注。舆论呈现两极化:游客与校友分享樱花美景的“浪漫”与“怀旧”;本地市民与未预约成功的网友则表达“抢票难”、“拥挤”的“焦虑”与“吐槽”。</p>
</div>
<div class="hot-topic-card topic-2">
<h4>TOP 2: 学科实力与就业现实</h4>
<p>“测绘遥感世界第一”等学术成就引发自豪感,但同时,“硕士春招薪资7.2k”、“法学生实习困境”等话题引发对就业前景的广泛讨论与焦虑,形成“理想与现实”的鲜明对比。</p>
</div>
<div class="hot-topic-card topic-3">
<h4>TOP 3: 百年校史的传承与新说</h4>
<p>“1893 vs 1913”的校史起点讨论在贴吧等社区持续发酵,而抖音上“学大汉武立国”的倒读梗则以年轻化、娱乐化的方式传播了校史文化,展现了历史在当代的多元解读。</p>
</div>
</div>
<h4 style="margin-top: 30px;">1.3 重点预警</h4>
<div class="alert-card" style="margin-top: 20px;">
<p><strong>就业焦虑情绪上升:</strong> 多个王牌学科(如测绘、法学)的毕业生薪资与公众对其“顶尖”地位的期望存在落差,相关讨论中“焦虑”、“内卷”、“工资条”等词频上升,可能影响未来招生吸引力及在校生心态。</p>
</div>
</section>
<section id="s2" class="report-section">
<h3>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M16 6l2.29 2.29-4.88 4.88-4-4L2 16.59 3.41 18l6-6 4 4 6.3-6.29L22 12V6z"/></svg>
2.0 关键数据趋势
</h3>
<div class="grid-container">
<div style="grid-column: 1 / -1;">
<h4>2.1 声量走势 (模拟)</h4>
<div class="chart-container">
<canvas id="volumeTrendChart"></canvas>
</div>
</div>
<div>
<h4>2.2 整体情感分布</h4>
<div class="chart-container" style="height: 350px;">
<canvas id="sentimentPieChart"></canvas>
</div>
</div>
<div>
<h4>2.3 数据来源平台分布</h4>
<div class="chart-container" style="height: 350px;">
<canvas id="platformBarChart"></canvas>
</div>
</div>
</div>
</section>
<section id="s3" class="report-section">
<h3>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path
</body>
</html>