feat(about): 优化评论区多语言支持和UI显示

- 提取语言判断逻辑到常量 isZh,提升代码可读性
- 统一使用 isZh 判断替换原有的 lang === 'zh' 条件表达式
- 移除CSS中冗余的发送按钮文字定义,改由JS统一控制
- 完善时间显示
This commit is contained in:
hehh
2025-11-25 14:16:08 +08:00
parent f2644b4fe6
commit 26e8e68b4e
2 changed files with 17 additions and 24 deletions

View File

@@ -124,14 +124,6 @@
transform: translateY(0) !important;
}
.atk-send-btn:before {
content: "发送" !important;
}
[data-lang="en"] .atk-send-btn:before {
content: "Send" !important;
}
.atk-list-header {
padding: 20px !important;
border-bottom: 1px solid rgba(128, 128, 128, 0.15) !important;