|
@@ -1,17 +1,21 @@
|
|
|
<template>
|
|
|
<div class="navbar">
|
|
|
<!-- <hamburger :is-active="sidebar.opened" class="hamburger-container" @toggleClick="toggleSideBar" /> -->
|
|
|
-
|
|
|
+ <router-link key="collapse" style="display: flex; align-items: center; padding-left: 30px;" to="/">
|
|
|
+ <img src="@/assets/images/base/logo.png"
|
|
|
+ class="sidebar-logo" style="width: 129px; height: 37px" />
|
|
|
+ </router-link>
|
|
|
<!-- <breadcrumb class="breadcrumb-container" /> -->
|
|
|
<div class="indexlayout-top-menu">
|
|
|
<!-- :class="{'active': getTopMenuActive === route.path}" -->
|
|
|
- <el-scrollbar class="horizontal-scrollbar">
|
|
|
+ <!-- el-scrollbar -->
|
|
|
+ <div class="horizontal-scrollbar">
|
|
|
<template v-for="route in permission_routes">
|
|
|
<app-link v-if="!route.hidden" :to="route.path" :key="route.path" class="indexlayout-top-menu-li" :class="{'active': getTopMenuActive === route.path}">
|
|
|
<span>{{ route.meta.title }}</span>
|
|
|
</app-link>
|
|
|
</template>
|
|
|
- </el-scrollbar>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<!-- <div class="left-menu">
|
|
|
<i class="el-icon-location-information topIcon"></i>
|
|
@@ -37,7 +41,7 @@
|
|
|
<!-- <div class="active"></div> -->
|
|
|
</div>
|
|
|
<div class="left-menu">
|
|
|
- <el-popover placement="top-start" width="300" trigger="hover" style="display: flex;height: 59px;">
|
|
|
+ <el-popover placement="top-start" width="300" trigger="hover" style="display: flex;height: 69px;">
|
|
|
<div class="popover-container">
|
|
|
<el-tag
|
|
|
class="navbar_tag"
|
|
@@ -47,7 +51,7 @@
|
|
|
>{{ item }}</el-tag
|
|
|
>
|
|
|
</div>
|
|
|
- <span slot="reference" style="display: flex;align-items: center;justify-content: center;height: 59px;">
|
|
|
+ <span slot="reference" style="display: flex;align-items: center;justify-content: center;height: 69px;">
|
|
|
<!-- {{ 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.svg" style="width: 23px;">
|
|
@@ -161,7 +165,7 @@
|
|
|
|
|
|
<script>
|
|
|
import qs from "qs";
|
|
|
-import axios from "axios";
|
|
|
+import Logo from './Sidebar/Logo'
|
|
|
import { mapGetters } from "vuex";
|
|
|
// import Breadcrumb from '@/components/Breadcrumb'
|
|
|
// import Hamburger from '@/components/Hamburger'
|
|
@@ -298,37 +302,37 @@ export default {
|
|
|
}
|
|
|
|
|
|
.indexlayout-top-menu{
|
|
|
- padding-left: 20px;
|
|
|
- height: 60px;
|
|
|
- line-height: 60px;
|
|
|
+ padding-left: 57px;
|
|
|
+ height: 70px;
|
|
|
+ line-height: 70px;
|
|
|
flex: 1;
|
|
|
display: flex;
|
|
|
overflow: hidden;
|
|
|
/* overflow-x: auto; */
|
|
|
.indexlayout-top-menu-li{
|
|
|
display: inline-block;
|
|
|
- padding: 0 15px;
|
|
|
- height: 57px;
|
|
|
+ padding: 0 5px;
|
|
|
+ height: 70px;
|
|
|
text-decoration: none;
|
|
|
- color: #303133;
|
|
|
- font-size: 15px;
|
|
|
+ color: #f2f2f2;
|
|
|
+ font-size: 18px;
|
|
|
transition: all .3s ease;
|
|
|
span {
|
|
|
- border-bottom: solid 3px transparent;
|
|
|
- height: 57px;
|
|
|
- line-height: 57px;
|
|
|
- display: block;
|
|
|
+ // display: block;
|
|
|
+ transition: all .3s ease;
|
|
|
+ padding: 12px 16px;
|
|
|
}
|
|
|
&:hover,
|
|
|
&.active{
|
|
|
- color: #14928a;
|
|
|
+ color: #fff;
|
|
|
span {
|
|
|
- border-bottom-color: #209e91;
|
|
|
+ background: #14928A;
|
|
|
+ border-radius: 6px;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
.breadcrumb{
|
|
|
- line-height: 60px;
|
|
|
+ line-height: 70px;
|
|
|
margin-left: 10px;
|
|
|
.el-breadcrumb__item{
|
|
|
display: inline-block;
|
|
@@ -344,19 +348,19 @@ export default {
|
|
|
display: flex;
|
|
|
flex-direction: row;
|
|
|
justify-content: space-between;
|
|
|
- height: 60px;
|
|
|
+ height: 70px;
|
|
|
overflow: hidden;
|
|
|
position: relative;
|
|
|
- background: #fff;
|
|
|
+ background: #363D55;
|
|
|
box-shadow: 0px 8px 20px 0px rgba(0, 0, 0, 0.1);
|
|
|
h2 {
|
|
|
font-size: 18px;
|
|
|
- line-height: 60px;
|
|
|
+ line-height: 70px;
|
|
|
margin: 0 0 0 30px;
|
|
|
display: inline-block;
|
|
|
}
|
|
|
.hamburger-container {
|
|
|
- line-height: 60px;
|
|
|
+ line-height: 70px;
|
|
|
height: 100%;
|
|
|
float: left;
|
|
|
cursor: pointer;
|
|
@@ -372,7 +376,7 @@ export default {
|
|
|
float: left;
|
|
|
}
|
|
|
.left-menu {
|
|
|
- line-height: 60px;
|
|
|
+ line-height: 70px;
|
|
|
padding-right: 22px;
|
|
|
font-size: 16px;
|
|
|
color: #fff;
|
|
@@ -385,7 +389,7 @@ export default {
|
|
|
min-width: 154px;
|
|
|
float: right;
|
|
|
height: 100%;
|
|
|
- line-height: 60px;
|
|
|
+ line-height: 70px;
|
|
|
display: flex;
|
|
|
flex-direction: row;
|
|
|
justify-content: flex-start;
|
|
@@ -433,7 +437,7 @@ export default {
|
|
|
}
|
|
|
|
|
|
.avatar-container {
|
|
|
- height: 60px;
|
|
|
+ height: 70px;
|
|
|
margin-right: 42px;
|
|
|
cursor: pointer;
|
|
|
|
|
@@ -448,7 +452,7 @@ export default {
|
|
|
font-size: 14px;
|
|
|
font-weight: 500;
|
|
|
// color: rgba(68, 68, 68, 1);
|
|
|
- color: #444;
|
|
|
+ color: #fff;
|
|
|
}
|
|
|
|
|
|
.user-avatar {
|