diff --git a/src/api/request.js b/src/api/request.js index 1fe250e..9d69b2e 100644 --- a/src/api/request.js +++ b/src/api/request.js @@ -1,5 +1,4 @@ import axios from 'axios' -import qs from 'qs' import { useRouter } from 'vue-router' import { ElMessage } from 'element-plus' diff --git a/src/assets/images/arrow-down-1.png b/src/assets/images/arrow-down-1.png new file mode 100644 index 0000000..cb7d584 Binary files /dev/null and b/src/assets/images/arrow-down-1.png differ diff --git a/src/components/Correspondence/index.vue b/src/components/Correspondence/index.vue index dd08c35..d98e79c 100644 --- a/src/components/Correspondence/index.vue +++ b/src/components/Correspondence/index.vue @@ -49,8 +49,7 @@ \ No newline at end of file + .traffic-box-1 { + width: vw(815); + height: vh(975); + background: linear-gradient(321deg, #0b2f64 0%, #062b57 100%); + border-radius: 0px 0px 0px 0px; + margin-top: vh(100); + position: relative; + z-index: 9; + .list-item { + display: flex; + justify-content: space-between; + flex-wrap: wrap; + padding: 0 vw(10); + .item-li { + width: vw(388); + height: vh(420); + background-image: url('@/assets/images/bg-3.png'); + background-size: 100% 100%; + + .title-3 { + margin-left: vw(10); + 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); + 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; /* 兼容其他浏览器 */ + } + } + .chart-box { + width: 100%; + height: vh(370); + } + } + } + .title-num { + display: flex; + justify-content: flex-start; + padding: vw(40); + .item-box { + flex: 1; + .item-t { + display: flex; + font-weight: 400; + font-size: vw(14); + color: rgba(255, 255, 255, 0.8); + text-align: left; + font-style: normal; + text-transform: none; + margin-bottom: vh(20); + img { + margin-right: vw(5); + width: vw(8); + height: vh(8); + } + } + .item-num { + width: vw(134); + height: vh(30); + background-image: url('@/assets/images/t-box-title-bg-1.png'); + background-size: 100% 100%; + font-weight: bold; + font-size: vw(24); + color: #02f9fa; + text-align: left; + font-style: normal; + text-transform: none; + padding-left: vw(15); + position: relative; + left: vw(-8); + span { + position: relative; + top: vh(-5); + } + } + } + } + } + diff --git a/src/views/workOrder/components/box-2.vue b/src/views/workOrder/components/box-2.vue index 80a834e..fff2ace 100644 --- a/src/views/workOrder/components/box-2.vue +++ b/src/views/workOrder/components/box-2.vue @@ -1,772 +1,783 @@ \ No newline at end of file + :deep(.el-progress-bar__outer) { + background: rgba(0, 150, 255, 0.15); + border-radius: 0; + } + :deep(.el-progress-bar__inner) { + border-radius: 0; + } + :deep(.el-progress__text) { + font-size: vw(14) !important; + color: #fff; + } + .line-chart { + // margin-top:vh(20); + } + .chart-p { + position: relative; + .check-label { + position: absolute; + right: vw(20); + top: vh(-15); + span { + min-width: vw(55); + 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; + font-size: vw(13); + color: #0084ff; + text-align: center; + font-style: normal; + text-transform: none; + } + .active { + background: linear-gradient(270deg, #37d8fc 0%, #0084ff 100%); + border-radius: vw(50); + border: 1px solid rgba(0, 114, 220, 0.3); + color: #fff; + } + } + } + .work-box-2 { + width: vw(1522); + height: vh(965); + margin-top: vh(100); + margin-left: vw(10); + position: relative; + z-index: 99; + .work-2-flex { + background: linear-gradient(321deg, #0b2f64 0%, #062b57 100%); + height: vh(490); + overflow: hidden; + + .chart-box { + display: flex; + justify-content: space-between; + padding: vw(20) vw(15); + + .lt-chart { + width: vw(740); + min-height: vw(336); + padding: vw(20); + background-image: url('@/assets/images/bg-3.png'); + background-size: 100% 100%; + .box-press { + padding: vw(30); + padding-top: vh(40); + .p-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); + 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; /* 兼容其他浏览器 */ + } + } + } + } + .hd-list { + display: flex; + justify-content: center; + position: relative; + .h-icon { + position: absolute; + left: vw(70); + top: 50%; + transform: translateY(-50%); + width: vw(74); + height: auto; + } + .item { + display: flex; + width: vw(210); + height: vh(58); + line-height: vh(58); + padding-left: vw(10); + text-align: center; + margin: 0 vw(15); + font-weight: 400; + font-size: vw(14); + color: rgba(255, 255, 255, 0.9); + text-align: left; + font-style: normal; + text-transform: none; + span { + font-size: vw(24); + position: relative; + top: vh(2); + margin-left: vw(5); + } + .color1 { + color: #02f9fa; + } + } + .item1 { + background-image: url('@/assets/images/work-n-bg-1.png'); + background-size: 100% 100%; + } + .item2 { + background-image: url('@/assets/images/work-n-bg-2.png'); + background-size: 100% 100%; + } + .item3 { + background-image: url('@/assets/images/work-n-bg-3.png'); + background-size: 100% 100%; + } + } + .header { + position: relative; + margin: vh(20); + + .title { + margin: vh(5) auto; + width: vw(468); + height: vh(32); + font-weight: 800; + font-size: vw(16); + color: #fff; + 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%); + } + } + } + } + } + diff --git a/src/views/workOrder/components/box-3.vue b/src/views/workOrder/components/box-3.vue index c628321..0c85ba0 100644 --- a/src/views/workOrder/components/box-3.vue +++ b/src/views/workOrder/components/box-3.vue @@ -1,413 +1,412 @@ \ No newline at end of file + .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-left: vw(10); + position: relative; + z-index: 99; + .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); + .list { + /* 滚动条整体样式 */ + &::-webkit-scrollbar { + width: vw(4); /* 滚动条的宽度 */ + } + /* 滚动条轨道 */ + &::-webkit-scrollbar-track { + background: 'transparent'; /* 轨道的背景色 */ + } + /* 滚动条滑块 */ + &::-webkit-scrollbar-thumb { + background: rgba(0, 150, 255, 0.63); /* 滑块的背景色 */ + border-radius: 5px; /* 滑块的圆角 */ + } + height: vh(510); + overflow: auto; + .li:nth-child(odd) { + background: rgba(3, 78, 153, 0.3); + } + .li:nth-child(even) { + background-color: transparent; + } + .li { + display: flex; + align-items: center; + justify-content: flex-start; + padding: vh(8) vh(10); + .label { + width: vw(60); + height: vh(24); + line-height: vh(24); + color: #fff; + border-radius: 2px 2px 2px 2px; + font-size: vw(14); + text-align: center; + display: inline-block; + margin-right: vw(10); + } + .label1 { + background: #2380fb; + } + .label2 { + background: #feae00; + } + .label3 { + background: #d9011b; + } + .time { + font-weight: 400; + font-size: vw(12); + color: rgba(255, 255, 255, 0.6); + line-height: 14px; + text-align: left; + font-style: normal; + text-transform: none; + margin-left: vw(30); + } + 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; + } + } + } + .header { + position: relative; + margin: vh(20); + .title { + margin: vh(5) auto; + width: vw(468); + height: vh(32); + font-weight: 800; + font-size: vw(16); + color: #fff; + 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%); + } + } + } + } + .work-2-flex { + background: linear-gradient(321deg, #0b2f64 0%, #062b57 100%); + height: vh(380); + overflow: hidden; + .chart-box { + display: flex; + justify-content: space-between; + padding: vw(20) vw(15); + height: vh(360); + padding-top: vh(35); + box-sizing: border-box; + .box-item { + flex: 1; + width: vw(140); + height: vh(140); + padding: vw(10); + .line-chart { + // width:100%; + // height:100%; + } + } + } + .header { + position: relative; + margin: vh(20); + + .title { + margin: vh(5) auto; + width: vw(468); + height: vh(32); + font-weight: 800; + font-size: vw(16); + color: #fff; + 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%); + } + } + } + .hd-list { + display: flex; + justify-content: center; + position: relative; + padding: 0 vw(20); + .h-icon { + position: absolute; + left: vw(70); + top: 50%; + transform: translateY(-50%); + width: vw(74); + height: vh(74); + } + .item { + display: flex; + width: vw(210); + height: vh(58); + line-height: vh(58); + padding-left: vw(10); + text-align: center; + margin: 0 vw(15); + font-weight: 400; + font-size: vw(14); + color: rgba(255, 255, 255, 0.9); + text-align: left; + font-style: normal; + text-transform: none; + span { + font-size: vw(24); + position: relative; + top: vh(2); + margin-left: vw(5); + } + .color1 { + color: #02f9fa; + } + } + .item1 { + background-image: url('@/assets/images/work-n-bg-1.png'); + background-size: 100% 100%; + } + .item2 { + background-image: url('@/assets/images/work-n-bg-2.png'); + background-size: 100% 100%; + } + .item3 { + background-image: url('@/assets/images/work-n-bg-3.png'); + background-size: 100% 100%; + } + } + } + } +