diff --git a/AutoRobot/Windows/Robot/Web/src/DockLayout/DockIndicator.vue b/AutoRobot/Windows/Robot/Web/src/DockLayout/DockIndicator.vue index afaf8ae..c29f791 100644 --- a/AutoRobot/Windows/Robot/Web/src/DockLayout/DockIndicator.vue +++ b/AutoRobot/Windows/Robot/Web/src/DockLayout/DockIndicator.vue @@ -169,77 +169,7 @@ d="M10 13 L30 13 L30 19 L10 19 Z" /> - - - - - - - - +
@@ -290,6 +220,88 @@ clip-rule="evenodd" d="M10 21 L30 21 L30 30 L10 30 Z" /> + + + + + + + + + + + + + + + + + + + + + + + + + { /* 上区指示器:位于中心指示区上方指示器的上方4个像素处 */ .dock-top-area { position: absolute; - top: 46px; /* 向上偏移,确保距离中心指示区上方指示器上边缘4个像素 */ + top: 51px; /* 向上偏移,确保距离中心指示区上方指示器上边缘4个像素 */ + left: 50%; + transform: translateX(-50%); + opacity: 0.7; /* 默认半透明 */ + transition: opacity 0.2s; + z-index: 2; /* 确保在中心指示区上方 */ +} + +/* 左区指示器:位于中心指示区左侧指示器的右侧4个像素处 */ +.dock-left-area { + position: absolute; + top: 50%; + left: 51px; /* 向右偏移,确保距离中心指示区左侧指示器右边缘4个像素 */ + transform: translateY(-50%); + opacity: 0.7; /* 默认半透明 */ + transition: opacity 0.2s; + z-index: 2; /* 确保在中心指示区上方 */ +} + +/* 右区指示器:位于中心指示区右侧指示器的左侧4个像素处 */ +.dock-right-area { + position: absolute; + top: 50%; + right: 51px; /* 向左偏移,确保距离中心指示区右侧指示器左边缘4个像素 */ + transform: translateY(-50%); + opacity: 0.7; /* 默认半透明 */ + transition: opacity 0.2s; + z-index: 2; /* 确保在中心指示区上方 */ +} + +/* 下区指示器:位于中心指示区下方指示器的下方4个像素处 */ +.dock-bottom-area { + position: absolute; + bottom: 51px; /* 向上偏移,确保距离中心指示区下方指示器下边缘4个像素 */ left: 50%; transform: translateX(-50%); opacity: 0.7; /* 默认半透明 */ diff --git a/AutoRobot/Windows/Robot/Web/src/DockLayout/DockLayout.vue b/AutoRobot/Windows/Robot/Web/src/DockLayout/DockLayout.vue index e0b3b1c..127623b 100644 --- a/AutoRobot/Windows/Robot/Web/src/DockLayout/DockLayout.vue +++ b/AutoRobot/Windows/Robot/Web/src/DockLayout/DockLayout.vue @@ -3,7 +3,7 @@