Files
PolyHermes/frontend/public/logo.svg
T
WrBug 777710c2ed feat: 完善 Telegram 推送通知功能
- 推送模板优化:
  - 优先使用账户名称而不是钱包地址
  - 使用市场标题而不是16进制ID
  - 添加可点击的市场链接(支持 slug 和 conditionId)
  - 添加市场方向(outcome)显示
  - 数量和价格从订单详情API获取实际值
  - 失败通知只显示后端返回的msg,不显示完整堆栈

- 多语言支持:
  - 后端推送消息支持多语言(使用前端最后请求的语言)
  - 添加所有 ErrorCode 的多语言资源文件(中文简体、繁体、英文)
  - 通知消息文本全部使用多语言资源

- 功能改进:
  - 从订单详情获取实际的 side、price、size、outcome
  - 支持买入/卖出方向的多语言显示
  - 错误信息优化,只显示后端返回的错误消息
2025-12-05 02:20:46 +08:00

60 lines
1.3 KiB
XML

<svg width="64" height="64" viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg">
<defs>
<linearGradient id="logoGradient" x1="0%" y1="0%" x2="100%" y2="100%">
<stop offset="0%" stop-color="#1890ff" />
<stop offset="100%" stop-color="#722ed1" />
</linearGradient>
</defs>
<!-- 主图标设计:双箭头连接,代表跟单交易 -->
<!-- 左侧箭头(指向中心) -->
<path
d="M 16 32 L 8 24 L 8 40 Z"
fill="url(#logoGradient)"
/>
<!-- 中心连接线(代表跟单连接) -->
<line
x1="20"
y1="32"
x2="44"
y2="32"
stroke="url(#logoGradient)"
stroke-width="3"
stroke-linecap="round"
/>
<!-- 右侧箭头(指向中心) -->
<path
d="M 48 32 L 56 24 L 56 40 Z"
fill="url(#logoGradient)"
/>
<!-- 中心圆点(代表交易节点/数据同步点) -->
<circle
cx="32"
cy="32"
r="5"
fill="url(#logoGradient)"
/>
<!-- 装饰性数据流弧线(代表实时数据同步) -->
<path
d="M 20 20 Q 32 14 44 20"
stroke="url(#logoGradient)"
stroke-width="2"
fill="none"
opacity="0.5"
stroke-linecap="round"
/>
<path
d="M 20 44 Q 32 50 44 44"
stroke="url(#logoGradient)"
stroke-width="2"
fill="none"
opacity="0.5"
stroke-linecap="round"
/>
</svg>