From 198b83ce825fbbf912cb26d592e3c7b0b586ca92 Mon Sep 17 00:00:00 2001 From: 王旭 <1377869194@qq.com> Date: 星期一, 20 二月 2023 17:38:22 +0800 Subject: [PATCH] 数据管理页面格式 --- src/views/Thematic/index.vue | 23 ++++++++++++++++------- 1 files changed, 16 insertions(+), 7 deletions(-) diff --git a/src/views/Thematic/index.vue b/src/views/Thematic/index.vue index 0918c76..aa5b715 100644 --- a/src/views/Thematic/index.vue +++ b/src/views/Thematic/index.vue @@ -3,12 +3,13 @@ <mapsdk></mapsdk> <top class="title" ref="title"></top> <left class="mapleft" :style="{ width: leftWidth }" ref="mapleft"></left> - <right class="mapright" :style="{ width: rightWidth }" ref="mapright"></right> - <bottom class="mapbottom" ref="mapbottom"></bottom> - </div> + <right class="mapright" :style="{ width: rightWidth }" ref="mapright"></right> + <bottom class="mapbottom" ref="mapbottom"></bottom> +</div> </template> <script> + import mapsdk from "@/components/Screen/mapsdk.vue" import top from "../../components/Screen/top.vue" import left from "@/components/Screen/left.vue" @@ -24,8 +25,8 @@ rightWidth: "20%", } }, - mounted() {}, - created() {}, + mounted() { }, + created() { }, methods: { //淇敼宸︿晶瀹藉害 ChangeWidth(parm) { @@ -36,6 +37,11 @@ this.leftWidth = "20%" } } + debugger; + if (parm == "leftView" || parm == "leftTree") { this.leftWidth = "20%" } + + + if (parm == "right") { if (this.rightWidth == "20%") { this.rightWidth = "36px" @@ -55,6 +61,7 @@ position: absolute; display: flex; } + .title { position: absolute; top: 0; @@ -63,6 +70,7 @@ width: 100%; z-index: 999; } + .mapleft { position: absolute; top: 90px; @@ -71,6 +79,7 @@ height: calc(100% - 180px); z-index: 999; } + .mapright { position: absolute; top: 90px; @@ -79,6 +88,7 @@ height: calc(100% - 180px); z-index: 999; } + .mapbottom { position: absolute; left: 0; @@ -86,5 +96,4 @@ height: 90px; width: 100%; z-index: 999; -} -</style> +}</style> -- Gitblit v1.9.3