-
-
-
-
-
- 编号:
-
-
- 违规行为:
-
-
- 地点
-
-
- 违规时间
-
-
- 操作
-
-
-
-
Ⅰ级违法事件
-
Ⅱ级违法事件
-
Ⅲ级违法事件
+
+
+
+ Ⅰ级违法事件
+
+
+
+ Ⅱ级违法事件
+
+
+
+ Ⅲ级违法事件
+
- 编号:{{item.num}}
+ 预警类型: {{item.type}}
- 违规行为:{{item.content}}
+ 违规信息: {{item.content}}
-
- 违规地点:{{item.site}}
+
+ 摄像头: {{item.site}}
- 违规时间:{{item.time}}
+ 违规时间: {{item.time}}
-
-
+
+
+
diff --git a/src/app/pages/today-warning/today-warning.component.scss b/src/app/pages/today-warning/today-warning.component.scss
index 129b79b..8d719b0 100644
--- a/src/app/pages/today-warning/today-warning.component.scss
+++ b/src/app/pages/today-warning/today-warning.component.scss
@@ -9,12 +9,8 @@
box-sizing: border-box;
padding: 0 20PX;
width: 100%;
- height: 50px;
- line-height: 50px;
- font-family: titlefont;
- font-size: 26px;
- color: #D0EAFF;
- margin: 15px 0;
+ height: 48px;
+ margin: 16px 0;
}
.search {
@@ -74,21 +70,26 @@
overflow-y: auto;
box-sizing: border-box;
padding: 20px 47px 20px 39px;
+
.listitem {
width: 100%;
- height: 75px;
- line-height: 75px;
- border: 1px solid #4c8ac8;
- color: #86bff3;
+ height: 78px;
+ line-height: 78px;
+ border: 1px solid rgba(54, 162, 255, 0.478);
+ color: #91CCFF;
margin-bottom: 12px;
-
+ background: linear-gradient(180deg, rgba(3, 0, 0, 0) 0%, rgba(0, 46, 91, 0.68) 100%);
div {
+ font-size: 15px;
text-align: center;
-
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
button {
+ font-size: 15px;
background-color: #013064;
border: 1px solid #4c8ac8;
- color: #86bff3;
+ color: #91CCFF;
}
}
}
diff --git a/src/app/pages/today-warning/today-warning.component.ts b/src/app/pages/today-warning/today-warning.component.ts
index c952347..d61b579 100644
--- a/src/app/pages/today-warning/today-warning.component.ts
+++ b/src/app/pages/today-warning/today-warning.component.ts
@@ -36,18 +36,18 @@ export class TodayWarningComponent implements OnInit {
}
list: any = [
- {level:1,num:'DFHDUF54545SDS5D45SD4',content:'工作人员倚靠加油机或者立柱',site:'加油区2号摄像头',time:'2021-10-12 09:28:13'},
- {level:2,num:'DFHDUF54545SDS5D45SD4',content:'工作人员倚靠加油机或者立柱',site:'加油区2号摄像头',time:'2021-10-12 09:28:13'},
- {level:3,num:'DFHDUF54545SDS5D45SD4',content:'工作人员倚靠加油机或者立柱',site:'加油区2号摄像头',time:'2021-10-12 09:28:13'},
- {level:1,num:'DFHDUF54545SDS5D45SD4',content:'工作人员倚靠加油机或者立柱',site:'加油区2号摄像头',time:'2021-10-12 09:28:13'},
- {level:1,num:'DFHDUF54545SDS5D45SD4',content:'工作人员倚靠加油机或者立柱',site:'加油区2号摄像头',time:'2021-10-12 09:28:13'},
- {level:1,num:'DFHDUF54545SDS5D45SD4',content:'工作人员倚靠加油机或者立柱',site:'加油区2号摄像头',time:'2021-10-12 09:28:13'},
- {level:1,num:'DFHDUF54545SDS5D45SD4',content:'工作人员倚靠加油机或者立柱',site:'加油区2号摄像头',time:'2021-10-12 09:28:13'},
- {level:1,num:'DFHDUF54545SDS5D45SD4',content:'工作人员倚靠加油机或者立柱',site:'加油区2号摄像头',time:'2021-10-12 09:28:13'},
- {level:1,num:'DFHDUF54545SDS5D45SD4',content:'工作人员倚靠加油机或者立柱',site:'加油区2号摄像头',time:'2021-10-12 09:28:13'},
- {level:1,num:'DFHDUF54545SDS5D45SD4',content:'工作人员倚靠加油机或者立柱',site:'加油区2号摄像头',time:'2021-10-12 09:28:13'},
- {level:1,num:'DFHDUF54545SDS5D45SD4',content:'工作人员倚靠加油机或者立柱',site:'加油区2号摄像头',time:'2021-10-12 09:28:13'},
- {level:1,num:'DFHDUF54545SDS5D45SD4',content:'工作人员倚靠加油机或者立柱',site:'加油区2号摄像头',time:'2021-10-12 09:28:13'}
+ {level:1,type:'加油区违规',content:'工作人员倚靠加油机或者立柱',site:'加油区2号摄像头',time:'2021-10-12 09:28:13'},
+ {level:2,type:'加油区违规',content:'工作人员倚靠加油机或者立柱',site:'加油区2号摄像头',time:'2021-10-12 09:28:13'},
+ {level:3,type:'加油区违规',content:'工作人员倚靠加油机或者立柱',site:'加油区2号摄像头',time:'2021-10-12 09:28:13'},
+ {level:1,type:'加油区违规',content:'工作人员倚靠加油机或者立柱',site:'加油区2号摄像头',time:'2021-10-12 09:28:13'},
+ {level:1,type:'加油区违规',content:'工作人员倚靠加油机或者立柱',site:'加油区2号摄像头',time:'2021-10-12 09:28:13'},
+ {level:1,type:'加油区违规',content:'工作人员倚靠加油机或者立柱',site:'加油区2号摄像头',time:'2021-10-12 09:28:13'},
+ {level:1,type:'加油区违规',content:'工作人员倚靠加油机或者立柱',site:'加油区2号摄像头',time:'2021-10-12 09:28:13'},
+ {level:1,type:'加油区违规',content:'工作人员倚靠加油机或者立柱',site:'加油区2号摄像头',time:'2021-10-12 09:28:13'},
+ {level:1,type:'加油区违规',content:'工作人员倚靠加油机或者立柱',site:'加油区2号摄像头',time:'2021-10-12 09:28:13'},
+ {level:1,type:'加油区违规',content:'工作人员倚靠加油机或者立柱',site:'加油区2号摄像头',time:'2021-10-12 09:28:13'},
+ {level:1,type:'加油区违规',content:'工作人员倚靠加油机或者立柱',site:'加油区2号摄像头',time:'2021-10-12 09:28:13'},
+ {level:1,type:'加油区违规',content:'工作人员倚靠加油机或者立柱',site:'加油区2号摄像头',time:'2021-10-12 09:28:13'}
]
isVisible = false;
diff --git a/src/app/ui/tabbar/tabbar.component.html b/src/app/ui/tabbar/tabbar.component.html
index 02a2b57..4955849 100644
--- a/src/app/ui/tabbar/tabbar.component.html
+++ b/src/app/ui/tabbar/tabbar.component.html
@@ -1,6 +1,6 @@
- 中化科学至上
+
@@ -10,9 +10,9 @@
|
-
用户名
+
用户名
- 头像
+
-
\ No newline at end of file
+
diff --git a/src/app/ui/tabbar/tabbar.component.scss b/src/app/ui/tabbar/tabbar.component.scss
index 29e901a..a4e7d4f 100644
--- a/src/app/ui/tabbar/tabbar.component.scss
+++ b/src/app/ui/tabbar/tabbar.component.scss
@@ -1,23 +1,27 @@
-.box{
- width: 100%;
- height: 52px;
- background-image: linear-gradient(#001530, #051C3C ,#162f50, #243c55);
- display: flex;
- justify-content: space-between;
- align-items: center;
- color: #fff;
- box-sizing: border-box;
- padding: 0 20px;
- color: #8aacce;
+.box {
+ width: 100%;
+ height: 56px;
+ background: linear-gradient(#01142f, #0d2b4f);
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ color: #fff;
+ box-sizing: border-box;
+ padding: 0 20px;
+ color: #8aacce;
}
-.boxleft{
- font-size: 18px;
- font-weight: 500;
- // text-shadow: 0px 0px 2px #8df;
- color: rgb(255, 255, 255);
-}
-.boxright{
- span{
- font-size: 15px;
- }
+
+.boxright {
+ display: flex;
+ align-items: center;
+ span {
+ font-size: 16px;
+ color: #FFFFFF;
+ opacity: 0.6;
+ }
+
+ img {
+ width: 36px;
+ height: 36px;
+ }
}
diff --git a/src/app/ui/tabbar/tabbar.component.ts b/src/app/ui/tabbar/tabbar.component.ts
index d47210c..66ac60e 100644
--- a/src/app/ui/tabbar/tabbar.component.ts
+++ b/src/app/ui/tabbar/tabbar.component.ts
@@ -41,7 +41,7 @@ export class TabbarComponent implements OnInit {
h = check(h);
m = check(m);
s = check(s);
- let timestr = y + "-" + M + "-" + d + " " + h + ":" + m + ":" + s;
+ let timestr = y + "-" + M + "-" + d + " " + h + ":" + m + ":" + s;
this.time = timestr;
//时间数字小于10,则在之前加个“0”补位。
function check(i) {
diff --git a/src/app/ui/title/title.component.html b/src/app/ui/title/title.component.html
index 56b04d6..059ce9f 100644
--- a/src/app/ui/title/title.component.html
+++ b/src/app/ui/title/title.component.html
@@ -1,8 +1,8 @@
-

-
-
- {{name}}
-
+

+
\ No newline at end of file
+
+
diff --git a/src/app/ui/title/title.component.scss b/src/app/ui/title/title.component.scss
index 90de46d..35c7a8b 100644
--- a/src/app/ui/title/title.component.scss
+++ b/src/app/ui/title/title.component.scss
@@ -3,27 +3,28 @@
height: 100%;
display: flex;
align-items: center;
-
img {
- max-width: 46px;
- max-height: 46px;
+ width: 65px;
+ height: 65px;
}
-
.content {
flex: 1;
- height: 46px;
+ height: 48px;
display: flex;
align-items: center;
- background-image: linear-gradient(to right, #002147, #033565, #064e8e, #064e8e, #033565, #002147);
+ // background-image: linear-gradient(to right, #002147, #033565, #064e8e, #064e8e, #033565, #002147);
+ background: linear-gradient(270deg, rgba(35, 153, 255, 0) 0%, rgba(35, 153, 255, 0.32) 50%, rgba(35, 153, 255, 0) 100%);
.contentitem {
width: 100%;
- height: 33px;
- line-height: 33px;
- background-image: linear-gradient(to right, #002147, #0f5ca0, #1c88e6, #1c88e6, #0f5ca0, #002147);
-
+ height: 32px;
+ display: flex;
+ align-items: center;
+ // background-image: linear-gradient(to right, #002147, #0f5ca0, #1c88e6, #1c88e6, #0f5ca0, #002147);
+ background: linear-gradient(270deg, rgba(35, 153, 255, 0) 0%, rgba(35, 153, 255, 0.8) 50%, rgba(35, 153, 255, 0) 100%);
span {
- margin-left: 20px;
+
+ margin-left: 10px;
color: #bce0ff;
font-size: 20px;
font-family: titlefont;
diff --git a/src/assets/images/caiji.jpg b/src/assets/images/caiji.jpg
deleted file mode 100644
index a085544..0000000
Binary files a/src/assets/images/caiji.jpg and /dev/null differ
diff --git a/src/assets/images/excel.png b/src/assets/images/excel.png
new file mode 100644
index 0000000..830741a
Binary files /dev/null and b/src/assets/images/excel.png differ
diff --git a/src/assets/images/head.png b/src/assets/images/head.png
new file mode 100644
index 0000000..dc754c7
Binary files /dev/null and b/src/assets/images/head.png differ
diff --git a/src/assets/images/level1.png b/src/assets/images/level1.png
new file mode 100644
index 0000000..ebc257d
Binary files /dev/null and b/src/assets/images/level1.png differ
diff --git a/src/assets/images/level2.png b/src/assets/images/level2.png
new file mode 100644
index 0000000..0f74646
Binary files /dev/null and b/src/assets/images/level2.png differ
diff --git a/src/assets/images/level3.png b/src/assets/images/level3.png
new file mode 100644
index 0000000..ae8c020
Binary files /dev/null and b/src/assets/images/level3.png differ
diff --git a/src/assets/images/logo.png b/src/assets/images/logo.png
new file mode 100644
index 0000000..08456b2
Binary files /dev/null and b/src/assets/images/logo.png differ
diff --git a/src/assets/images/logosm.png b/src/assets/images/logosm.png
new file mode 100644
index 0000000..f28d0dc
Binary files /dev/null and b/src/assets/images/logosm.png differ
diff --git a/src/assets/images/navbg.png b/src/assets/images/navbg.png
new file mode 100644
index 0000000..3cae0b0
Binary files /dev/null and b/src/assets/images/navbg.png differ
diff --git a/src/theme.less b/src/theme.less
index 8a2309a..21b1e8b 100644
--- a/src/theme.less
+++ b/src/theme.less
@@ -56,15 +56,15 @@
}
.submit {
- background-color: #013064;
- border: 1px solid #4c8ac8;
- color: #86bff3;
+ background: rgba(0, 129, 255, 0.61);
+ border: 1px solid #36A2FF;
+ color: #91CCFF;
}
.reset {
background-color: #010d26;
- border: 1px solid #4c8ac8;
- color: #86bff3;
+ border: 1px solid #91CCFF;
+ color: #91CCFF;
}
//接收报警弹出框
@@ -140,14 +140,17 @@
//登录页input
#login {
- nz-input-group,input {
+
+ nz-input-group,
+ input {
color: white;
background: #143c61;
}
+
input:-webkit-autofill {
-webkit-box-shadow: 0 0 0 1000px #143c61 inset !important;
-webkit-text-fill-color: #fff !important;
- -webkit-border-radius:0px;
- -webkit-font-size: 16px!important;
+ -webkit-border-radius: 0px;
+ -webkit-font-size: 16px !important;
}
}