fix: 优化叠加图层级关系与选中失焦逻辑

This commit is contained in:
Zhukj
2026-04-17 14:29:03 +08:00
parent 8255a1c426
commit 56e5aad22f
4 changed files with 70 additions and 13 deletions

View File

@@ -222,14 +222,15 @@ html, body {
overflow: hidden;
}
/* 层叠图层 - 位于背景图之上、文字之下 */
/* 层叠图层 - 位于背景图之上、文字之下、提示文字之上 */
.overlay-layer {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
pointer-events: auto;
z-index: 6;
}
.overlay-layer .overlay-image {
@@ -282,11 +283,13 @@ html, body {
width: 100%;
height: 100%;
pointer-events: none;
z-index: 7;
}
/* 输入框可交互 */
.preview-input-layer .text-input {
pointer-events: auto;
z-index: 8;
}
/* 背景图 - 保持比例,可滑动调整位置 */