refactor(client): 优化页面多处细节与样式兼容性

1. 调整全局滚动条样式仅适配Firefox浏览器,修复Chrome下表头错位问题
2. 替换站点logo为Ant Design风格图标并优化样式
3. 重构客户拜访列表操作栏:合并详情按钮到下拉菜单,缩小操作列宽度
4. 优化操作按钮文本与主键判断逻辑,使用key替代文本匹配
This commit is contained in:
andyesfly committed 2026-09-19 16:12:41 +08:00
1 parent 4fe77be1af
commit ae79d5157b
4 files changed
+29 -21

No files matched your search

+8 -4
View File
@@ -296,10 +296,14 @@ ol {
background: rgba(255, 255, 255, 0.4);
}
// Firefox
* {
scrollbar-width: thin;
scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
// Firefox 专用(Chrome/Edge 不支持 -moz-appearance,会忽略整块)
// 注意:Chrome 121+ 一旦设置 scrollbar-width,就会覆盖上面的 ::-webkit-scrollbar,
// 导致滚动条实际 10px 而 ::-webkit-scrollbar 仍报 4px,antd 据此计算固定列偏移会让表头与表体错位 6px
@supports (-moz-appearance: none) {
* {
scrollbar-width: thin;
scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}
}
// Firefox 深色变体