-
- 是否更新已经存在的驾驶员数据
-
-
仅允许导入xls、xlsx格式文件。
-
下载模板
+
+
+
拖拽文件到这里,或
+
+
+ 点此添加
-
+
+
@@ -177,6 +237,17 @@
@@ -462,8 +721,8 @@ onMounted(() => {
}
::v-deep(.el-select) {
- border: none !important;
- width: 140px !important;
+ border:none !important;
+ width:140px !important;
// 修改el-select的输入框的border
--el-border-color-hover: #343744!important;
--el-border-color: #343744!important;
@@ -481,6 +740,7 @@ onMounted(() => {
width: 140px;
font-size: 15px;
border: none !important;
+ border:none !important;
}
::v-deep(.el-input__wrapper) {
@@ -495,14 +755,48 @@ onMounted(() => {
::v-deep(.el-select__placeholder) {
color: #96A0B5 !important;
}
-
.custom-table {
- background-color: #292c38;
+ background-color: #292c38 !important;
color: #ffffff;
margin-bottom: 20px;
border-radius: 4px;
overflow: hidden;
+ // 防止表格闪白
+ :deep(.el-loading-mask) {
+ background-color: rgba(41, 44, 56, 0.7) !important;
+ }
+
+ :deep(.el-table__empty-block) {
+ background-color: #292c38 !important;
+ }
+
+ :deep(.el-table__empty-text) {
+ color: #96A0B5 !important;
+ }
+
+ // 确保整个表格区域背景色
+ :deep(.el-table) {
+ background-color: #292c38 !important;
+ }
+
+ :deep(.el-table__body) {
+ background-color: #292c38 !important;
+ }
+
+ .avatar-box{
+ width: 50px;
+ height: 50px;
+ border-radius: 6px;
+
+ img{
+ width: 100%;
+ height: 100%;
+ object-fit: cover;
+ border-radius: 6px;
+
+ }
+ }
:deep(.el-table__inner-wrapper::before) {
display: none; /* 隐藏表格顶部的边框线 */
}
@@ -548,7 +842,9 @@ onMounted(() => {
}
:deep(.el-table__body-wrapper) {
+
td {
+ height: 68px!important;
background-color: #292c38;
color: #ffffff;
border-bottom: 1px solid #4C4F5F;
@@ -556,7 +852,8 @@ onMounted(() => {
}
:deep(.el-table__body tr:hover > td) {
- background-color: #1e2233 !important;
+ background: #2B3B5A!important;
+
}
:deep(.el-button--link) {
@@ -593,4 +890,347 @@ onMounted(() => {
color: #347AE2;
}
}
+
+.status-normal {
+ color: #67c23a;
+}
+
+.status-disabled {
+ color: #e6a23c;
+}
+
+:deep(.el-input__wrapper) {
+ background-color: #292c38;
+ box-shadow: 0 0 0 1px #565C70 inset !important;
+
+ .el-input__inner {
+ color: #ffffff;
+ }
+}
+
+:deep(.el-input__count) {
+ background: transparent !important;
+ color: #C0C4CC !important;
+
+ .el-input__count-inner {
+ background: transparent !important;
+ color: #C0C4CC !important;
+ }
+}
+
+:deep(.el-radio__label) {
+ color: #C8C9CC;
+}
+
+:deep(.el-radio.is-checked .el-radio__label) {
+ color: #409EFF;
+}
+
+:deep(.el-button) {
+ background-color: #292c38;
+ border-color: #4c4f5f;
+ color: #ffffff;
+
+ &.el-button--primary {
+ background-color: #409eff;
+ border-color: #409eff;
+ }
+}
+
+:deep(.el-select) {
+ .el-input__wrapper {
+ background-color: #292c38;
+ box-shadow: 0 0 0 1px #565C70 inset !important;
+ }
+}
+
+// 弹窗样式优化
+:deep(.el-dialog) {
+ .el-form-item__label {
+ color: #96A0B5 !important;
+ }
+ .el-radio__label {
+ color: #C8C9CC !important;
+ }
+
+ .el-radio.is-checked .el-radio__label {
+ color: #409EFF !important;
+ }
+}
+
+// 保留搜索区域的样式
+.search-area {
+ :deep(.el-input__wrapper) {
+ background: #343744 !important;
+ color: #96A0B5 !important;
+ border-radius: 8px !important;
+ height: 36px !important;
+ border: none !important;
+ box-shadow: none !important;
+ }
+}
+
+
+/* 头像上传样式 */
+.avatar-uploader-box {
+ display: flex;
+ justify-content: flex-start;
+ margin-top: 8px;
+}
+
+.avatar-uploader {
+ text-align: center;
+}
+
+.avatar-preview {
+ position: relative;
+ width: 120px;
+ height: 120px;
+ border-radius: 0;
+ overflow: visible; /* 修改为visible,使计数器可以溢出边界 */
+
+ .avatar {
+ width: 100%;
+ height: 100%;
+ object-fit: cover;
+ border-radius: 0;
+ border: 1px solid #343744;
+ }
+
+ .avatar-count {
+ position: absolute;
+ top: -5px;
+ right: -30px;
+ font-size: 14px;
+ color: rgba(255, 255, 255, 0.85);
+ z-index: 1;
+ }
+
+ .avatar-replace {
+ position: absolute;
+ top: -8px;
+ right: -8px;
+ width: 20px;
+ height: 20px;
+ background-color: rgba(0, 0, 0, 0.5);
+ border-radius: 50%;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ cursor: pointer;
+ opacity: 1;
+ z-index: 2;
+
+ .el-icon {
+ font-size: 14px;
+ color: #ffffff;
+ }
+ }
+}
+
+.avatar-upload-placeholder {
+ width: 120px;
+ height: 120px;
+ border: 1px dashed #4C4F5F;
+ border-radius: 0;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ cursor: pointer;
+ transition: all 0.3s;
+ position: relative;
+ background-color: transparent;
+ overflow: visible; /* 修改为visible,使计数器可以溢出边界 */
+
+ &:hover {
+ border-color: #409EFF;
+ }
+
+ .avatar-uploader-icon {
+ font-size: 28px;
+ color: #8c939d;
+ }
+
+ .avatar-count {
+ position: absolute;
+ top: -5px;
+ right: -30px;
+ font-size: 14px;
+ color: rgba(255, 255, 255, 0.85);
+ z-index: 1;
+ }
+}
+
+// 弹窗样式优化
+:deep(.el-dialog) {
+ .el-form-item__label {
+ color: #96A0B5 !important;
+ }
+
+ .el-input__wrapper {
+ background-color: #292c38 !important;
+ box-shadow: 0 0 0 1px #565C70 inset !important;
+
+ .el-input__inner {
+ color: #ffffff !important;
+ }
+ }
+
+ .el-input__count {
+ background: transparent !important;
+ color: #C0C4CC !important;
+
+ .el-input__count-inner {
+ background: transparent !important;
+ color: #C0C4CC !important;
+ }
+ }
+
+ .el-radio__label {
+ color: #C8C9CC !important;
+ }
+
+ .el-radio.is-checked .el-radio__label {
+ color: #409EFF !important;
+ }
+
+ .el-select .el-input__wrapper {
+ background-color: #292c38 !important;
+ box-shadow: 0 0 0 1px #565C70 inset !important;
+ }
+}
+
+// 保留搜索区域的样式
+.search-area {
+ :deep(.el-input__wrapper) {
+ background: #343744 !important;
+ color: #96A0B5 !important;
+ border-radius: 8px !important;
+ height: 36px !important;
+ border: none !important;
+ box-shadow: none !important;
+ }
+}
+
+// 全局表格样式覆盖,防止闪白
+:deep(.el-table) {
+ --el-table-bg-color: #292c38 !important;
+ --el-table-tr-bg-color: #292c38 !important;
+ --el-table-border-color: #4C4F5F !important;
+ --el-table-header-bg-color: #343744 !important;
+ --el-table-row-hover-bg-color: #2B3B5A !important;
+
+ &::before {
+ display: none;
+ }
+}
+
+// 导入弹窗样式
+.import-dialog {
+ :deep(.el-dialog__header) {
+ margin-right: 0;
+ padding: 20px;
+ border-bottom: 1px solid #4C4F5F;
+ }
+
+ :deep(.el-dialog__body) {
+ padding: 20px;
+ }
+
+ :deep(.el-dialog__footer) {
+ padding: 20px;
+ border-top: 1px solid #4C4F5F;
+ }
+
+ .import-title {
+ font-size: 14px;
+ color: #96A0B5;
+ margin-bottom: 20px;
+ }
+
+ .import-upload {
+ :deep(.el-upload-dragger) {
+ width: 100%;
+ height: 200px;
+ background-color: #292C38;
+ border: 1px dashed #4C4F5F;
+ border-radius: 8px;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+
+ &:hover {
+ border-color: #347AE2;
+ }
+ }
+
+ .upload-content {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ color: #96A0B5;
+
+ .upload-icon {
+ font-size: 40px;
+ color: #96A0B5;
+ margin-bottom: 10px;
+ }
+
+ .upload-text {
+ font-size: 14px;
+ margin-bottom: 10px;
+ }
+
+ .upload-link {
+ display: flex;
+ align-items: center;
+ color: #347AE2;
+ cursor: pointer;
+
+ .upload-icon-small {
+ font-size: 16px;
+ margin-right: 4px;
+ }
+
+ .click-upload {
+ font-size: 14px;
+ }
+ }
+ }
+ }
+
+ .import-footer {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ margin-top: 20px;
+
+ .footer-left {
+ :deep(.el-checkbox__label) {
+ color: #96A0B5;
+ }
+ }
+
+ .footer-right {
+ display: flex;
+ align-items: center;
+ gap: 10px;
+
+ .file-format {
+ color: #96A0B5;
+ font-size: 12px;
+ }
+
+ .download-link {
+ font-size: 12px;
+ }
+ }
+ }
+
+ .dialog-footer {
+ display: flex;
+ justify-content: flex-end;
+ gap: 10px;
+ }
+}
diff --git a/src/views/system/notice/index.vue b/src/views/system/notice/index.vue
index cfc6da3..c88b389 100644
--- a/src/views/system/notice/index.vue
+++ b/src/views/system/notice/index.vue
@@ -111,7 +111,7 @@
-
+
diff --git a/src/views/system/operlog/index.vue b/src/views/system/operlog/index.vue
index 066363a..8c57b72 100644
--- a/src/views/system/operlog/index.vue
+++ b/src/views/system/operlog/index.vue
@@ -1,138 +1,82 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
-
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
-
-
- 删除
-
-
- 清空
-
-
- 导出
-
-
-
+
+
+
+
+
+ {{ (queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1 }}
+
+
+
+
+ 详细
+
+
+
+
+
+
+ {{ typeFormat(scope.row) }}
+
+
+
+
+
+
+
+
+
+ {{ statusFormat(scope.row) }}
+
+
+
+
+
+ {{ parseTime(scope.row.operTime) }}
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ parseTime(scope.row.operTime) }}
-
-
-
-
- 详细
-
-
-
-
-
+
+
+
@@ -159,7 +103,10 @@
- 正常
+
+
+ 成功
+
失败
@@ -173,14 +120,14 @@
-
+
+
diff --git a/src/views/system/post/index.vue b/src/views/system/post/index.vue
index 6fd1b64..f068fa4 100644
--- a/src/views/system/post/index.vue
+++ b/src/views/system/post/index.vue
@@ -111,7 +111,7 @@
-
+
diff --git a/src/views/system/role/index.vue b/src/views/system/role/index.vue
index 2e0cec8..a926b2d 100644
--- a/src/views/system/role/index.vue
+++ b/src/views/system/role/index.vue
@@ -1,143 +1,71 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
-
-
-
- 新增
-
-
- 修改
-
-
- 删除
-
-
- 导出
-
-
-
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+ 新增
+ 删除
+
+
+
-
-
-
-
-
-
-
-
+
+
+
+
-
+ {{ scope.$index + 1 }}
-
-
+
+
- {{ parseTime(scope.row.createTime) }}
+ 编辑
+ 删除
-
-
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
+ {{ parseTime(scope.row.createTime) }}
-
-
+
+
+
-
+
+
+
@@ -145,33 +73,15 @@
-
-
-
-
-
-
- 权限字符
-
-
-
+
+
-
-
-
-
-
- {{ dict.label }}
-
-
-
- 展开/折叠
- 全选/全不选
- 父子联动
+
+
+ 展开/折叠
+ 全选/全不选
+ 父子联动
+
-
-
-
@@ -233,15 +140,15 @@
-
+
+
diff --git a/src/views/system/user/authRole.vue b/src/views/system/user/authRole.vue
index 0b5c14b..441d8dd 100644
--- a/src/views/system/user/authRole.vue
+++ b/src/views/system/user/authRole.vue
@@ -1,7 +1,7 @@
-
+
diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue
index f356fb0..aa1a3b0 100644
--- a/src/views/system/user/index.vue
+++ b/src/views/system/user/index.vue
@@ -5,19 +5,19 @@
-
+
@@ -30,7 +30,7 @@
新增
导入
导出
- 删除
+ 删除
@@ -43,6 +43,7 @@
style="width: 100%"
class="custom-table"
:header-cell-style="{ backgroundColor: '#343744', color: '#fff' }"
+ :bg-color="'#292C38'"
>
@@ -93,12 +94,18 @@
-
+
-
+
@@ -109,9 +116,12 @@
- 超级管理员
- 普通用户
- 驾驶员
+
+ {{ role.roleName }}
+
@@ -141,7 +151,8 @@
-
+
+ 选择需要导入的项目文件
-
- 将文件拖到此处,或点击上传
-
-
-
- 是否更新已经存在的用户数据
-
-
仅允许导入xls、xlsx格式文件。
-
下载模板
+
+
+
拖拽文件到这里,或
+
+
+ 点此添加
-
+
+
@@ -178,7 +196,18 @@