|
@@ -100,7 +100,7 @@
|
|
|
/>
|
|
/>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="layout-header-right">
|
|
<div class="layout-header-right">
|
|
|
- <div
|
|
|
|
|
|
|
+ <!-- <div
|
|
|
v-for="item in iconList"
|
|
v-for="item in iconList"
|
|
|
:key="item.icon.name"
|
|
:key="item.icon.name"
|
|
|
v-on="item.eventObject || {}"
|
|
v-on="item.eventObject || {}"
|
|
@@ -111,17 +111,18 @@
|
|
|
<component :is="item.icon" />
|
|
<component :is="item.icon" />
|
|
|
</el-icon>
|
|
</el-icon>
|
|
|
</el-tooltip>
|
|
</el-tooltip>
|
|
|
- </div>
|
|
|
|
|
|
|
+ </div> -->
|
|
|
<!-- 个人中心 -->
|
|
<!-- 个人中心 -->
|
|
|
<div class="layout-header-trigger layout-header-trigger-min">
|
|
<div class="layout-header-trigger layout-header-trigger-min">
|
|
|
<el-dropdown trigger="hover" @command="avatarSelect">
|
|
<el-dropdown trigger="hover" @command="avatarSelect">
|
|
|
<div class="flex items-center">
|
|
<div class="flex items-center">
|
|
|
- <h4 class="username">{{ getUsername }}</h4>
|
|
|
|
|
- <el-divider direction="vertical" />
|
|
|
|
|
- <h4 class="mr-1 username">{{ getTenantName }}</h4>
|
|
|
|
|
- <div class="avatar">
|
|
|
|
|
|
|
+ <!-- <div class="avatar">
|
|
|
<el-avatar round :src="schoolboy" />
|
|
<el-avatar round :src="schoolboy" />
|
|
|
- </div>
|
|
|
|
|
|
|
+ </div> -->
|
|
|
|
|
+ <img src="@/assets/images/chongqing-icon.png" />
|
|
|
|
|
+ <h4 class="username">{{ getUsername }}</h4>
|
|
|
|
|
+ <!-- <el-divider direction="vertical" /> -->
|
|
|
|
|
+ <!-- <h4 class="mr-1 username">{{ getTenantName }}</h4> -->
|
|
|
</div>
|
|
</div>
|
|
|
<template #dropdown>
|
|
<template #dropdown>
|
|
|
<el-dropdown-menu>
|
|
<el-dropdown-menu>
|
|
@@ -147,7 +148,9 @@
|
|
|
</div>
|
|
</div>
|
|
|
<!-- 安全管控平台 -->
|
|
<!-- 安全管控平台 -->
|
|
|
<div class="layout-header-trigger layout-header-trigger-min">
|
|
<div class="layout-header-trigger layout-header-trigger-min">
|
|
|
- <a href="/skyeye-world" target="_blank">安全管控平台</a>
|
|
|
|
|
|
|
+ <el-button style="background-color: #e6f7ff; border: none" type="primary">
|
|
|
|
|
+ <a href="/skyeye-world" target="_blank">返回平台</a>
|
|
|
|
|
+ </el-button>
|
|
|
</div>
|
|
</div>
|
|
|
<!--切换全屏-->
|
|
<!--切换全屏-->
|
|
|
<!-- <div class="layout-header-trigger layout-header-trigger-min">
|
|
<!-- <div class="layout-header-trigger layout-header-trigger-min">
|
|
@@ -378,29 +381,29 @@
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
// 图标列表
|
|
// 图标列表
|
|
|
- const iconList = [
|
|
|
|
|
- // {
|
|
|
|
|
- // icon: SearchOutlined,
|
|
|
|
|
- // tips: '搜索',
|
|
|
|
|
- // eventObject: {
|
|
|
|
|
- // click: () => openAppSearch(),
|
|
|
|
|
- // },
|
|
|
|
|
- // },
|
|
|
|
|
- // {
|
|
|
|
|
- // icon: GithubOutlined,
|
|
|
|
|
- // tips: 'github',
|
|
|
|
|
- // eventObject: {
|
|
|
|
|
- // click: () => window.open('https://github.com/jekip/naive-ui-admin'),
|
|
|
|
|
- // },
|
|
|
|
|
- // },
|
|
|
|
|
- // {
|
|
|
|
|
- // icon: LockOutlined,
|
|
|
|
|
- // tips: '锁屏',
|
|
|
|
|
- // eventObject: {
|
|
|
|
|
- // click: () => useLockscreen.setLock(true),
|
|
|
|
|
- // },
|
|
|
|
|
- // },
|
|
|
|
|
- ];
|
|
|
|
|
|
|
+ // const iconList = [
|
|
|
|
|
+ // {
|
|
|
|
|
+ // icon: SearchOutlined,
|
|
|
|
|
+ // tips: '搜索',
|
|
|
|
|
+ // eventObject: {
|
|
|
|
|
+ // click: () => openAppSearch(),
|
|
|
|
|
+ // },
|
|
|
|
|
+ // },
|
|
|
|
|
+ // {
|
|
|
|
|
+ // icon: GithubOutlined,
|
|
|
|
|
+ // tips: 'github',
|
|
|
|
|
+ // eventObject: {
|
|
|
|
|
+ // click: () => window.open('https://github.com/jekip/naive-ui-admin'),
|
|
|
|
|
+ // },
|
|
|
|
|
+ // },
|
|
|
|
|
+ // {
|
|
|
|
|
+ // icon: LockOutlined,
|
|
|
|
|
+ // tips: '锁屏',
|
|
|
|
|
+ // eventObject: {
|
|
|
|
|
+ // click: () => useLockscreen.setLock(true),
|
|
|
|
|
+ // },
|
|
|
|
|
+ // },
|
|
|
|
|
+ // ];
|
|
|
|
|
|
|
|
//头像下拉菜单
|
|
//头像下拉菜单
|
|
|
const avatarSelect = (command) => {
|
|
const avatarSelect = (command) => {
|
|
@@ -487,6 +490,17 @@
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
padding-right: 20px;
|
|
padding-right: 20px;
|
|
|
|
|
|
|
|
|
|
+ .username {
|
|
|
|
|
+ padding: 0px 10px;
|
|
|
|
|
+ font-family: PingFangSC, PingFang SC;
|
|
|
|
|
+ font-weight: 400;
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ color: rgba(0, 0, 0, 0.65);
|
|
|
|
|
+ line-height: 22px;
|
|
|
|
|
+ text-align: left;
|
|
|
|
|
+ font-style: normal;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
.avatar {
|
|
.avatar {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
align-items: center;
|
|
align-items: center;
|