@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 { box-sizing: border-box; width: calc(100% - 5px); position: relative; margin: 8px 0; border: 1px solid $--color-border-1; padding: 8px 15px; box-sizing: border-box; border-radius: 6px; background-color: $--color-black-3-alpha; cursor: pointer; &:hover { background-color: rgba(23, 69, 46, .4); } >p { line-height: 24px; color: $--color-text-2; padding-left: 3px; } .task-info { z-index: 1; position: absolute; bottom: 0; right: 0; background-color: $--color-black-2; padding: 4px 15px; border-bottom-right-radius: 6px; border-top-left-radius: 6px; >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-form { width: 410px; height: calc(100vh - 70px); transition: 0.2s ease-in-out; ::v-deep .dt-card__content { height: calc(100% - 110px); } } .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; } } .top-part { display: flex; justify-content: space-between; line-height: 24px; &__left { flex: 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: calc(100% - 50px); margin-left: 5px; display: inline-block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; } } } &__right { width: 60px; height: 100%; display: flex; justify-content: space-between; align-items: center; padding: 0 5px; >i { font-size: 14px; cursor: pointer; margin: 2px 0; } .edit-task { color: #ffff00; } .delete-task { color: $--color-red; } } }