feat(about): 优化评论区多语言支持和UI显示
- 提取语言判断逻辑到常量 isZh,提升代码可读性 - 统一使用 isZh 判断替换原有的 lang === 'zh' 条件表达式 - 移除CSS中冗余的发送按钮文字定义,改由JS统一控制 - 完善时间显示
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user