修复代码审查反馈:移除zoom禁用(可访问性)、修复Outlook引号、移除邮件transition、优化字体栈

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/b8228c73-6b93-4af9-95a3-6c21b541e045

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-04-06 09:09:44 +00:00 committed by GitHub
parent b2d6940e47
commit 85125fd1c8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -243,7 +243,7 @@ function wrapEmailTemplate(title, content, config) {
<title>光湖语言世界</title>
<!--[if mso]>
<style type="text/css">
body, table, td { font-family: 'Microsoft YaHei', SimSun, sans-serif !important; }
body, table, td { font-family: Microsoft YaHei, SimSun, sans-serif !important; }
</style>
<![endif]-->
<style type="text/css">
@ -457,7 +457,7 @@ function generateTrafficWarnEmail(percentage, poolStatus, config) {
<!-- 进度条 -->
<div style="background: #e9ecef; border-radius: 10px; height: 24px; margin: 20px 0; overflow: hidden;">
<div style="background: ${barColor}; height: 100%; width: ${Math.min(percentage, 100)}%; border-radius: 10px; transition: width 0.3s;"></div>
<div style="background: ${barColor}; height: 100%; width: ${Math.min(percentage, 100)}%; border-radius: 10px;"></div>
</div>
<p style="color: #8c8c8c; font-size: 13px; margin: 0; line-height: 1.6;">
@ -545,7 +545,7 @@ function generateBandwidthAuthEmail(code, authPageUrl, config) {
<!-- 验证码展示区 -->
<div class="info-card" style="background: #f0f7ff; border: 2px dashed #667eea; border-radius: 14px; padding: 28px 20px; margin: 0 0 24px; text-align: center;">
<p style="color: #8c8c8c; font-size: 13px; margin: 0 0 12px;">您的验证码 (15分钟内有效)</p>
<p class="code-display" style="font-size: 40px; font-weight: 700; color: #1a1a2e; letter-spacing: 10px; margin: 0; font-family: 'SF Mono', 'Fira Code', Consolas, monospace;">${code}</p>
<p class="code-display" style="font-size: 40px; font-weight: 700; color: #1a1a2e; letter-spacing: 10px; margin: 0; font-family: Consolas, Monaco, 'Courier New', monospace;">${code}</p>
</div>
${authPageUrl ? `

View File

@ -900,7 +900,7 @@ mode: direct
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>光湖语言世界 · 带宽共享授权</title>
<style>