| | |
| | | async logout() { |
| | | // await this.$store.dispatch('user/logout') |
| | | sessionStorage.removeItem("user") |
| | | localStorage.removeItem("autoenter"); |
| | | this.$router.push(`/login?redirect=${this.$route.fullPath}`) |
| | | this.$router.replace({path: '/login'}); |
| | | location.reload(); |
| | | |
| | | }, |
| | | getUser(){ |
| | | get(this.$url.info).then(res=>{ |
| | |
| | | background: #fff; |
| | | display: flex; |
| | | border-bottom: 1px solid #f0f2f5; |
| | | |
| | | // box-shadow: 0 0 0.857143rem rgba(0, 0, 0, 0.12); |
| | | // box-shadow: 0 1px 4px rgba(0,21,41,.08); |
| | | .message-icon{ |
| | | margin-right: 10px; |
| | | cursor: pointer; |
| | | } |
| | | |
| | | .v-modal{ |
| | | z-index: 8; |
| | | } |
| | | |
| | | .hamburger-container { |
| | | line-height: 46px; |
| | | height: 100%; |
| | |
| | | line-height: 50px; |
| | | display: flex; |
| | | justify-content: right; |
| | | |
| | | .right-serves{ |
| | | height: 100%; |
| | | display: flex; |
| | | align-items: center; |
| | | |
| | | >i{ |
| | | display: inline-block; |
| | | margin: auto 10px; |
| | |
| | | .avatar-container { |
| | | margin-right: 24px; |
| | | height: 100%; |
| | | |
| | | .avatar-wrapper { |
| | | // margin-top: 5px; |
| | | width: 40px; |
| | |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | |
| | | .user-avatar { |
| | | cursor: pointer; |
| | | width: 30px; |
| | |
| | | } |
| | | } |
| | | } |
| | | } |
| | | </style> |
| | | }</style> |