odc.xiaohui
2023-03-18 f93a3e896a7d81f744b72e8069b8226bfdec8ade
src/views/layout/components/Header/index.vue
@@ -153,6 +153,12 @@
          url: '',
          id: '3f',
        },
        {
          label: '油烟检测',
          checked: false,
          url: '',
          id: '4f',
        },
      ],
      flag: {
        user: false,
@@ -171,6 +177,13 @@
  },
  created() {
    this.setLoginInfo();
  },
  watch:{
    $route() {
      this.menuLeftList.map(item=>{
        item.checked = false
      })
    },
  },
  methods: {
    cancelChannel(){
@@ -293,7 +306,7 @@
    },
    menuChange(data) {
      if (data.id === '1f') {
        window.open('http://cockpit.patstech.net:28081/cockpit/dist/board.html#/share-board/zfu0LsJ9', '_blank');
        window.open('http://10.53.156.63/cockpit/dist/board.html#/share-board/6CorSPZG', '_blank');
      }
      if (data.id === '2f') {
        this.$router.push({ path: "/home/video" })
@@ -352,6 +365,14 @@
    .my-activeno{
      border-radius: 20px;
      color: #fff;
      background-color: #313350;
    }
    .my-active:hover {
      color: #2f54eb;
      background-color: #313350;
    }
    .my-activeno:hover{
      color: #2f54eb;
      background-color: #313350;
    }
  }
@@ -466,8 +487,9 @@
    .user:hover,
    .btn:hover {
      background-color: #092c4a;
      //background-color: #092c4a;
      cursor: pointer;
      color: #2f54eb;
    }
  }
}