管道基础大数据平台系统开发-【前端】-新系統界面
TreeWish
2023-02-24 417e07eebf6313b19ab6d26ebd8e39c7d08516ea
src/components/Screen/top.vue
@@ -38,7 +38,13 @@
      currView: "chart",
    }
  },
  mounted() {},
  mounted() {
    this.$bus.$on('changeProject', name => {
      if (name == '全国项目' || name == '全球项目') {
        this.OpenProjectree()
      }
    })
  },
  methods: {
    ReturnLast() {
      this.$router.push("/Synthesis")
@@ -49,20 +55,21 @@
      this.currView = "chart"
      this.screen = true
      this.$parent.$refs.mapleft.OpenLeftInit()
      this.$parent.$refs.mapright.OpenLeftInit()
    },
    //打开工程树
    OpenProjectree() {
      this.screen = false
      this.currView = "tree"
      this.$parent.$refs.mapleft.OpenLeftProjectTree()
      this.$parent.$refs.mapright.OpenLeftProjectTree()
    },
  },
}
</script>
<style lang="scss">
<style lang="less">
.top {
  height: 100%;
  width: 100%;
@@ -109,12 +116,14 @@
  .topCenter {
    width: 60%;
    height: 100%;
    font-size: 2rem;
    text-align: center;
    font-weight: 600;
    font-size: 36px;
    font-family: PangMenZhengDao, PangMenZhengDao-Regular;
    // font-weight: bold;
    font-style: italic;
    letter-spacing: 5px;
    color: #e3eafd;
    text-align: center;
    color: #e1eaff;
    letter-spacing: 6.55px;
    text-shadow: -14px 0px 25.25px 0.26px rgba(0, 120, 255, 0.19);
    div {
      margin-top: 5px;
    }