geo/backend/app/templates/geo_weekly_report.html

70 lines
3.3 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>GEO周报</title>
</head>
<body style="margin:0;padding:0;background-color:#f5f5f5;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
<table width="100%" cellpadding="0" cellspacing="0" style="background-color:#f5f5f5;padding:24px 0;">
<tr><td align="center">
<table width="600" cellpadding="0" cellspacing="0" style="background-color:#ffffff;border-radius:12px;overflow:hidden;max-width:100%;">
<tr><td style="background:linear-gradient(135deg,#4f46e5,#7c3aed);padding:32px 40px;">
<h1 style="margin:0;color:#ffffff;font-size:24px;font-weight:700;">GEO 周度报告</h1>
<p style="margin:8px 0 0;color:rgba(255,255,255,0.85);font-size:14px;">{{user_name}}这是您本周的GEO变化概览</p>
</td></tr>
<tr><td style="padding:32px 40px;">
<table width="100%" cellpadding="0" cellspacing="0" style="margin-bottom:24px;">
<tr>
<td style="background-color:#f0fdf4;border-radius:8px;padding:20px;text-align:center;width:48%;">
<p style="margin:0;font-size:13px;color:#6b7280;">当前评分</p>
<p style="margin:8px 0 0;font-size:36px;font-weight:700;color:#059669;">{{current_score}}</p>
</td>
<td width="4%"></td>
<td style="background-color:#f9fafb;border-radius:8px;padding:20px;text-align:center;width:48%;">
<p style="margin:0;font-size:13px;color:#6b7280;">上周评分</p>
<p style="margin:8px 0 0;font-size:36px;font-weight:700;color:#6b7280;">{{previous_score}}</p>
</td>
</tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0" style="background-color:#f0fdf4;border-radius:8px;padding:16px 20px;margin-bottom:16px;">
<tr><td>
<p style="margin:0;font-size:14px;font-weight:600;color:#059669;">▲ 评分变化: {{score_change}}</p>
</td></tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0" style="margin-bottom:24px;">
<tr>
<td style="padding:16px 20px;background-color:#f0fdf4;border-radius:8px;margin-bottom:8px;">
<p style="margin:0 0 4px;font-size:13px;font-weight:600;color:#059669;">↑ 提升维度</p>
<p style="margin:0;font-size:14px;color:#374151;">{{top_improved}}</p>
</td>
</tr>
<tr><td height="8"></td></tr>
<tr>
<td style="padding:16px 20px;background-color:#fef2f2;border-radius:8px;">
<p style="margin:0 0 4px;font-size:13px;font-weight:600;color:#dc2626;">↓ 下降维度</p>
<p style="margin:0;font-size:14px;color:#374151;">{{top_declined}}</p>
</td>
</tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0" style="background-color:#eff6ff;border-radius:8px;padding:16px 20px;margin-bottom:24px;">
<tr><td>
<p style="margin:0 0 4px;font-size:13px;font-weight:600;color:#2563eb;">💡 优化建议</p>
<p style="margin:0;font-size:14px;color:#374151;">{{suggestions}}</p>
</td></tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
<tr><td align="center">
<a href="{{report_link}}" style="display:inline-block;background-color:#4f46e5;color:#ffffff;text-decoration:none;padding:12px 32px;border-radius:8px;font-size:15px;font-weight:600;">查看详细报告</a>
</td></tr>
</table>
</td></tr>
<tr><td style="background-color:#f9fafb;padding:20px 40px;text-align:center;">
<p style="margin:0;font-size:12px;color:#9ca3af;">© {{year}} GEO平台 — AI搜索优化领导者</p>
</td></tr>
</table>
</td></tr>
</table>
</body>
</html>