-
-
+
+
+
+
+
+ -
+
+
{{ item.name }}
+ {{ item.value }}%
+
+
+
+
+
+ -
+
+ {{ item }}
+
+ 异常点位告警1号名称
+
+
-
-
-

- 异常点位告警排名
-
-
-
-
@@ -114,404 +123,57 @@
@@ -527,9 +189,7 @@
font-size: vw(14) !important;
color: #fff;
}
- .line-chart {
- // margin-top:vh(20);
- }
+
.chart-p {
position: relative;
.check-label {
@@ -541,7 +201,6 @@
padding: vw(5);
background: linear-gradient(270deg, rgba(8, 41, 86, 0.16) 0%, #0b61b4 100%);
border-radius: vw(50);
- // border: 1px solid rgba(0,114,220,0.3);
margin-left: vw(5);
display: inline-block;
font-weight: 400;
@@ -561,144 +220,44 @@
}
.work-box-2 {
width: vw(1522);
- height: vh(965);
- margin-top: vh(100);
+ margin-top: vh(120);
margin-left: vw(10);
position: relative;
z-index: 99;
- .work-2-flex {
+ .box-1 {
+ height: vh(500);
background: linear-gradient(321deg, #0b2f64 0%, #062b57 100%);
- height: vh(490);
- overflow: hidden;
-
- .chart-box {
+ .chart {
display: flex;
justify-content: space-between;
padding: vw(20) vw(15);
- .lt-chart {
+ &__wrapper {
width: vw(740);
- min-height: vw(336);
- padding: vw(20);
+ height: vh(370);
+ padding: 0 vw(20);
background-image: url('@/assets/images/bg-3.png');
background-size: 100% 100%;
- .box-press {
+ .progress {
padding: vw(30);
padding-top: vh(40);
- .p-item {
+ &-item {
display: flex;
width: 100%;
margin-top: vh(40);
align-items: center;
- span {
- font-weight: bold;
- font-size: vw(14);
- color: #ffffff;
- text-align: left;
- font-style: normal;
- text-transform: none;
- margin-right: vw(10);
- }
- .box-1 {
- flex: 1;
- }
}
- }
- .box {
- width: 100%;
- height: vh(250);
- display: flex;
- margin-top: vh(30);
- .chart-1 {
- flex: 1;
- }
- .chart-des {
- width: vw(224);
- height: vh(312);
- background: #0a4190;
- .t-item:nth-child(odd) {
- background: rgba(0, 150, 255, 0.3);
- }
- .t-item:nth-child(even) {
- background-color: transparent;
- }
- .t-item {
- display: flex;
- padding: vh(10) vw(10);
- span {
- width: vw(24);
- height: vh(16);
- text-align: center;
- display: inline-block;
- margin-right: vw(10);
- color: #fff;
- border-radius: 2px 2px 2px 2px;
- }
- p {
- font-weight: 400;
- font-size: vw(15);
- color: #ffffff;
- text-align: left;
- font-style: normal;
- text-transform: none;
- flex: 1;
- /*1. 先强制一行内显示文本*/
- white-space: nowrap;
- /*2. 超出的部分隐藏*/
- overflow: hidden;
- /*3. 文字用省略号替代超出的部分*/
- text-overflow: ellipsis;
- }
- .bgColor1 {
- background: #d9011b;
- }
- .bgColor2 {
- background: #feae00;
- }
- .bgColor3 {
- background: #2380fb;
- }
- .bgColor4 {
- background: #495c77;
- }
- }
- .t-des {
- background: rgba(0, 150, 255, 0.4);
- padding: vw(10);
- font-weight: 400;
- font-size: vw(13);
- color: #02f9fa;
- display: flex;
- text-align: left;
- font-style: normal;
- text-transform: none;
- img {
- width: vw(16);
- height: vh(12);
- margin-right: vw(5);
- }
- }
- }
- }
- .title-3 {
- position: relative;
- width: vw(344);
- height: vh(12);
- margin-top: vh(20);
- background-image: url('@/assets/images/title-6.png');
- background-size: 100% 100%;
-
- & > span {
- position: absolute;
- bottom: vh(4);
- left: vw(20);
- font-size: vw(15);
+ &-item__label {
font-weight: bold;
- background-image: linear-gradient(to bottom, #ffffff 0%, #0096ff 100%);
- -webkit-background-clip: text;
- background-clip: text;
- -webkit-text-fill-color: transparent; /* 兼容WebKit内核浏览器 */
- color: transparent; /* 兼容其他浏览器 */
+ font-size: vw(14);
+ color: #ffffff;
+ text-align: left;
+ font-style: normal;
+ text-transform: none;
+ margin-right: vw(10);
+ }
+ &-item__inner {
+ flex: 1;
}
}
}
@@ -752,30 +311,131 @@
background-size: 100% 100%;
}
}
- .header {
- position: relative;
- margin: vh(20);
+ }
+ .box-2 {
+ height: vh(434);
+ background: linear-gradient(321deg, #0b2f64 0%, #062b57 100%);
- .title {
- margin: vh(5) auto;
- width: vw(468);
- height: vh(32);
- font-weight: 800;
- font-size: vw(16);
- color: #fff;
+ .chart {
+ display: flex;
+ justify-content: space-between;
+ padding: vw(20) vw(15);
+
+ &__wrapper {
+ width: vw(740);
+ height: vh(370);
+ padding: 0 vw(20);
+ background-image: url('@/assets/images/bg-3.png');
+ background-size: 100% 100%;
+ }
+
+ &__inner {
+ display: flex;
+ align-items: center;
+ }
+
+ &__legend {
+ flex: 1;
+
+ &-item {
+ position: relative;
+ width: 100%;
+ height: vh(40);
+ display: flex;
+ align-items: center;
+ margin-bottom: vh(8);
+ background: linear-gradient(
+ 90deg,
+ rgba(0, 150, 255, 0.34) 0%,
+ rgba(0, 150, 255, 0) 100%
+ );
+
+ &::before {
+ position: absolute;
+ content: '';
+ width: vw(4);
+ height: vh(40);
+ background-color: #0096ff;
+ }
+
+ .dot {
+ width: vw(4);
+ height: vw(4);
+ margin: 0 vw(16);
+ }
+
+ .name {
+ font-weight: 400;
+ font-size: vw(12);
+ color: #ffffff;
+ width: vw(130);
+ }
+
+ .value {
+ font-weight: bold;
+ font-size: vw(15);
+ color: #ffffff;
+ }
+ }
+ }
+ }
+
+ .alarm {
+ background: #0a4190;
+
+ &__wrapper {
+ flex: 1;
+ height: vh(270);
+ background: #054581; /* 滚动条整体样式 */
+ &::-webkit-scrollbar {
+ width: vw(4); /* 滚动条的宽度 */
+ }
+ /* 滚动条轨道 */
+ &::-webkit-scrollbar-track {
+ background: 'transparent'; /* 轨道的背景色 */
+ }
+ /* 滚动条滑块 */
+ &::-webkit-scrollbar-thumb {
+ background: rgba(0, 150, 255, 0.63); /* 滑块的背景色 */
+ border-radius: 5px; /* 滑块的圆角 */
+ }
+ overflow: auto;
+ }
+
+ &-item {
+ padding: 0 vw(12);
+ &:nth-child(2n) {
+ background: #054d8d;
+ }
+ height: vh(40);
+ display: flex;
+ align-items: center;
+ }
+
+ &-item__rank {
+ width: vw(24);
+ height: vh(16);
+ font-size: vw(12);
+ color: #ffffff;
display: flex;
align-items: center;
justify-content: center;
- background-image: url('@/assets/images/title-4.png');
- background-size: 100% 100%;
- span {
- font-weight: 800;
- color: transparent;
- -webkit-background-clip: text;
- background-clip: text;
- -webkit-text-fill-color: transparent;
- background-image: linear-gradient(to bottom, #ffffff 0%, #87c9ff 100%);
- }
+ background: #495c77;
+ }
+ &-item__rank--error {
+ background-color: #d9011b;
+ }
+ &-item__rank--warning {
+ background-color: #feae00;
+ }
+ &-item__rank--primary {
+ background-color: #2380fb;
+ }
+ &-item__content {
+ padding-left: vw(20);
+ font-weight: 400;
+ font-size: vw(14);
+ color: #ffffff;
}
}
}
diff --git a/src/views/workOrder/components/box-3.vue b/src/views/workOrder/components/box-3.vue
index 0c85ba0..500da54 100644
--- a/src/views/workOrder/components/box-3.vue
+++ b/src/views/workOrder/components/box-3.vue
@@ -194,18 +194,16 @@
.work-box-3 {
width: vw(813);
height: vh(380);
- background: linear-gradient(321deg, #0b2f64 0%, #062b57 100%);
- border-radius: 0px 0px 0px 0px;
- margin-top: vh(100);
+ margin-top: vh(120);
margin-left: vw(10);
position: relative;
z-index: 99;
+ background: linear-gradient(321deg, #0b2f64 0%, #062b57 100%);
+
.work-box-1 {
width: vw(815);
height: vh(588);
- // margin-top:vh(100);
background: linear-gradient(321deg, #0b2f64 0%, #062b57 100%);
- border-radius: 0px 0px 0px 0px;
position: relative;
z-index: 99;
padding: 0 vw(20);
@@ -285,7 +283,7 @@
}
.header {
position: relative;
- margin: vh(20);
+ margin: 0 vh(20);
.title {
margin: vh(5) auto;
width: vw(468);
diff --git a/src/views/workOrder/components/spotRate.vue b/src/views/workOrder/components/spotRate.vue
new file mode 100644
index 0000000..0a47b04
--- /dev/null
+++ b/src/views/workOrder/components/spotRate.vue
@@ -0,0 +1,94 @@
+
+
+
+
+
+
+