final_report__20250826_183811.html 17.4 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545
<!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>