吉安感知网项目-前端
chenyao
2026-01-17 40c2702c3da24d9d9fda6bd63894c3206779f812
applications/drone-command/src/styles/common/cockpit.scss
@@ -1,5 +1,44 @@
/* 下拉菜单整体样式 */
.command-custom-dropdown {
    background: #1A1A2A !important;
    border-radius: 8px;
    border: none !important;
    .el-popper__arrow::before {
        background: #1A1A2A !important;
        border: 1px solid #1A1A2A !important;
    }
    /* 菜单项样式 */
    .el-dropdown-menu {
        background: transparent !important;
        .el-dropdown-menu__item {
            color: #fff !important;
            /* 文字颜色 */
            a {
                color: #fff !important;
                /* 文字颜色 */
            }
            &:hover {
                background: none !important;
            }
            &.is-disabled {
                color: #8f9bb3 !important;
            }
        }
        .el-dropdown-menu__item--divided {
            display: none;
        }
    }
}
// 数据驾驶舱专属
.ztzf-data-cockpit-search-input {
.command-data-cockpit-search-input {
    .el-input__wrapper {
        padding: 0 8px !important;
        background: #161B2C;
@@ -22,7 +61,7 @@
    }
}
.ztzf-data-cockpit-date-picker {
.command-data-cockpit-date-picker {
    box-shadow: none !important;
    background: #161B2C;
    border: none;
@@ -51,7 +90,7 @@
    }
}
.ztzf-data-cockpit-date-picker-popper {
.command-data-cockpit-date-picker-popper {
    background: #161B2C !important;
    border: none !important;
    border-radius: 0px 0px 8px 8px;
@@ -258,9 +297,9 @@
    }
}
.ztzf-data-cockpit-select {
.command-data-cockpit-select {
    .el-select__input {
        color: #8ac3fd !important;
        color: #ffffff !important;
    }
    .el-select__wrapper {
@@ -298,7 +337,7 @@
    }
}
.ztzf-data-cockpit-select-popper.el-select__popper {
.command-data-cockpit-select-popper.el-select__popper {
    border: none;
    background: #2E2E48 !important;
@@ -344,8 +383,41 @@
    }
}
.command-data-cockpit-cascader {
    .el-input__wrapper {
        --el-input-text-color: #161B2C !important;
    }
}
.command-data-cockpit-cascader-popper.el-cascader__dropdown {
    border: none;
    background: #2E2E48 !important;
    .el-cascader-panel {
        .el-cascader-menu {
            color: #fff;
            .el-cascader-node:hover,
            .el-cascader-node:focus {
                background: transparent !important;
            }
            .el-cascader-node.is-selectable.in-active-path {
                color: #fff;
            }
        }
    }
    .el-popper__arrow::before {
        background: #2E2E48 !important;
        border: 1px solid #2E2E48 !important;
    }
}
// 树形选择
.ztzf-data-cockpit-tree-select-popper {
.command-data-cockpit-tree-select-popper {
    background: #2E2E48 !important;
    border: none !important;
@@ -423,7 +495,7 @@
    }
}
.ztzf-data-cockpit-dialog {
.command-data-cockpit-dialog {
    padding: 20px;
    display: flex;
    flex-direction: column;
@@ -464,7 +536,7 @@
    }
}
.el-form.ztzf-dialog-history-search {
.el-form.command-dialog-history-search {
    .el-form-item {
        margin-left: 20px;
    }
@@ -478,7 +550,7 @@
        text-transform: none;
    }
    .ztzf-data-cockpit-search-input {
    .command-data-cockpit-search-input {
        .el-input__wrapper {
            background: #2E2E48;
        }
@@ -490,11 +562,11 @@
        }
    }
    .ztzf-data-cockpit-date-picker {
    .command-data-cockpit-date-picker {
        background: #2E2E48;
    }
    .ztzf-data-cockpit-date-picker-popper {
    .command-data-cockpit-date-picker-popper {
        background: #2E2E48 !important;
        .el-picker-panel {
@@ -557,7 +629,7 @@
    }
}
.ztzf-page-history-search {
.command-page-history-search {
    .el-form-item__label {
        font-family: Source Han Sans CN, Source Han Sans CN;
        font-weight: 500;
@@ -567,13 +639,13 @@
        text-transform: none;
    }
    .ztzf-data-cockpit-select {
    .command-data-cockpit-select {
        .el-select__wrapper {
            background: #1C1C31;
        }
    }
    .ztzf-data-cockpit-search-input {
    .command-data-cockpit-search-input {
        .el-input__wrapper {
            background: #1C1C31;
        }
@@ -585,11 +657,11 @@
        }
    }
    .ztzf-data-cockpit-date-picker {
    .command-data-cockpit-date-picker {
        background: #1C1C31;
    }
    .ztzf-data-cockpit-date-picker-popper {
    .command-data-cockpit-date-picker-popper {
        background: #1C1C31 !important;
        .el-picker-panel {
@@ -643,8 +715,8 @@
    }
}
.ztzf-dialog-history-search,
.ztzf-page-history-search {
.command-dialog-history-search,
.command-page-history-search {
    display: flex;
    .el-form-item {
@@ -699,20 +771,22 @@
    }
}
.ztzf-table-toolbar {
.command-table-toolbar {
    margin-top: 30px;
    .el-button {
        min-width: 88px;
        border: none;
    }
    .el-button.is-disabled, .el-button.is-disabled:hover {
    .el-button.is-disabled,
    .el-button.is-disabled:hover {
        background: #1A2652;
        border: none;
    }
}
.ztzf-table-container {
.command-table-container {
    margin-top: 20px;
    height: 0;
@@ -720,19 +794,19 @@
    display: flex;
    flex-direction: column;
    .ztzf-table-content {
    .command-table-content {
        height: 0;
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    .ztzf-table-content-bg {
    .command-table-content-bg {
        background: #1A1A2A;
    }
}
.ztzf-data-cockpit-table {
.command-data-cockpit-table {
    height: 0;
    flex: 1;
    background: transparent !important;
@@ -750,8 +824,7 @@
    th.el-table__cell {
        height: 40px;
        border-bottom: 1px solid #323241;
        background: transparent !important;
        border-bottom: 1px solid #323241 !important;
        .cell {
            padding: 0;
@@ -769,8 +842,7 @@
    td.el-table__cell {
        padding: 9px 0;
        height: 56px;
        border-bottom: 1px solid #323241;
        background: transparent !important;
        border-bottom: 1px solid #323241 !important;
        .cell {
            padding: 0;
@@ -802,9 +874,18 @@
            }
        }
    }
    th.el-table__cell:not(.fixed-column),
    td.el-table__cell:not(.fixed-column) {
        background: transparent !important;
    }
    .fixed-column {
        background-color: #1A1A2A !important;
    }
}
.ztzf-table-pagination {
.command-table-pagination {
    padding-top: 30px;
    padding-bottom: 10px;
    display: flex;
@@ -873,7 +954,7 @@
    }
}
.ztzf-page-view-dialog {
.command-page-view-dialog {
    padding: 30px;
    display: flex;
    flex-direction: column;
@@ -907,10 +988,10 @@
            padding: 0 10px;
            .detail-title {
                margin-bottom: 30px;
                margin-bottom: 20px;
                font-family: Source Han Sans CN, Source Han Sans CN;
                font-weight: 500;
                font-size: 18px;
                font-size: 16px;
                color: #FFFFFF;
                text-align: left;
                font-style: normal;
@@ -950,10 +1031,10 @@
            }
            .ztzf-table-container {
            .command-table-container {
                height: 360px;
                .ztzf-table-pagination {
                .command-table-pagination {
                    justify-content: center;
                }
            }
@@ -981,9 +1062,22 @@
                    display: flex;
                    align-items: center;
                    .el-input {
                    .el-input,
                    .el-input-number {
                        width: 0;
                        flex: 1;
                    }
                    .el-cascader {
                        width: 0;
                        flex: 1;
                        display: flex;
                        align-items: center;
                        border: none;
                        .el-input__wrapper {
                            box-shadow: none !important;
                        }
                    }
                    .el-textarea {
@@ -1003,11 +1097,11 @@
                        box-shadow: none;
                    }
                    .ztzf-data-cockpit-date-picker {
                    .command-data-cockpit-date-picker {
                        background: #2E2E48;
                    }
                    .ztzf-data-cockpit-date-picker-popper {
                    .command-data-cockpit-date-picker-popper {
                        background: #2E2E48 !important;
                        .el-picker-panel {
@@ -1045,6 +1139,7 @@
                .el-input {
                    .el-input__wrapper {
                        background: #2E2E48 !important;
                        box-shadow: none;
                        .el-input__inner {
                            color: #ffffff;
@@ -1071,7 +1166,7 @@
    }
}
.ztzf-page-view-message-box {
.command-page-view-message-box {
    background: #1A1A2A;
    border-radius: 6px;
    border: 1px solid #2E2E46;
@@ -1109,18 +1204,18 @@
    }
}
.ztzf-message-box-confirm {
.command-message-box-confirm {
    background: #284FE3 !important;
    border-color: #284FE3 !important;
}
.ztzf-message-box-cancel {
.command-message-box-cancel {
    background: #2B2B4C !important;
    border-color: #2B2B4C !important;
    color: #FFFFFF !important;
}
.ztzf-page-map-view-dialog {
.command-page-map-view-dialog {
    padding: 30px;
    display: flex;
    flex-direction: column;
@@ -1190,10 +1285,10 @@
                    flex-direction: column;
                    .detail-title {
                        margin-bottom: 30px;
                        margin-bottom: 20px;
                        font-family: Source Han Sans CN, Source Han Sans CN;
                        font-weight: 500;
                        font-size: 18px;
                        font-size: 16px;
                        color: #FFFFFF;
                        text-align: left;
                        font-style: normal;
@@ -1207,7 +1302,7 @@
                            align-items: center;
                            .label {
                                width: 112px;
                                width: 96px;
                                font-family: Source Han Sans CN, Source Han Sans CN;
                                font-weight: 500;
                                font-size: 14px;
@@ -1234,10 +1329,11 @@
                    }
                    .ztzf-table-container {
                        height: 360px;
                    .command-table-container {
                        margin-top: 0;
                        margin-bottom: 20px;
                        .ztzf-table-pagination {
                        .command-table-pagination {
                            justify-content: center;
                        }
                    }
@@ -1298,11 +1394,11 @@
                                color: #fff;
                            }
                            .ztzf-data-cockpit-date-picker {
                            .command-data-cockpit-date-picker {
                                background: #2E2E48;
                            }
                            .ztzf-data-cockpit-date-picker-popper {
                            .command-data-cockpit-date-picker-popper {
                                background: #2E2E48 !important;
                                .el-picker-panel {
@@ -1422,7 +1518,7 @@
                        margin-left: 16px;
                        width: 96px;
                        height: 36px;
                        &:first-child {
                            margin-left: 0;
                        }