管道基础大数据平台系统开发-【前端】-新系統界面
wulitaotao
2023-02-17 28c88717416f2018c2c79310df72a05749967472
左侧伸缩
已修改2个文件
16 ■■■■ 文件已修改
src/components/Screen/left.vue 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/Thematic/index.vue 13 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/Screen/left.vue
@@ -60,12 +60,15 @@
      this.ProjectreeDisplay = false;
      this.leftMessage = "init";
      this.OpenLeftInitChart();
      this.$parent.ChangeWidth("leftView");
    },
    //打开工程树
    OpenLeftProjectTree() {
      this.ChartDisplay = false;
      this.ProjectreeDisplay = true;
      this.leftMessage = "projectree";
      this.$parent.ChangeWidth("leftTree");
    },
    //大屏界面图表
    OpenLeftInitChart() {
src/views/Thematic/index.vue
@@ -9,6 +9,7 @@
</template>
<script>
import mapsdk from "@/components/Screen/mapsdk.vue"
import top from "../../components/Screen/top.vue"
import left from "@/components/Screen/left.vue"
@@ -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>