refactor(survey): 重构工单详情页与侧边栏样式,统一详情查看流程

1.  重构勘察工单详情逻辑,将弹窗详情改为直接跳转编辑页,支持只读查看
2.  更新API数据结构,新增回执URL与照片URL字段支持
3.  优化全局滚动条样式为iOS风格,适配深色侧边栏
4.  修复侧边栏布局问题,添加flex布局与滚动容器适配
5.  新增只读详情页面,展示测绘成果与复核记录
This commit is contained in:
andyesfly committed 2026-09-19 15:12:11 +08:00
1 parent 6b00f61550
commit 430e5c24f8
5 files changed
+520 -228

No files matched your search

+26 -9
View File
@@ -265,28 +265,45 @@ ol {
animation: slideInUp 0.3s ease-out;
}
// ==================== 滚动条美化 ====================
// ==================== 滚动条美化(iOS 风格) ====================
// iOS 风格特征:极细(4px)、全圆角胶囊形、无轨道、半透明 thumb 悬浮在内容上
::-webkit-scrollbar {
width: 8px;
height: 8px;
width: 4px;
height: 4px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 4px;
background: transparent;
}
::-webkit-scrollbar-thumb {
background: #c1c1c1;
border-radius: 4px;
background: rgba(0, 0, 0, 0.2);
border-radius: 999px;
&:hover {
background: #a8a8a8;
background: rgba(0, 0, 0, 0.35);
}
}
// 深色背景下的滚动条变体(侧边栏等)
.sider-inner ::-webkit-scrollbar-thumb,
.ant-layout-sider ::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.25);
}
.sider-inner ::-webkit-scrollbar-thumb:hover,
.ant-layout-sider ::-webkit-scrollbar-thumb:hover {
background: rgba(255, 255, 255, 0.4);
}
// Firefox
* {
scrollbar-width: thin;
scrollbar-color: #c1c1c1 #f1f1f1;
scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}
// Firefox 深色变体
.sider-inner,
.ant-layout-sider {
scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}