<template>
  <div id="app">
    <router-view></router-view>
  </div>
</template>
<script>
export default {
  name: 'app',
  created() {
    // console.log(this.$route)
    // localStorage.setItem('token', this.$route.query.token)
    var link = document.querySelector("link[rel*='icon']") || document.createElement("link");
    link.type = "image/x-icon";
    link.rel = "shortcut icon";
    link.href = require('./assets/img/myImage/logo.png');
    document.getElementsByTagName("head")[0].appendChild(link);
    
  },
}
</script>
<style lang="less">
.el-dialog {
  // 背景色透明
  background-color: rgba(0, 0, 0, 0.5);
  // background-color: transparent; 
  // background-color: #000;
  background-image: url('./assets/img/dialog/window.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  .el-dialog__headerbtn {
    width: 83px;
    height: 44px;
    background-image: url('./assets/img/dialog/icon_close.png');
    background-size: cover;
    // 去除原来的 x 按钮
    .el-dialog__close {
      display: none;
    }
  }
  .el-form-item__label {
    color: #fff;
  }
}
</style>
