From b2d6940e478acc544430b658a0297828076283e9 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 6 Apr 2026 09:07:49 +0000 Subject: [PATCH 1/2] =?UTF-8?q?=E9=87=8D=E6=9E=84=E9=82=AE=E4=BB=B6?= =?UTF-8?q?=E6=A8=A1=E6=9D=BF=EF=BC=9A=E5=93=8D=E5=BA=94=E5=BC=8F=E8=AE=BE?= =?UTF-8?q?=E8=AE=A1=20+=20=E8=A7=86=E8=A7=89=E4=BC=98=E5=8C=96=20+=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=AA=8C=E8=AF=81=E7=A0=81=E9=80=9A=E9=81=93?= =?UTF-8?q?=E7=BC=BA=E5=A4=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 邮件模板重构: - wrapEmailTemplate: 添加viewport meta、@media响应式断点(620px/400px)、 暗色模式支持、table布局兼容Outlook、改善排版层次和间距 - 8种邮件类型全部优化: 更大padding、更好的字体层次、卡片式信息块、 交替行背景色表格、更宽松的行距(1.8→1.9/2.2) - 反馈按钮升级为渐变色样式 验证码通道修复: - CLI bandwidth-auth命令: 根据邮箱查找用户token,构建authPageUrl, 确保邮件中包含「前往授权页面输入验证码」按钮 - 带宽授权页面(subscription-server-v3.js): 增加@media响应式断点 (520px/380px)、改善触控体验(更大点击区域)、focus状态增加box-shadow Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/b8228c73-6b93-4af9-95a3-6c21b541e045 Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com> --- server/proxy/service/email-hub.js | 352 ++++++++++++------ .../proxy/service/subscription-server-v3.js | 156 ++++++-- 2 files changed, 366 insertions(+), 142 deletions(-) diff --git a/server/proxy/service/email-hub.js b/server/proxy/service/email-hub.js index f0a8c960..60e8297b 100644 --- a/server/proxy/service/email-hub.js +++ b/server/proxy/service/email-hub.js @@ -213,16 +213,16 @@ function logEmail(type, recipients, success, error) { function getFeedbackFooter(config) { const host = config.server_host || 'guanghulab.com'; return ` -
+
有建议或问题?欢迎反馈 👇
+ style="display: inline-block; background: linear-gradient(135deg, #667eea, #764ba2); color: white; padding: 12px 32px; border-radius: 8px; text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: 0.5px;"> 📝 提交意见反馈 -+
每周五 20:00 铸渊集中处理 · 每周一推送处理结果
${title}
+ + + + + +
+
|
+
| 流量池 | 2000 GB |
| 已使用 | 0 GB (已重置) |
| 重置日期 | 每月1日 |
| 协议 | VLESS + Reality |
| 流量池 | +2000 GB | +
| 已使用 | +0 GB (已重置) | +
| 重置日期 | +每月1日 | +
| 协议 | +VLESS + Reality | +
- 💡 您无需任何操作,刷新订阅即可继续使用。
- 流量池为所有用户共享,请合理使用。
-
+ 💡 您无需任何操作,刷新订阅即可继续使用。
+ 流量池为所有用户共享,请合理使用。
+
${escapeHtml(description).replace(/\n/g, '
')}
${escapeHtml(description).replace(/\n/g, '
')}
- ⏰ 更新时间: ${now}
- 💡 大部分更新只需刷新订阅即可生效。如需重新下载订阅链接,会另行通知。
-
+ ⏰ 更新时间: ${now}
+ 💡 大部分更新只需刷新订阅即可生效。如需重新下载订阅链接,会另行通知。
+
| 已使用 | ${usedGB} GB |
| 总配额 | ${totalGB} GB |
| 使用率 | ${percentage}% |
| 剩余 | ${remainGB} GB |
| 已使用 | +${usedGB} GB | +
| 总配额 | +${totalGB} GB | +
| 使用率 | +${percentage}% | +
| 剩余 | +${remainGB} GB | +