管道基础大数据平台系统开发-【前端】-新系統界面
TreeWish
2023-02-24 bb39cbe30cf530a7554c5813e21ffaba9307a035
src/views/Thematic/index.vue
@@ -3,13 +3,16 @@
    <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>
    <right
      class="mapright"
      :style="{ width: rightWidth }"
      ref="mapright"
    ></right>
    <bottom class="mapbottom" ref="mapbottom"></bottom>
</div>
  </div>
</template>
<script>
import mapsdk from "@/components/Screen/mapsdk.vue"
import top from "../../components/Screen/top.vue"
import left from "@/components/Screen/left.vue"
@@ -25,8 +28,8 @@
      rightWidth: "20%",
    }
  },
  mounted() { },
  created() { },
  mounted() {},
  created() {},
  methods: {
    //修改左侧宽度
    ChangeWidth(parm) {
@@ -37,10 +40,10 @@
          this.leftWidth = "20%"
        }
      }
      debugger;
      if (parm == "leftView" || parm == "leftTree") { this.leftWidth = "20%" }
      if (parm == "leftView" || parm == "leftTree") {
        this.leftWidth = "20%"
        this.rightWidth = "20%"
      }
      if (parm == "right") {
        if (this.rightWidth == "20%") {
@@ -96,4 +99,28 @@
  height: 90px;
  width: 100%;
  z-index: 999;
}</style>
}
</style>
<style lang="less">
.themaic {
  .aside-title {
    box-sizing: border-box;
    padding-left: 30px;
    // height: 27px;
    // line-height: 27px;
    // background: linear-gradient(0deg, #9cd2ff 0%, #ffffff 100%);
    font-size: 15px;
    font-family: YouSheBiaoTiHei, YouSheBiaoTiHei-Regular;
    // -webkit-background-clip: text;
    color: #fff;
    width: 100%;
    height: 30px;
    line-height: 30px;
    background: url(~@/assets/img/Screen/asideTitleBg.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
  }
}
</style>