zhangzengfei
2020-09-17 01f26ee883b7a999f48eb50a89b5faa54958b12e
修改可视化title
2个文件已修改
27 ■■■■ 已修改文件
src/pages/visual/components/TopNav.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/visual/index/App.vue 25 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/visual/components/TopNav.vue
@@ -4,7 +4,7 @@
      <div class="show-tree-btn" v-show="!this.TreeDataPool.showTreeBox">
        <i class="el-icon-s-unfold" @click="slideLeft"></i>
      </div>
      <div class="title">智能计算节点</div>
      <div class="title">智能数据业务中心</div>
    </el-menu>
  </div>
</template>
src/pages/visual/index/App.vue
@@ -21,21 +21,22 @@
<script>
import LeftNav from "../components/LeftNav.vue";
import TopNav from "../components/TopNav.vue";
import Home from "./home"
import Home from "./home";
export default {
  mounted() {
    this.screenHeight = document.documentElement.clientHeight - 90;
    this.getCenter();
    this.TreeDataPool.showTreeBox = false
    this.TreeDataPool.showTreeBox = false;
    this.screenHeight = document.documentElement.clientHeight - 90;
    document.title = "SmartAI";
  },
  components: {
    LeftNav,
    TopNav,
    Home
  },
  data() {
    return {
      screenHeight: 0,
@@ -66,19 +67,19 @@
  min-width: 1350px;
  overflow: auto;
}
.tree-menu{
  max-width: 270px!important;
.tree-menu {
  max-width: 270px !important;
}
.el-menu-vertical-demo::-webkit-scrollbar{
  background-color: transparent!important;
.el-menu-vertical-demo::-webkit-scrollbar {
  background-color: transparent !important;
}
.el-menu-vertical-demo::-webkit-scrollbar-thumb{
  background-color: transparent!important;
.el-menu-vertical-demo::-webkit-scrollbar-thumb {
  background-color: transparent !important;
}
.el-menu-vertical-demo::-webkit-scrollbar-track{
  background-color: transparent!important;
.el-menu-vertical-demo::-webkit-scrollbar-track {
  background-color: transparent !important;
}
.hasLeftTree{
.hasLeftTree {
  float: left;
  width: calc(100% - 315px);
}