@@ -299,7 +299,6 @@ export default {
height: 100%;
display: flex;
flex-direction: column;
- background: linear-gradient(180deg, rgba(10, 25, 60, 0.75) 0%, rgba(5, 15, 40, 0.85) 100%);
}
/* --- 中心区域保持事件穿透,让出地图的拖拽控制权 --- */
@@ -19,6 +19,7 @@
</template>
<template #left>
+ <div class="sidebar-bg">
<div class="panel-list">
<div class="panel-item">
<PanelContainer title="在线状态">
@@ -42,9 +43,11 @@
</PanelContainer>
</div>
+ </div>
<template #right>
<PanelContainer title="设备状态">
@@ -98,6 +101,7 @@
<template #center>
@@ -288,6 +292,11 @@ export default {
</script>
<style scoped>
+.sidebar-bg {
+ height: 100%;
+ background: linear-gradient(180deg, rgba(10, 25, 60, 0.75) 0%, rgba(5, 15, 40, 0.85) 100%);
+}
+
.panel-list {