From a7e6761ba0cfccdf33ed552eb2d3b783c8e4ab4a Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Wed, 16 Apr 2025 20:49:12 +0800
Subject: [PATCH] feat:事件弹窗显示调整
---
src/styles/element-ui.scss | 334 +++++++++++++++++++++++++++++++++++--------------------
1 files changed, 212 insertions(+), 122 deletions(-)
diff --git a/src/styles/element-ui.scss b/src/styles/element-ui.scss
index 27d81e9..878186d 100644
--- a/src/styles/element-ui.scss
+++ b/src/styles/element-ui.scss
@@ -60,60 +60,65 @@
.avue--detail .el-form-item {
background-color: #fafafa;
}
+
// 查看按钮
.ztzf-view {
width: 53px;
- height: 27px;
- background: #001f4e !important;
- border-radius: 0px 0px 0px 0px;
- border: 1px solid #51a8ff !important;
- font-size: 14px;
- color: #ffffff;
- text-align: center;
- line-height: 27px;
- cursor: pointer;
+ height: 27px;
+ background: #001f4e !important;
+ border-radius: 0px 0px 0px 0px;
+ border: 1px solid #51a8ff !important;
+ font-size: 14px;
+ color: #ffffff;
+ text-align: center;
+ line-height: 27px;
+ cursor: pointer;
}
+
// table表格
.ztzf-table {
.el-table__inner-wrapper:before {
- height: 0 !important;
- }
- .el-table .warning-row {
- --el-table-tr-bg-color: rgba(22, 43, 74, 0.79);
- }
- .el-table .warning-row::after {
- position: absolute;
- content: '';
- left: 0;
- width: 100%;
- border-bottom: 1px solid;
+ height: 0 !important;
+ }
- border-image: linear-gradient(
- 90deg,
- rgba(25, 162, 255, 0) 10%,
- rgba(20, 125, 202, 1) 50%,
- rgba(25, 162, 255, 0) 90%
- )
- 2 2 2 2;
- }
- .el-table .success-row {
- --el-table-tr-bg-color: #0b1d38;
- }
- .el-table .success-row::after {
- position: absolute;
- content: '';
- left: 0;
- width: 100%;
- border-bottom: 1px solid;
+ .el-table .warning-row {
+ --el-table-tr-bg-color: rgba(22, 43, 74, 0.79);
+ }
- border-image: linear-gradient(
- 90deg,
- rgba(25, 162, 255, 0) 10%,
- rgba(20, 125, 202, 1) 79%,
- rgba(25, 162, 255, 0) 90%
- )
- 2 2 2 2;
- }
+ .el-table .warning-row::after {
+ position: absolute;
+ content: '';
+ left: 0;
+ width: 100%;
+ border-bottom: 1px solid;
+
+ border-image: linear-gradient(
+ 90deg,
+ rgba(25, 162, 255, 0) 10%,
+ rgba(20, 125, 202, 1) 50%,
+ rgba(25, 162, 255, 0) 90%
+ ) 2 2 2 2;
+ }
+
+ .el-table .success-row {
+ --el-table-tr-bg-color: #0b1d38;
+ }
+
+ .el-table .success-row::after {
+ position: absolute;
+ content: '';
+ left: 0;
+ width: 100%;
+ border-bottom: 1px solid;
+
+ border-image: linear-gradient(
+ 90deg,
+ rgba(25, 162, 255, 0) 10%,
+ rgba(20, 125, 202, 1) 79%,
+ rgba(25, 162, 255, 0) 90%
+ ) 2 2 2 2;
+ }
+
.el-table {
color: #fff;
--el-table-border-color: var(--el-border-color-lighter);
@@ -130,18 +135,21 @@
--el-table-fixed-left-column: inset 10px 0 10px -10px rgba(0, 0, 0, 0.15);
--el-table-fixed-right-column: inset -10px 0 10px -10px rgba(0, 0, 0, 0.15);
}
+
.el-table__header {
width: 0 !important;
}
+
.el-table__body {
border-collapse: collapse;
}
+
.el-table .el-table__cell {
padding: 0 !important;
text-align: center !important;
}
-
- .el-table thead{
+
+ .el-table thead {
border-bottom: 1px solid !important;
border: 1px solid !important;
border-image: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1), rgba(255, 255, 255, 0)) 1 1 !important;
@@ -149,88 +157,170 @@
background: #102441 !important;
}
}
- // 分页
+
+// 分页
.ztzf-pagination {
-
- .el-pagination {
- display: flex !important;
- justify-content: center !important;
-}
-.el-pagination button{
- background: center center no-repeat none !important;
- color: #8eb8ea !important;
-}
-.el-pager li{
- background: none !important;
- color: #8eb8ea !important;
-}
-.el-pager li.is-active {
- background: #021022 !important;
- border-radius: 0px 0px 0px 0px;
- border: 1px solid #1479ef;
- color: #c7e1ff !important;
-}
-.el-pagination__goto {
- color: #c7e1ff !important;
-}
-.el-pagination__classifier {
- color: #c7e1ff !important;
-}
-.el-pager .el-input__wrapper {
- background: #021022 !important;
- color: #c7e1ff !important;
- border: 1px solid #1479ef !important;
- z-index: 1;
-}
-.el-input__wrapper {
- background: #021022 !important;
- box-shadow: none !important;
- border: 1px solid #178bff;
- color: #fff !important;
-}
-.el-input__inner {
- color: #fff !important;
-}
-}
-
-
-.ztzf-date-picker{
- box-shadow: none !important;
- background: rgba(0, 15, 34, 0.5);
- border: 1px solid #306fca;
-
- .el-input__wrapper {
- background-color: transparent;
- box-shadow: 0 0 0 1px #0070ff;
-
- &.is-focus {
- box-shadow: 0 0 0 1px #0070ff;
- }
+ --text-color: #8eb8ea;
+ --border: 1px solid #1479EF;
+ button {
+ background: center center no-repeat none !important;
+ color: var(--text-color);
}
-
- .el-range-input {
- background-color: transparent;
- color: #fff;
- height: 28px;
-
- &::placeholder {
- color: rgba(255, 255, 255, 0.6);
- }
- }
-
- .el-range-separator{
- color: #fff;
- }
-}
-
-.ztzf-select {
.el-select__wrapper {
- background-color: transparent;
+ background-color: #021022;
box-shadow: none;
- border: 1px solid #306fca;
+ border: var(--border);
}
.el-select__placeholder {
color: #ffffff;
}
+ .el-pagination__total{
+ color: var(--text-color);
+ }
+
+ .el-pager li {
+ background: none !important;
+ color: var(--text-color);
+
+ &.is-active{
+ background: #021022 !important;
+ border-radius: 0;
+ border: var(--border);
+ color: var(--text-color);
+ }
+ }
+
+ .el-pagination__goto {
+ color: var(--text-color);
+ }
+
+ .el-pagination__classifier {
+ color: var(--text-color);
+ }
+
+ .el-input__wrapper {
+ background: #021022 !important;
+ box-shadow: none !important;
+ border: var(--border);
+ color: #fff !important;
+ }
+
+ .el-input__inner {
+ color: #fff !important;
+ }
}
+
+//时间日期选择器
+.ztzf-date-picker {
+ box-shadow: none !important;
+ background: #012A50;
+ border: 1px solid #51A8FF;
+
+ .el-input__wrapper {
+ box-shadow: none !important;
+
+ &.is-focus {
+ box-shadow: none !important;
+ }
+ }
+
+ .el-range-input {
+ color: #fff;
+
+ &::placeholder {
+ color: #8AC3FD;
+ }
+ }
+
+ .el-range-separator {
+ color: #ffffff;
+ }
+}
+
+//下拉
+.ztzf-select {
+ .el-select__wrapper {
+ background: #012A50;
+ box-shadow: none !important;
+ border: 1px solid #51A8FF;
+ }
+
+ .el-select__placeholder {
+ &.is-transparent{
+ color: #8AC3FD !important;
+ }
+ &.el-select__selected-item{
+ color: #ffffff;
+ }
+ }
+}
+
+.ztzf-input{
+ .el-input__wrapper{
+ background: #012A50;
+ box-shadow: none !important;
+ border: 1px solid #51A8FF;
+
+ .el-input__inner{
+ color: #ffffff;
+ &::placeholder {
+ color: #8AC3FD;
+ }
+ }
+ }
+}
+// 弹框-dialog
+.ztzf-dialog {
+
+ background: #0f1929;
+ box-shadow: inset 0px -50px 50px 0px rgba(27, 148, 255, 0.13);
+ border-radius: 20px 0px 0px 0px;
+ border: 2px solid;
+ padding: 0 !important;
+
+ border-image: linear-gradient(
+ 180deg,
+ rgba(81, 168, 255, 0),
+ rgba(48, 111, 202, 1),
+ rgba(255, 255, 255, 1),
+ rgba(27, 148, 255, 1)
+ )
+ 2 2;
+ // 头部
+ .el-dialog__header {
+ width: 100%;
+ height: 47px;
+ margin-bottom: 14px;
+ background: url('/src/assets/images/home/homeLeft/inspection-vector.png') no-repeat center;
+ background-size: 100% 100%;
+ font-weight: bold;
+ font-size: 16px;
+ line-height: 47px;
+ }
+ .el-dialog__title {
+ width: 112px;
+ height: 19px;
+ font-family: Segoe UI, Segoe UI;
+ font-weight: bold;
+ font-size: 16px;
+ line-height: 16px;
+ text-shadow: 0px 0px 5px rgba(154, 218, 255, 0.6);
+ text-align: left;
+ font-style: normal;
+ text-transform: none;
+ background: linear-gradient(90deg, #fbfdff 0%, #86d4ff 100%);
+ margin-left: 16px;
+ -webkit-background-clip: text; /* 背景被裁剪成文字的前景色 */
+ -webkit-text-fill-color: transparent; /* 文字填充颜色变透明 */
+ }
+ .el-dialog .el-dialog__header {
+ /* margin: 0px !important; */
+ padding: 0px !important;
+ padding-left: 0px !important;
+ }
+ .el-scrollbar__thumb {
+ background: #13c6ff !important;
+ }
+}
+
--
Gitblit v1.9.3