545 lines
17 KiB
HTML
545 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 {
|
|
--bg-color: #f4f7f9;
|
|
--text-color: #333;
|
|
--card-bg: #ffffff;
|
|
--border-color: #e0e0e0;
|
|
--primary-color: #2c3e50;
|
|
--secondary-color: #3498db;
|
|
--accent-color: #e74c3c;
|
|
--green-color: #2ecc71;
|
|
--yellow-color: #f1c40f;
|
|
--sidebar-bg: #ffffff;
|
|
--sidebar-text: #34495e;
|
|
--sidebar-active-bg: #ecf0f1;
|
|
--header-bg: #ffffff;
|
|
--shadow-color: rgba(0, 0, 0, 0.08);
|
|
}
|
|
|
|
body.dark-mode {
|
|
--bg-color: #1a1a1a;
|
|
--text-color: #e0e0e0;
|
|
--card-bg: #2c2c2c;
|
|
--border-color: #444;
|
|
--primary-color: #ffffff;
|
|
--secondary-color: #3498db;
|
|
--accent-color: #e74c3c;
|
|
--sidebar-bg: #252525;
|
|
--sidebar-text: #bdc3c7;
|
|
--sidebar-active-bg: #333;
|
|
--header-bg: #2c2c2c;
|
|
--shadow-color: rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&display=swap');
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Noto Sans SC', sans-serif;
|
|
background-color: var(--bg-color);
|
|
color: var(--text-color);
|
|
line-height: 1.7;
|
|
transition: background-color 0.3s, color 0.3s;
|
|
display: flex;
|
|
}
|
|
|
|
.sidebar {
|
|
width: 260px;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
height: 100vh;
|
|
background-color: var(--sidebar-bg);
|
|
border-right: 1px solid var(--border-color);
|
|
padding: 20px;
|
|
overflow-y: auto;
|
|
transition: all 0.3s;
|
|
z-index: 1000;
|
|
}
|
|
|
|
.sidebar-header {
|
|
margin-bottom: 30px;
|
|
text-align: center;
|
|
}
|
|
|
|
.sidebar-header h2 {
|
|
color: var(--primary-color);
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.sidebar-header p {
|
|
font-size: 0.8rem;
|
|
color: var(--secondary-color);
|
|
}
|
|
|
|
.sidebar-nav ul {
|
|
list-style: none;
|
|
}
|
|
|
|
.sidebar-nav li a {
|
|
display: block;
|
|
padding: 12px 15px;
|
|
color: var(--sidebar-text);
|
|
text-decoration: none;
|
|
border-radius: 8px;
|
|
margin-bottom: 5px;
|
|
transition: background-color 0.3s, color 0.3s;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.sidebar-nav li a:hover,
|
|
.sidebar-nav li a.active {
|
|
background-color: var(--sidebar-active-bg);
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.main-content {
|
|
margin-left: 260px;
|
|
width: calc(100% - 260px);
|
|
padding: 20px 40px;
|
|
transition: margin-left 0.3s;
|
|
}
|
|
|
|
.page-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 10px 0;
|
|
margin-bottom: 20px;
|
|
border-bottom: 1px solid var(--border-color);
|
|
background-color: var(--bg-color);
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 999;
|
|
}
|
|
|
|
.page-header h1 {
|
|
font-size: 2rem;
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.header-actions button {
|
|
background: none;
|
|
border: 1px solid var(--border-color);
|
|
color: var(--sidebar-text);
|
|
padding: 8px 12px;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
margin-left: 10px;
|
|
transition: all 0.3s;
|
|
font-family: 'Noto Sans SC', sans-serif;
|
|
}
|
|
|
|
.header-actions button:hover {
|
|
background-color: var(--sidebar-active-bg);
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.report-section {
|
|
margin-bottom: 40px;
|
|
padding-top: 60px; /* Offset for sticky header */
|
|
margin-top: -60px; /* Negative margin to compensate */
|
|
}
|
|
|
|
.card {
|
|
background-color: var(--card-bg);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 12px;
|
|
padding: 25px;
|
|
box-shadow: 0 4px 12px var(--shadow-color);
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
.card-header h2 {
|
|
font-size: 1.5rem;
|
|
color: var(--primary-color);
|
|
margin-bottom: 15px;
|
|
border-left: 4px solid var(--secondary-color);
|
|
padding-left: 10px;
|
|
}
|
|
|
|
.card-header h3 {
|
|
font-size: 1.2rem;
|
|
color: var(--primary-color);
|
|
margin: 20px 0 10px;
|
|
}
|
|
|
|
.grid-container {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
|
gap: 20px;
|
|
}
|
|
|
|
.data-card {
|
|
background-color: var(--bg-color);
|
|
padding: 20px;
|
|
border-radius: 10px;
|
|
text-align: center;
|
|
border: 1px solid var(--border-color);
|
|
}
|
|
|
|
.data-card .value {
|
|
font-size: 2.2rem;
|
|
font-weight: 700;
|
|
color: var(--secondary-color);
|
|
}
|
|
|
|
.data-card .label {
|
|
font-size: 0.9rem;
|
|
color: var(--sidebar-text);
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.top-topic {
|
|
background-color: var(--bg-color);
|
|
padding: 15px;
|
|
border-radius: 8px;
|
|
margin-bottom: 10px;
|
|
border-left: 3px solid var(--yellow-color);
|
|
}
|
|
|
|
.top-topic.negative {
|
|
border-left-color: var(--accent-color);
|
|
}
|
|
|
|
.top-topic.positive {
|
|
border-left-color: var(--green-color);
|
|
}
|
|
|
|
.top-topic h4 {
|
|
font-size: 1.1rem;
|
|
color: var(--primary-color);
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.top-topic p {
|
|
font-size: 0.9rem;
|
|
color: var(--sidebar-text);
|
|
}
|
|
|
|
.alert-card {
|
|
background-color: rgba(231, 76, 60, 0.1);
|
|
border: 1px solid var(--accent-color);
|
|
padding: 20px;
|
|
border-radius: 8px;
|
|
color: var(--accent-color);
|
|
}
|
|
|
|
.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: 2px;
|
|
background: var(--border-color);
|
|
}
|
|
|
|
.timeline-item {
|
|
position: relative;
|
|
margin-bottom: 30px;
|
|
padding-left: 50px;
|
|
}
|
|
|
|
.timeline-item::before {
|
|
content: '';
|
|
position: absolute;
|
|
left: 14px;
|
|
top: 5px;
|
|
width: 15px;
|
|
height: 15px;
|
|
border-radius: 50%;
|
|
background: var(--secondary-color);
|
|
border: 3px solid var(--bg-color);
|
|
}
|
|
|
|
.timeline-date {
|
|
font-weight: bold;
|
|
color: var(--secondary-color);
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
details {
|
|
background: var(--bg-color);
|
|
border-radius: 8px;
|
|
margin-bottom: 15px;
|
|
border: 1px solid var(--border-color);
|
|
}
|
|
|
|
summary {
|
|
font-weight: 500;
|
|
padding: 15px;
|
|
cursor: pointer;
|
|
font-size: 1.1rem;
|
|
color: var(--primary-color);
|
|
list-style: none; /* For Firefox */
|
|
}
|
|
summary::-webkit-details-marker { display: none; } /* For Chrome/Safari */
|
|
|
|
summary::after {
|
|
content: '+';
|
|
float: right;
|
|
font-size: 1.5rem;
|
|
transition: transform 0.3s;
|
|
}
|
|
|
|
details[open] summary::after {
|
|
transform: rotate(45deg);
|
|
}
|
|
|
|
.details-content {
|
|
padding: 0 20px 20px;
|
|
}
|
|
|
|
.channel-list li {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 15px;
|
|
}
|
|
.channel-list .icon {
|
|
font-size: 1.5rem; margin-right: 15px; width: 30px; text-align: center;
|
|
}
|
|
|
|
.risk-item {
|
|
padding: 15px;
|
|
border-radius: 8px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.risk-item.high {
|
|
background-color: rgba(231, 76, 60, 0.1);
|
|
border-left: 4px solid var(--accent-color);
|
|
}
|
|
|
|
.risk-item.medium {
|
|
background-color: rgba(241, 196, 15, 0.1);
|
|
border-left: 4px solid var(--yellow-color);
|
|
}
|
|
|
|
footer {
|
|
text-align: center;
|
|
padding: 20px;
|
|
margin-top: 40px;
|
|
font-size: 0.9rem;
|
|
color: var(--sidebar-text);
|
|
border-top: 1px solid var(--border-color);
|
|
}
|
|
|
|
@media (max-width: 1024px) {
|
|
.sidebar {
|
|
left: -260px;
|
|
}
|
|
.main-content {
|
|
margin-left: 0;
|
|
width: 100%;
|
|
padding: 15px;
|
|
}
|
|
body.sidebar-open .sidebar {
|
|
left: 0;
|
|
}
|
|
.page-header h1 { font-size: 1.5rem; }
|
|
}
|
|
|
|
@media print {
|
|
body { display: block; }
|
|
.sidebar, .header-actions, .page-header {
|
|
display: none;
|
|
}
|
|
.main-content {
|
|
margin-left: 0;
|
|
width: 100%;
|
|
padding: 0;
|
|
}
|
|
.card {
|
|
box-shadow: none;
|
|
border: 1px solid #ccc;
|
|
page-break-inside: avoid;
|
|
}
|
|
.report-section {
|
|
padding-top: 0; margin-top: 0;
|
|
}
|
|
a { text-decoration: none; color: inherit; }
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<nav class="sidebar">
|
|
<div class="sidebar-header">
|
|
<h2>舆情分析报告</h2>
|
|
<p>武汉大学</p>
|
|
</div>
|
|
<ul class="sidebar-nav">
|
|
<li><a href="#overview" class="active">1.0 舆情概览</a></li>
|
|
<li><a href="#trends">2.0 关键数据趋势</a></li>
|
|
<li><a href="#timeline">3.0 舆情动态时间轴</a></li>
|
|
<li><a href="#hot-topics">4.0 热点话题追踪</a></li>
|
|
<li><a href="#channels">5.0 重点渠道表现</a></li>
|
|
<li><a href="#risks">6.0 负面与风险监测</a></li>
|
|
<li><a href="#summary">7.0 简报与关注点</a></li>
|
|
</ul>
|
|
</nav>
|
|
|
|
<div class="main-content">
|
|
<header class="page-header">
|
|
<h1>智能舆情分析报告</h1>
|
|
<div class="header-actions">
|
|
<button id="theme-toggle">🌙 切换模式</button>
|
|
<button onclick="window.print()">🖨️ 打印/导出PDF</button>
|
|
</div>
|
|
</header>
|
|
|
|
<main>
|
|
<section id="overview" class="report-section">
|
|
<div class="card">
|
|
<div class="card-header">
|
|
<h2>1.0 本期舆情概览</h2>
|
|
<p>数据周期:2024-03-01 至 2024-04-30</p>
|
|
</div>
|
|
|
|
<h3>1.1 核心数据看板</h3>
|
|
<div class="grid-container">
|
|
<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">12个</div>
|
|
<div class="label">核心信源</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div style="margin-top: 30px;">
|
|
<div class="chart-container" style="height: 300px;">
|
|
<canvas id="sentimentPieChart"></canvas>
|
|
</div>
|
|
</div>
|
|
|
|
<h3>1.2 本期舆情热度 TOP 3</h3>
|
|
<div class="top-topic negative">
|
|
<h4>1. 学术诚信危机持续发酵</h4>
|
|
<p>杨景媛学术不端及图书馆诬告案后续讨论,引发公众对高校学术伦理、审查机制和危机应对的强烈质疑。</p>
|
|
</div>
|
|
<div class="top-topic positive">
|
|
<h4>2. 校园文化与“樱花经济”</h4>
|
|
<p>#武大樱花#话题引爆社交网络,展现校园美景的同时,也伴随“抢票难”、“过度商业化”的讨论。</p>
|
|
</div>
|
|
<div class="top-topic">
|
|
<h4>3. 学科荣耀与现实焦虑</h4>
|
|
<p>“世界第一”的遥感学科自豪感与毕业生薪资现实的巨大反差,成为热议焦点,反映了“理想与面包”的普遍焦虑。</p>
|
|
</div>
|
|
|
|
<h3>1.3 重点预警</h3>
|
|
<div class="alert-card">
|
|
<strong>高风险预警:</strong>学术不端事件调查处理进展缓慢,官方信息发布不透明,持续消耗公信力。任何后续处理不当都可能引发新一轮大规模负面舆情,严重损害学校百年声誉。
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<section id="trends" class="report-section">
|
|
<div class="card">
|
|
<div class="card-header">
|
|
<h2>2.0 关键数据趋势</h2>
|
|
</div>
|
|
|
|
<h3>2.1 声量走势</h3>
|
|
<div class="chart-container">
|
|
<canvas id="volumeTrendChart"></canvas>
|
|
</div>
|
|
|
|
<h3>2.2 情感趋势</h3>
|
|
<div class="chart-container">
|
|
<canvas id="sentimentTrendChart"></canvas>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<section id="timeline" class="report-section">
|
|
<div class="card">
|
|
<div class="card-header">
|
|
<h2>3.0 本周期舆情动态时间轴</h2>
|
|
</div>
|
|
<div class="timeline">
|
|
<div class="timeline-item">
|
|
<div class="timeline-date">3月初</div>
|
|
<div class="timeline-content">
|
|
<h4>樱花季预热</h4>
|
|
<p>社交媒体上关于武大樱花预约、赏樱攻略的讨论开始升温,正面情绪为主,伴随对“抢票难”的轻微焦虑。</p>
|
|
</div>
|
|
</div>
|
|
<div class="timeline-item">
|
|
<div class="timeline-date">3月中下旬</div>
|
|
<div class="timeline-content">
|
|
<h4>樱花季高峰与学术不端讨论再起</h4>
|
|
<p>樱花季进入高峰,#武大樱花#话题阅读量达3.8亿,正面讨论与“游客过多”、“商业化”的负面评价交织。同时,因毕业生求职季,杨景媛学术不端事件被再次广泛讨论,负面声量显著上升。</p>
|
|
</div>
|
|
</div>
|
|
<div class="timeline-item">
|
|
<div class="timeline-date">4月上旬</div>
|
|
<div class="timeline-content">
|
|
<h4>学科实力与就业焦虑并存</h4>
|
|
<p>知乎等平台出现高赞讨论,对比武大顶尖学科(如测绘遥感世界第一)的学术荣耀与相关专业毕业生面临的薪资困境,引发学生和校友的普遍共鸣和焦虑情绪。</p>
|
|
</div>
|
|
</div>
|
|
<div class="timeline-item">
|
|
<div class="timeline-date">4月下旬</div>
|
|
<div class="timeline-content">
|
|
<h4>国际交流与校友怀旧</h4>
|
|
<p>关于国际交换项目成本、校友对母校记忆的讨论增多。情感基调复杂,既有对国际化视野的向往,也有对教育公平和成本的现实考量;怀旧情绪浓厚。</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<section id="hot-topics" class="report-section">
|
|
<div class="card">
|
|
<div class="card-header">
|
|
<h2>4.0 热点话题追踪</h2>
|
|
</div>
|
|
|
|
<details open>
|
|
<summary>4.1 本期热点事件/话题详情</
|
|
</body>
|
|
</html> |