Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gassafety-progress
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-progress
Commits
9d114ee3
Commit
9d114ee3
authored
Mar 21, 2022
by
yaqizhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
系统右上角消息图标
parent
bc2add3b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
50 additions
and
10 deletions
+50
-10
all.scss
gassafetyprogress-web/src/assets/styles/all.scss
+34
-0
leftBar.vue
gassafetyprogress-web/src/components/bigWindow/leftBar.vue
+6
-4
rightBar.vue
gassafetyprogress-web/src/components/bigWindow/rightBar.vue
+3
-3
Navbar.vue
gassafetyprogress-web/src/layout/components/Navbar.vue
+7
-3
No files found.
gassafetyprogress-web/src/assets/styles/all.scss
View file @
9d114ee3
...
...
@@ -633,3 +633,37 @@
overflow-y
:
hidden
!
important
;
}
}
// 后台系统右上角消息图标
.el-badge
{
position
:
relative
;
vertical-align
:
middle
;
display
:
inline-block
;
margin-bottom
:
25px
;
margin-right
:
10px
;
}
[
class
^=
el-icon-
],
[
class
*=
" el-icon-"
]
{
font-family
:
"element-icons"
!
important
;
speak
:
none
;
font-style
:
normal
;
font-weight
:
900
!
important
;
font-variant
:
normal
;
text-transform
:
none
;
vertical-align
:
text-bottom
;
vertical-align
:
baseline
;
display
:
inline-block
;
-webkit-font-smoothing
:
antialiased
;
display
:
inline-block
;
padding
:
0
8px
;
height
:
100%
!
important
;
font-size
:
22px
;
color
:
#5a5e66
;
-moz-osx-font-smoothing
:
grayscale
;
}
.el-badge__content.is-fixed
{
top
:
15px
!
important
;
right
:
20px
!
important
;
}
.el-badge__content
{
padding
:
0
2px
!
important
;
}
\ No newline at end of file
gassafetyprogress-web/src/components/bigWindow/leftBar.vue
View file @
9d114ee3
...
...
@@ -205,11 +205,12 @@
// 绘制图表
pieone
.
setOption
({
title
:
{
text
:
'巡检任务
完成率:'
+
(
this
.
allNum
.
typeOne
+
this
.
allNum
.
typeTwo
),
text
:
'巡检任务
数(个) : '
+
(
this
.
allNum
.
typeOne
+
this
.
allNum
.
typeTwo
),
left
:
'center'
,
top
:
20
,
textStyle
:{
color
:
"#00ffff"
color
:
"#00ffff"
,
fontSize
:
"16"
}
},
grid
:
{
...
...
@@ -281,11 +282,12 @@
});
pietwo
.
setOption
({
title
:
{
text
:
'隐患整治
完成率:'
+
(
this
.
allNum
.
typeOne
+
this
.
allNum
.
typeTwo
),
text
:
'隐患整治
数(个) : '
+
(
this
.
allNum
.
typeOne
+
this
.
allNum
.
typeTwo
),
left
:
'center'
,
top
:
20
,
textStyle
:{
color
:
"#00ffff"
color
:
"#00ffff"
,
fontSize
:
"16"
}
},
grid
:
{
...
...
gassafetyprogress-web/src/components/bigWindow/rightBar.vue
View file @
9d114ee3
...
...
@@ -51,7 +51,7 @@
<div
class=
""
style=
"padding: 0px 10px;"
>
<div
class=
"yujingleft yujing"
style=
"width: 33%;height: 90px;float: left;"
>
<div
class=
"yujingtop"
style=
"width: 70px;height: 90px;float: left;margin-top: 15px;text-align: right;"
>
<img
src=
"@/assets/mapinages/group786.png"
alt=
""
style=
"width:
60px;height: 6
0px;"
/>
<img
src=
"@/assets/mapinages/group786.png"
alt=
""
style=
"width:
50px;height: 5
0px;"
/>
</div>
<div
class=
"yujingbottom"
style=
"float: left;color: #cddbe4;margin-left: 10px;"
>
<p>
设备预警
</p>
...
...
@@ -60,7 +60,7 @@
</div>
<div
class=
"yujingcenter yujing"
style=
"width: 33%;height: 90px;float: left;"
>
<div
class=
"yujingtop"
style=
"width: 70px;height: 90px;float: left;margin-top: 15px;text-align: right;"
>
<img
src=
"@/assets/mapinages/group787.png"
alt=
""
style=
"width:
60px;height: 6
0px;"
/>
<img
src=
"@/assets/mapinages/group787.png"
alt=
""
style=
"width:
50px;height: 5
0px;"
/>
</div>
<div
class=
"yujingbottom"
style=
"float: left;color: #cddbe4;margin-left: 10px;"
>
<p>
事件情况
</p>
...
...
@@ -69,7 +69,7 @@
</div>
<div
class=
"yujingright yujing"
style=
"width: 33%;height: 90px;float: left;"
>
<div
class=
"yujingtop"
style=
"width: 70px;height: 90px;float: left;margin-top: 15px;text-align: right;"
>
<img
src=
"@/assets/mapinages/group788.png"
alt=
""
style=
"width:
60px;height: 6
0px;"
/>
<img
src=
"@/assets/mapinages/group788.png"
alt=
""
style=
"width:
50px;height: 5
0px;"
/>
</div>
<div
class=
"yujingbottom"
style=
"float: left;color: #cddbe4;margin-left: 10px;"
>
<p>
隐患数量
</p>
...
...
gassafetyprogress-web/src/layout/components/Navbar.vue
View file @
9d114ee3
...
...
@@ -7,13 +7,17 @@
<div
class=
"right-menu"
>
<template
v-if=
"device!=='mobile'"
>
<search
id=
"header-search"
class=
"right-menu-item"
/>
<!--
<search
id=
"header-search"
class=
"right-menu-item"
/>
-->
<el-badge
:value=
"200"
:max=
"99"
class=
"item"
>
<i
class=
"el-icon-chat-dot-round"
></i>
</el-badge>
<screenfull
id=
"screenfull"
class=
"right-menu-item hover-effect"
/>
<el-tooltip
content=
"布局大小"
effect=
"dark"
placement=
"bottom"
>
<
!--
<
el-tooltip
content=
"布局大小"
effect=
"dark"
placement=
"bottom"
>
<size-select
id=
"size-select"
class=
"right-menu-item hover-effect"
/>
</el-tooltip>
</el-tooltip>
-->
</
template
>
...
...
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