Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zanhuangyingji
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
yaqizhang
zanhuangyingji
Commits
f387a8f7
Commit
f387a8f7
authored
Apr 07, 2022
by
yaqizhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
样式
parent
67ce4ee0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
13 deletions
+21
-13
utils.js
ioc_frontweb/js/utils.js
+9
-1
style.css
ioc_frontweb/style/style.css
+12
-12
No files found.
ioc_frontweb/js/utils.js
View file @
f387a8f7
...
...
@@ -1174,13 +1174,21 @@ function renderAlarmList(obj) {
<div style="width: 25%; overflow: hidden;">
${
new
Date
(
pageData
[
i
].
alarmTime
).
toLocaleString
(
'zh-CN'
,
{
hour12
:
false
,
})}
</div>
<div style="width: 15%; overflow: hidden;">
${
pageData
[
i
].
handledStatus
}
</div>
<div
class="xc"
style="width: 15%; overflow: hidden;">
${
pageData
[
i
].
handledStatus
}
</div>
</li>`
;
}
tmpHtml
+=
'</ul>'
;
$
(
'.listContent'
).
html
(
tmpHtml
);
$
(
'.listContent'
).
FontScroll
({
time
:
2000
,
num
:
1
});
var
xc
=
document
.
getElementsByClassName
(
"xc"
)
if
(
xc
===
"已消除"
){
return
{
'color'
:
'#64FEFF'
};
}
else
if
(
xc
===
"未消除"
){
return
{
'color'
:
'#E827B2'
};
}
}
else
{
layLayer
.
alert
(
'暂无数据'
);
}
...
...
ioc_frontweb/style/style.css
View file @
f387a8f7
...
...
@@ -284,7 +284,7 @@ table.layui-table th {
#legend
{
overflow
:
hidden
;
width
:
200%
;
margin-left
:
6
7
0px
;
margin-left
:
6
1
0px
;
position
:
absolute
;
bottom
:
0
;
margin-bottom
:
10px
;
...
...
@@ -1220,8 +1220,8 @@ table.layui-table th {
}
.serBtn
{
background
:
#152136
;
width
:
50
px
;
height
:
50
px
;
width
:
45
px
;
height
:
45
px
;
text-align
:
center
;
outline
:
none
;
border-radius
:
5px
;
...
...
@@ -1312,7 +1312,7 @@ table.layui-table th {
padding
:
0px
10px
;
/* border-radius: 10px; */
margin-bottom
:
40px
;
margin-left
:
3
0px
;
margin-left
:
-1
0px
;
border
:
1px
solid
#183158
;
background
:
url(../images/groupshi.png)
no-repeat
;
background-size
:
100%
100%
;
...
...
@@ -1610,15 +1610,15 @@ div[lay-id='members'] thead tr:nth-child(1) {
position
:
absolute
;
top
:
302px
!important
;
right
:
452px
!important
;
width
:
50
px
;
height
:
50
px
;
width
:
45
px
;
height
:
45
px
;
}
.amap-maptype-con
{
position
:
absolute
;
top
:
0
;
right
:
0
;
width
:
51
px
!important
;
height
:
51
px
!important
;
width
:
46
px
!important
;
height
:
46
px
!important
;
/* background: #fff; */
border
:
solid
0px
#ccc
!important
;
border-radius
:
5px
!important
;
...
...
@@ -1628,8 +1628,8 @@ div[lay-id='members'] thead tr:nth-child(1) {
position
:
absolute
;
top
:
1px
;
right
:
1px
;
width
:
50
px
!important
;
height
:
50
px
!important
;
width
:
45
px
!important
;
height
:
45
px
!important
;
overflow
:
hidden
;
background
:
#ccc
;
border
:
solid
0px
#ccc
!important
;
...
...
@@ -1639,7 +1639,7 @@ div[lay-id='members'] thead tr:nth-child(1) {
position
:
absolute
;
bottom
:
0
;
left
:
0
;
width
:
50
px
!important
;
width
:
45
px
!important
;
height
:
20px
;
color
:
#fff
;
text-align
:
center
;
...
...
@@ -1653,7 +1653,7 @@ div[lay-id='members'] thead tr:nth-child(1) {
background
:
#152136
;
}
.amap-maptype-list
{
width
:
50
px
!important
;
width
:
45
px
!important
;
border-radius
:
5px
!important
;
display
:
block
;
height
:
20px
;
...
...
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