调整浮动区域z-index值:将非最大化和最大化状态下的z-index均从10/100提高到1000,确保浮动区域始终显示在顶层

This commit is contained in:
zqm
2025-11-07 15:14:33 +08:00
parent d511c3a93c
commit fe630d08c0

View File

@@ -22,7 +22,7 @@
:top="area.WindowState !== '最大化' ? area.y : undefined" :top="area.WindowState !== '最大化' ? area.y : undefined"
:style="area.WindowState !== '最大化' ? { :style="area.WindowState !== '最大化' ? {
position: 'absolute', position: 'absolute',
zIndex: 10, zIndex: 1000,
background: 'rgba(255, 255, 255, 1)', background: 'rgba(255, 255, 255, 1)',
border: '1px solid #4f72b3' border: '1px solid #4f72b3'
} : { } : {
@@ -31,7 +31,7 @@
left: 0, left: 0,
width: '100%', width: '100%',
height: '100%', height: '100%',
zIndex: 100 zIndex: 1000
}" }"
@close="onCloseFloatingArea(area.id)" @close="onCloseFloatingArea(area.id)"
@update:position="onUpdatePosition(area.id, $event)" @update:position="onUpdatePosition(area.id, $event)"