• wangheng released this 2026-12-04 09:35:03 +08:00 | 0 commits to main since this release

    根因(诊断日志确认)

    <DSH_HOME>/logs/worktable-diag.log:

    {"styles":1,"sections":3,"strips":1,"sidebar":true,"overlayHost":true}
    

    细条在 DOM 里,只是看不见。宿主 ui-layout 的 overlay 层样式:

    overlayLayer { z-index: 20; pointer-events: none; position: absolute; inset: 0 }
    

    我们的元素 z-index 再高也困在这个 z-index:20 的层内,跟侧栏(DS Bot 左栏)比较时被整体盖住。

    修法

    客户端 apply() 后把 [data-shell-overlay] 的 z-index 抬到 2147483000:

    • 立即执行一次
    • 300ms / 1.5s 各补偿一次
    • 3s 低频兜底(宿主重渲染会重建该节点)

    overlay 内其它浮层(配额提示等)一并受益。

    诊断同时补充 overlayZ 和 stripRect,便于复核层级与位置。

    安装

    dsh plugin --profile web add "https://gitea.ququclean.com/xiaoqu/dsh-worktable/releases/download/v0.5.3-local.16/dsh-worktable.tgz"
    

    资产

    • dsh-worktable.tgz,489153 字节
    • sha256 fd6af73a7e6c4620b86b021c480c63cca0e0dc4b397b7ee482d20a8dde07c9e8
    Downloads