|
@@ -1,28 +1,27 @@
|
|
|
<template>
|
|
|
<div class="main-header">
|
|
|
<div class="main-logo">
|
|
|
- <img src="@/assets/logo.png" alt="" />
|
|
|
- <span>维修检测平台</span>
|
|
|
+ <span style="font-size: 30px; color: white">维修检测平台</span>
|
|
|
</div>
|
|
|
- <div class="main-user" ref="buttonRef" @click="onClickOutside">
|
|
|
+ <div class="main-user" ref="buttonRef">
|
|
|
+ <div
|
|
|
+ style="
|
|
|
+ background-color: var(--ohos-box-bg);
|
|
|
+ border-radius: 50%;
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ "
|
|
|
+ >
|
|
|
+ <svg-icon
|
|
|
+ class="activeNotice"
|
|
|
+ icon-class="closeI"
|
|
|
+ size="47"
|
|
|
+ @click="toExitApp"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
<span class="user-name">李明华</span>
|
|
|
- <svg-icon icon-class="user" size="22" />
|
|
|
</div>
|
|
|
- <el-popover
|
|
|
- :teleported="false"
|
|
|
- ref="popoverRef"
|
|
|
- :virtual-ref="buttonRef"
|
|
|
- trigger="click"
|
|
|
- title=""
|
|
|
- virtual-triggering
|
|
|
- >
|
|
|
- <div class="loginOut" @click="deviceResourceFun">仪器资源</div>
|
|
|
- <div class="loginOut" @click="goToManange">部门管理</div>
|
|
|
- <div class="loginOut" @click="gotoDictPage">字典管理</div>
|
|
|
- <div class="loginOut" @click="userCenter">修改密码</div>
|
|
|
- <!-- <div class="loginOut" @click="loginOutFun">退出登录</div>-->
|
|
|
- <div class="loginOut" @click="toExitApp">退出系统</div>
|
|
|
- </el-popover>
|
|
|
|
|
|
<UserCenter ref="userCenterRef" />
|
|
|
</div>
|
|
@@ -71,7 +70,8 @@ const gotoDictPage = () => {
|
|
|
.main-header {
|
|
|
width: 100%;
|
|
|
height: $main-header-height;
|
|
|
- background-color: $hj-white-1;
|
|
|
+ border-bottom: 1px solid white;
|
|
|
+ background-color: #000;
|
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
|
align-items: center;
|
|
@@ -122,8 +122,8 @@ const gotoDictPage = () => {
|
|
|
|
|
|
.user-name {
|
|
|
margin-right: 10px;
|
|
|
- font-size: var(--hj-fs-14);
|
|
|
- color: var(--fc-color-4);
|
|
|
+ font-size: 20px;
|
|
|
+ color: white;
|
|
|
}
|
|
|
}
|
|
|
}
|