skyeyesystem/frontend/Skyeye-sys-ui/src/views/home/components/task-manage/index.scss

556 lines
11 KiB
SCSS
Raw Normal View History

2026-01-25 16:02:00 +08:00
@import '~@/styles/variables.scss';
.task-manage {
//width: 100%;
//height: 100%;
//font-size: 40px;
position: relative;
.task-list {
width: 410px;
// position: fixed;
top: 50px;
left: 0;
height: calc(100vh - 70px);
transition: 0.2s ease-in-out;
::v-deep .dt-card__content {
height: calc(100% - 100px);
}
.task-list__content {
height: calc(100vh - 120px);
position: relative;
width: 100%;
overflow-y: auto;
}
.task-item {
height: 40px;
box-sizing: border-box;
width: 100%;
position: relative;
display: flex;
justify-content: space-between;
align-items: center;
margin: 8px 0;
.left-part {
padding: 0 8px;
background: rgba(51, 51, 51, 0.6);
border-radius: 4px;
flex: 1;
height: 100%;
position: relative;
box-sizing: border-box;
display: flex;
justify-content: space-between;
align-items: center;
.task-progress-bar {
position: absolute;
height: 100%;
left: 0;
top: 0;
border-radius: 4px;
background: #43522c;
//z-index: -1;
}
.execute-info {
z-index: 1;
display: flex;
justify-content: flex-start;
align-items: center;
// width: 150px;
.execute-type-icon {
display: flex;
justify-content: center;
align-items: center;
width: 20px;
height: 20px;
border-radius: 50%;
margin-right: 4px;
border: 1px solid $--color-text-1;
>i {
color: $--color-text-1;
font-size: 12px;
}
}
.execute-state-0 {
border: 1px solid #a45d35;
box-shadow: 0 0 5px rgba(164, 93, 53, 0.8),
0 0 10px rgba(164, 93, 53, 0.6),
0 0 20px rgba(164, 93, 53, 0.3);
}
.execute-state-1 {
border: 1px solid #39cf0b;
box-shadow: 0 0 5px rgba(17, 172, 38, 0.8),
0 0 10px rgba(17, 172, 38, 0.6),
0 0 20px rgba(17, 172, 38, 0.3);
}
.execute-state-2 {
border: 1px solid $--color-text-1;
box-shadow: 0 0 2px rgba(250, 250, 250, 0.8),
0 0 6px rgba(250, 250, 250, 0.6),
0 0 14px rgba(250, 250, 250, 0.3);
}
.execute-state-3 {
border: 1px solid #a45d35;
box-shadow: 0 0 5px rgba(164, 93, 53, 0.8),
0 0 10px rgba(164, 93, 53, 0.6),
0 0 20px rgba(164, 93, 53, 0.3);
}
.execute-state-4 {
border: 1px solid #893654;
box-shadow: 0 0 5px rgba(137, 54, 84, 0.8),
0 0 10px rgba(137, 54, 84, 0.6),
0 0 20px rgba(137, 54, 84, 0.3);
}
.execute-state-5 {
border: 1px solid #681c1f;
box-shadow: 0 0 5px rgba(104, 28, 31, 0.8),
0 0 10px rgba(104, 28, 31, 0.6),
0 0 20px rgba(104, 28, 31, 0.3);
}
.task-execute {
color: $--color-text-1;
font-size: 14px;
width: 85px;
2026-01-25 16:02:00 +08:00
margin-left: 5px;
display: inline-block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
cursor: pointer;
}
}
.task-info {
z-index: 1;
width: 50px;
display: flex;
justify-content: flex-start;
align-items: center;
>i {
font-size: 16px;
color: #07e5e5;
margin-right: 6px;
}
>span {
color: $--color-orange;
}
.task-name {
color: $--color-text-1;
font-size: 14px;
margin-right: 2px;
}
.task-finish {
color: $--color-green;
}
}
.task-time {
z-index: 1;
color: $--color-text-1;
2026-01-28 21:08:52 +08:00
min-width: 140px;
2026-01-25 16:02:00 +08:00
}
}
.right-part {
width: 60px;
2026-01-25 16:02:00 +08:00
height: 100%;
display: flex;
justify-content: space-between;
2026-01-25 16:02:00 +08:00
align-items: center;
padding: 0 5px;
2026-01-25 16:02:00 +08:00
>i {
font-size: 14px;
cursor: pointer;
margin: 2px 0;
}
.edit-task {
color: #ffff00;
}
.delete-task {
color: $--color-red;
}
}
}
}
//.task-list__large {
// height: calc(50vh - 110px);
// left: $--icon-mode-larger-card-left;
// top: $--icon-mode-larger-card-top;
// transition: 0.2s ease-in-out;
//}
.task-form {
width: 410px;
height: calc(100vh - 70px);
transition: 0.2s ease-in-out;
::v-deep .dt-card__content {
height: calc(100% - 110px);
}
}
//.task-form__large {
// height: calc(100vh - 110px);
// left: $--icon-mode-larger-card-left;
// top: $--icon-mode-larger-card-top;
// transition: 0.2s ease-in-out;
//}
.requirement-form {
box-sizing: border-box;
padding-right: 10px;
height: 100%;
overflow-y: auto;
.el-form-item {
.el-form-item__content {
.el-select,
.el-input,
.el-input-number {
width: 100%;
}
}
}
.my-validator {
color: $--color-red;
margin-right: 3px;
}
.form-item-command {
display: flex;
justify-content: space-between;
align-items: center;
box-sizing: border-box;
.el-select {
flex: 1;
margin-right: 10px;
}
}
.target {
display: flex;
justify-content: flex-start;
align-items: flex-start;
align-content: flex-start;
flex-wrap: wrap;
padding: 4px;
height: 130px;
overflow-y: auto;
border-radius: 4px;
border: 1px solid $--color-border-3;
background: $--color-black-6-alpha;
::v-deep .el-tag.el-tag--info {
margin: 5px;
color: $--color-text-1;
font-size: 14px;
background: $--color-border-1;
.el-tag__close {
color: $--color-text-1;
background-color: transparent;
border-color: $--color-text-1;
&:hover {
color: $--color-text-1;
border-color: $--color-text-1
}
}
}
}
.more-setting {
display: flex;
justify-content: space-between;
align-items: center;
box-sizing: border-box;
padding-right: 5px;
margin-bottom: 10px;
.setting-left {
color: $--color-text-2;
font-size: 14px;
display: flex;
justify-content: flex-start;
align-items: center;
font-family: AlibabaPuHuiTi-2-55-Regular;
>i {
color: $--color-text-2;
font-size: 14px;
margin-right: 8px;
}
}
.setting-right {
color: $--color-text-2;
font-size: 18px;
cursor: pointer;
&:hover {
color: $--color-text-1;
}
}
}
.item-info {
text-align: left;
line-height: 1;
padding: 10px 0;
color: $--color-text-2;
.el-button {
position: absolute;
right: 10px;
top: 0;
}
// font-weight: bold;
}
.tabs {
margin: 0 0 10px 0;
::v-deep .el-radio-button__inner {
padding: 9px 12px;
}
}
.airline-wrap {
border: 1px dashed $--color-border-3;
box-sizing: border-box;
border-radius: 4px;
padding: 4px 6px;
.airline-create {
height: 30px;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
border: 1px solid $--color-border-3;
cursor: pointer;
}
.airline-list {
height: 200px;
position: relative;
overflow-y: auto;
.airline-item {
display: flex;
justify-content: space-between;
align-items: center;
box-sizing: border-box;
padding: 4px 8px;
>span {
display: inline-block;
flex: 1;
}
.el-select {
width: 110px;
margin: 0 10px;
}
>i {
font-size: 16px;
cursor: pointer;
color: $--color-red;
}
}
}
}
.input-command {
display: flex;
justify-content: space-between;
align-items: center;
>el-input {
flex: 1;
}
.el-button {
margin-left: 12px;
}
i {
margin-left: 12px;
cursor: pointer;
font-size: 16px;
}
}
}
.command-wrap {
display: flex;
justify-content: center;
align-items: center;
margin-top: 10px;
width: 100%;
//position: absolute;
//bottom: 10px;
//left: 0;
}
.airline-point-header {
height: 35px;
width: 100%;
box-sizing: border-box;
display: flex;
justify-content: flex-start;
align-items: center;
padding-left: 4px;
>span {
font-size: 16px;
margin-right: 8px;
}
>.command-button {
width: 79px;
height: 19px;
background: rgba(24, 100, 241, 0.1);
border-radius: 4px;
border: 1px solid rgba(63, 143, 244, 0.99);
font-size: 12px;
color: #d7e4f3;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
margin-right: 6px;
img {
margin-right: 2px;
}
}
}
.point-table {
width: 100%;
height: 200px;
.airline-modify-table {
::v-deep {
.el-table__cell {
padding: 3px 0;
}
//.el-table__header-wrapper thead tr th {
// background-color: rgba(19, 72, 169, 0.4);
//}
th.el-table__cell>.cell {
padding-right: 4px;
padding-left: 4px;
}
.cell {
padding-right: 4px;
padding-left: 4px;
.el-input .el-input__inner {
color: #FFBB51 !important;
}
.el-select .el-input .el-input__inner {
color: #fff !important;
}
}
}
.table-button {
display: flex;
justify-content: center;
align-items: center;
>img {
width: 18px;
height: 18px;
cursor: pointer;
}
>img:nth-child(2) {
margin: 0 9px;
}
}
}
}
}
.task-name-form {
width: 100%;
.el-form-item {
.el-input {
width: 100%;
}
}
.submit-wrap {
width: 100%;
display: flex;
justify-content: center;
align-items: center;
}
}
.task-line-detail {
width: 100%;
height: 50vh;
position: relative;
overflow: hidden;
}
.task-info-wrap {
width: 430px;
height: calc(100vh - 70px);
position: fixed;
top: 60px;
left: 10px;
::v-deep .right-content {
display: flex;
}
::v-deep input {
background-color: #00000052;
}
::v-deep select {
background-color: #00000052;
}
2026-01-25 16:02:00 +08:00
}