Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gassafety
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
耿迪迪
gassafety
Commits
d39acaf5
Commit
d39acaf5
authored
Jul 17, 2021
by
耿迪迪
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
ssh://111.61.77.35:15/gengdidi/gassafety
parents
09746a7f
c6087ef5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
24 deletions
+26
-24
sidebar.scss
gassafety-web/src/assets/styles/sidebar.scss
+3
-3
Navbar.vue
gassafety-web/src/layout/components/Navbar.vue
+23
-21
No files found.
gassafety-web/src/assets/styles/sidebar.scss
View file @
d39acaf5
...
...
@@ -131,9 +131,9 @@
.el-tooltip
{
padding
:
0
!
important
;
.svg-icon
{
margin-left
:
20px
;
}
//
.svg-icon {
//
margin-left: 20px;
//
}
}
}
...
...
gassafety-web/src/layout/components/Navbar.vue
View file @
d39acaf5
...
...
@@ -3,13 +3,13 @@
<el-row
:gutter=
"20"
>
<el-col
:span=
"
18
"
>
<el-col
:span=
"
22
"
>
<div
style=
"float: left;padding: 5px;"
>
<img
src=
"@/assets/logo/top-left-logo.png"
alt=
""
style=
"margin-top: 15px;"
>
</div>
<!-- 点击左侧二级菜单滑开 -->
<
hamburger
id=
"hamburger-container"
:is-active=
"sidebar.opened"
class=
"hamburger-container"
@
toggleClick=
"toggleSideBar"
/
>
<
!--
<hamburger
id=
"hamburger-container"
:is-active=
"sidebar.opened"
class=
"hamburger-container"
@
toggleClick=
"toggleSideBar"
/>
--
>
<breadcrumb
id=
"breadcrumb-container"
class=
"breadcrumb-container"
v-if=
"!topNav"
/>
...
...
@@ -17,7 +17,7 @@
<!-- 顶部导航 -->
<top-nav
id=
"topmenu-container"
class=
"topmenu-container"
v-if=
"topNav"
/>
</el-col>
<el-col
:span=
"
6
"
style=
"float: right;"
>
<el-col
:span=
"
2
"
style=
"float: right;"
>
<div
class=
"right-menu"
>
<!--
<template
v-if=
"device!=='mobile'"
>
<search
id=
"header-search"
class=
"right-menu-item"
/>
...
...
@@ -41,13 +41,14 @@
<div
class=
"formatDate"
>
<span>
{{ nowDate }}
</span>
</div>
<
div
class=
"yhm"
>
{{showUserName}}
</div
>
<
!-- <div class="yhm">{{showUserName}}</div> --
>
<el-dropdown
class=
"avatar-container right-menu-item hover-effect"
trigger=
"click"
>
<div
class=
"avatar-wrapper"
>
<img
:src=
"avatar"
class=
"user-avatar"
>
<i
class=
"el-icon-caret-bottom"
/>
<!-- <img :src="avatar" class="user-avatar">
<i class="el-icon-caret-bottom" /> -->
<div
class=
"yhm"
>
{{showUserName}}
</div>
</div>
<el-dropdown-menu
slot=
"dropdown"
>
<router-link
to=
"/user/profile"
>
...
...
@@ -168,14 +169,14 @@ export default {
height
:
80px
;
width
:
100%
;
left
:
0
;
line-height
:
80px
;
/* line-height: 80px; */
overflow
:
hidden
;
position
:
fixed
;
background
:
#053B6A
;
box-shadow
:
0
1px
4px
rgba
(
0
,
21
,
41
,.
08
);
.hamburger-container
{
line-height
:
80px
;
/* line-height: 80px; */
height
:
100%
;
float
:
left
;
cursor
:
pointer
;
...
...
@@ -204,8 +205,9 @@ export default {
}
.right-menu
{
float
:
right
;
width
:
100%
;
height
:
100%
;
line-height
:
80px
;
/* line-height: 80px; */
...
...
@@ -213,27 +215,27 @@ export default {
outline
:
none
;
}
.formatDate
{
float
:
left
;
font-size
:
20px
;
width
:
100%
;
height
:
40px
;
line-height
:
50px
;
text-align
:
center
;
font-size
:
18px
;
color
:
#fff
;
margin-right
:
30px
;
}
.yhm
{
font-size
:
20px
;
color
:
#fff
;
float
:
left
;
width
:
100%
;
text-overflow
:ellipsis
;
white-space
:
nowrap
;
overflow
:
hidden
;
text-align
:
center
;
margin-right
:
20px
;
}
.right-menu-item
{
display
:
inline-block
;
margin-top
:
8px
;
padding
:
0
8
px
;
float
:
right
;
height
:
100%
;
width
:
100%
;
line-height
:
30
px
;
height
:
40px
;
text-align
:
center
;
font-size
:
18px
;
color
:
#5a5e66
;
vertical-align
:
text-bottom
;
...
...
@@ -249,10 +251,10 @@ export default {
}
.avatar-container
{
margin-right
:
15px
;
width
:
70%
;
margin-left
:
15%
;
.avatar-wrapper
{
margin-top
:
5px
;
position
:
relative
;
.user-avatar
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment