现象:DS Bot 全屏页里工作台入口(左缘细条)看不到,切回经典布局才可见。 1. 层级:细条 z-index 65 被宿主全屏页容器盖住 → 提到 2147483000, 面板 2147483001;细条默认底色与右边框对比度提高。 2. fixed 包含块:祖先带 transform / perspective / filter / contain 时, position: fixed 的参照系从视口变成该祖先,细条整体偏移甚至移出可视区。 新增 fixedOrigin() 测出包含块原点,edgeLeft 换算为相对坐标, 并夹到 [0, 视口宽-12];无常规侧栏时贴包含块左缘。 3. 自诊断:挂载 800ms 后细条宽高为 0 时 console.warn 输出左侧位置与 最多 8 层祖先的 display / transform,便于定位宿主槽位被隐藏的情况。 验证:npm run pack 全绿(含 edge-panel 4 组回归),双资产同源 6a18b101…。
13 lines
277 B
JSON
13 lines
277 B
JSON
{
|
|
"name": "dsh-worktable",
|
|
"description": "工作台:DSH 侧边栏的 agent 级项目容器,收纳如 TravelAtlas 等自装项目",
|
|
"version": "0.5.3-local.12",
|
|
"entry": {
|
|
"name": "dsh-worktable",
|
|
"inject": []
|
|
},
|
|
"client": {
|
|
"platform": "web"
|
|
}
|
|
}
|