|
@@ -28,7 +28,10 @@
|
|
|
class="indexlayout-top-menu-li"
|
|
|
:class="{ active: getTopMenuActive === route.path }"
|
|
|
>
|
|
|
- <span>{{ route.meta.title }}</span>
|
|
|
+ <div style="display: flex; align-items: center; justify-content: center; flex-direction: column; height: 76px;">
|
|
|
+ <i :class="[route.meta.icon, 'menuSize']"></i>
|
|
|
+ <span style="line-height: 1.2">{{ route.meta.title }}</span>
|
|
|
+ </div>
|
|
|
</app-link>
|
|
|
</template>
|
|
|
</el-scrollbar>
|
|
@@ -37,92 +40,57 @@
|
|
|
<el-popover
|
|
|
placement="bottom"
|
|
|
trigger="hover"
|
|
|
- style="display: flex; height: 89px"
|
|
|
+ style="display: flex;"
|
|
|
>
|
|
|
<div class="popover-container" style="text-align: center">OA审批</div>
|
|
|
|
|
|
<div
|
|
|
- style="
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- justify-content: center;
|
|
|
- height: 89px;
|
|
|
- "
|
|
|
- class="msginfo"
|
|
|
+ class="msginfo right-position"
|
|
|
@click="gotoOa"
|
|
|
slot="reference"
|
|
|
>
|
|
|
- <img
|
|
|
- src="@/assets/images/base/icon_oa.png"
|
|
|
- width="24px"
|
|
|
- height="24px"
|
|
|
- />
|
|
|
-
|
|
|
- <!-- <div class="active"></div> -->
|
|
|
+ <i class="icon_admin_oa operationSize"></i>
|
|
|
</div>
|
|
|
</el-popover>
|
|
|
<el-popover
|
|
|
v-if="isShowIns"
|
|
|
placement="bottom"
|
|
|
trigger="hover"
|
|
|
- style="display: flex; height: 89px"
|
|
|
+ style="display: flex;"
|
|
|
>
|
|
|
<div class="popover-container" style="text-align: center">操作手册</div>
|
|
|
|
|
|
<div
|
|
|
- style="
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- justify-content: center;
|
|
|
- height: 89px;
|
|
|
- "
|
|
|
- class="msginfo"
|
|
|
+ class="msginfo right-position"
|
|
|
@click="openIns"
|
|
|
slot="reference"
|
|
|
>
|
|
|
- <img
|
|
|
- src="@/assets/images/base/instruction-icon.png"
|
|
|
- width="24px"
|
|
|
- height="24px"
|
|
|
- />
|
|
|
-
|
|
|
- <!-- <div class="active"></div> -->
|
|
|
+ <i class="icon_admin_book operationSize"></i>
|
|
|
</div>
|
|
|
</el-popover>
|
|
|
|
|
|
<el-popover
|
|
|
placement="bottom"
|
|
|
trigger="hover"
|
|
|
- style="display: flex; height: 89px"
|
|
|
+ style="display: flex;"
|
|
|
>
|
|
|
<div class="popover-container" style="text-align: center">系统日志</div>
|
|
|
<div
|
|
|
- style="
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- justify-content: center;
|
|
|
- height: 89px;
|
|
|
- "
|
|
|
- class="msginfo"
|
|
|
+ class="msginfo right-position"
|
|
|
v-permission="'/journal'"
|
|
|
@click="gotoRecode"
|
|
|
slot="reference"
|
|
|
>
|
|
|
- <img
|
|
|
- src="@/assets/images/base/base-bell.png"
|
|
|
- width="24px"
|
|
|
- height="24px"
|
|
|
- />
|
|
|
- <!-- <div class="active"></div> -->
|
|
|
+ <i class="icon_admin_message operationSize"></i>
|
|
|
</div>
|
|
|
</el-popover>
|
|
|
|
|
|
- <div class="left-menu">
|
|
|
+ <div class="left-menu" style="margin-right: 12px">
|
|
|
<el-popover
|
|
|
placement="top-start"
|
|
|
width="300"
|
|
|
trigger="hover"
|
|
|
- style="display: flex; height: 89px"
|
|
|
+ style="display: flex;"
|
|
|
>
|
|
|
<div class="popover-container">
|
|
|
<el-tag
|
|
@@ -135,21 +103,9 @@
|
|
|
</div>
|
|
|
<span
|
|
|
slot="reference"
|
|
|
- class="msginfo"
|
|
|
- style="
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- justify-content: center;
|
|
|
- height: 89px;
|
|
|
- "
|
|
|
+ class="msginfo right-position"
|
|
|
>
|
|
|
- <!-- {{ organName.length > 10 ? organName.substr(0, 10) + "..." : organName }} -->
|
|
|
- <!-- <i class="el-icon-s-home" style="font-size: 23px; color: #1A1A1A;"></i> -->
|
|
|
- <img
|
|
|
- src="@/assets/images/base/base-home.png"
|
|
|
- width="24px"
|
|
|
- height="24px"
|
|
|
- />
|
|
|
+ <i class="icon_admin_orgin operationSize"></i>
|
|
|
</span>
|
|
|
</el-popover>
|
|
|
</div>
|
|
@@ -171,16 +127,21 @@
|
|
|
<el-dropdown-menu slot="dropdown" class="user-dropdown">
|
|
|
<!-- divided -->
|
|
|
<el-dropdown-item v-if="tenantStatus">
|
|
|
- <span style="display: block" @click="onTenantChange">{{ tenantName }} <i class="el-icon-sort"></i></span>
|
|
|
+ <i class="icon_admin_tenant userSize"></i>
|
|
|
+ <span class="dropdown-text" @click="onTenantChange">{{ tenantName }}</span>
|
|
|
+ <i style="margin-left: 3px" class="icon_admin_change userSize"></i>
|
|
|
</el-dropdown-item>
|
|
|
<el-dropdown-item>
|
|
|
- <span style="display: block" @click="resetPassWord">修改密码</span>
|
|
|
+ <i class="icon_admin_edit userSize"></i>
|
|
|
+ <span class="dropdown-text" @click="resetPassWord">修改密码</span>
|
|
|
</el-dropdown-item>
|
|
|
<el-dropdown-item>
|
|
|
- <span style="display: block" @click="accountSetting">账号设置</span>
|
|
|
+ <i class="icon_admin_account userSize"></i>
|
|
|
+ <span class="dropdown-text" @click="accountSetting">账号设置</span>
|
|
|
</el-dropdown-item>
|
|
|
- <el-dropdown-item>
|
|
|
- <span style="display: block" @click="logout">安全退出</span>
|
|
|
+ <el-dropdown-item style="border-top: 1px solid #EBEEF5;">
|
|
|
+ <i class="icon_admin_exit userSize"></i>
|
|
|
+ <span class="dropdown-text" @click="logout">安全退出</span>
|
|
|
</el-dropdown-item>
|
|
|
</el-dropdown-menu>
|
|
|
</el-dropdown>
|
|
@@ -521,16 +482,16 @@ export default {
|
|
|
|
|
|
.indexlayout-top-menu {
|
|
|
padding-left: 57px;
|
|
|
- height: 90px;
|
|
|
- line-height: 88px;
|
|
|
+ height: 76px;
|
|
|
+ line-height: 76px;
|
|
|
flex: 1;
|
|
|
display: flex;
|
|
|
overflow: hidden;
|
|
|
/* overflow-x: auto; */
|
|
|
.indexlayout-top-menu-li {
|
|
|
- display: inline-block;
|
|
|
+ display: table-cell;
|
|
|
padding: 0 5px;
|
|
|
- height: 90px;
|
|
|
+ height: 76px;
|
|
|
text-decoration: none;
|
|
|
color: #f2f2f2;
|
|
|
font-size: 16px;
|
|
@@ -538,7 +499,8 @@ export default {
|
|
|
span {
|
|
|
// display: block;
|
|
|
transition: all 0.3s ease;
|
|
|
- padding: 10px 20px;
|
|
|
+ // padding: 10px 20px;
|
|
|
+ padding: 8px 20px 3px;
|
|
|
}
|
|
|
&:hover,
|
|
|
&.active {
|
|
@@ -552,7 +514,7 @@ export default {
|
|
|
// }
|
|
|
}
|
|
|
.breadcrumb {
|
|
|
- line-height: 90px;
|
|
|
+ line-height: 76px;
|
|
|
margin-left: 10px;
|
|
|
.el-breadcrumb__item {
|
|
|
display: inline-block;
|
|
@@ -568,7 +530,7 @@ export default {
|
|
|
display: flex;
|
|
|
flex-direction: row;
|
|
|
justify-content: space-between;
|
|
|
- height: 90px;
|
|
|
+ height: 76px;
|
|
|
overflow: hidden;
|
|
|
position: relative;
|
|
|
z-index: 2000;
|
|
@@ -576,12 +538,12 @@ export default {
|
|
|
|
|
|
h2 {
|
|
|
font-size: 18px;
|
|
|
- line-height: 90px;
|
|
|
+ line-height: 76px;
|
|
|
margin: 0 0 0 30px;
|
|
|
display: inline-block;
|
|
|
}
|
|
|
.hamburger-container {
|
|
|
- line-height: 90px;
|
|
|
+ line-height: 76px;
|
|
|
height: 100%;
|
|
|
float: left;
|
|
|
cursor: pointer;
|
|
@@ -597,7 +559,7 @@ export default {
|
|
|
float: left;
|
|
|
}
|
|
|
.left-menu {
|
|
|
- line-height: 90px;
|
|
|
+ line-height: 76px;
|
|
|
// padding-right: 22px;
|
|
|
font-size: 16px;
|
|
|
.topIcon {
|
|
@@ -609,7 +571,7 @@ export default {
|
|
|
min-width: 154px;
|
|
|
float: right;
|
|
|
height: 100%;
|
|
|
- line-height: 90px;
|
|
|
+ line-height: 76px;
|
|
|
display: flex;
|
|
|
flex-direction: row;
|
|
|
justify-content: flex-start;
|
|
@@ -627,7 +589,7 @@ export default {
|
|
|
flex-direction: row;
|
|
|
justify-content: flex-start;
|
|
|
align-items: center;
|
|
|
- padding-right: 25px;
|
|
|
+ padding: 0 12px;
|
|
|
position: relative;
|
|
|
cursor: pointer;
|
|
|
img {
|
|
@@ -663,7 +625,7 @@ export default {
|
|
|
}
|
|
|
|
|
|
.avatar-container {
|
|
|
- height: 90px;
|
|
|
+ height: 76px;
|
|
|
margin-right: 42px;
|
|
|
cursor: pointer;
|
|
|
|
|
@@ -700,4 +662,25 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+.user-dropdown {
|
|
|
+ width: 135px;
|
|
|
+ .el-dropdown-menu__item {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ padding: 3px 17px;
|
|
|
+ }
|
|
|
+ .dropdown-text {
|
|
|
+ display: block;
|
|
|
+ width: 60px;
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ white-space: nowrap;
|
|
|
+ }
|
|
|
+}
|
|
|
+.right-position {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ height: 75px;
|
|
|
+}
|
|
|
</style>
|