diff --git a/src/assets/common/bg_vehicl_dialog.png b/src/assets/common/bg_vehicl_dialog.png new file mode 100644 index 0000000..302c8f6 Binary files /dev/null and b/src/assets/common/bg_vehicl_dialog.png differ diff --git a/src/assets/common/vehicl_body.png b/src/assets/common/vehicl_body.png new file mode 100644 index 0000000..0c9a0e0 Binary files /dev/null and b/src/assets/common/vehicl_body.png differ diff --git a/src/assets/common/vehicl_header.png b/src/assets/common/vehicl_header.png new file mode 100644 index 0000000..cf693c5 Binary files /dev/null and b/src/assets/common/vehicl_header.png differ diff --git a/src/assets/footer/menu4.png b/src/assets/footer/menu4.png new file mode 100644 index 0000000..44aeab9 Binary files /dev/null and b/src/assets/footer/menu4.png differ diff --git a/src/assets/header/title7.png b/src/assets/header/title7.png new file mode 100644 index 0000000..a208929 Binary files /dev/null and b/src/assets/header/title7.png differ diff --git a/src/components/Footer.vue b/src/components/Footer.vue index 1fcb5d8..28e805f 100644 --- a/src/components/Footer.vue +++ b/src/components/Footer.vue @@ -56,7 +56,7 @@ const isActive = (path: string) => { transition: color 0.3s; // 定义一个循环,从 1 到 4 - @for $i from 0 through 3 { + @for $i from 0 through 4 { // 生成动态类名,如 .menu-icon-1、.menu-icon-2 等 .nav-icon-#{$i} { diff --git a/src/router/dashboard.ts b/src/router/dashboard.ts index 44138c7..d38c1cf 100644 --- a/src/router/dashboard.ts +++ b/src/router/dashboard.ts @@ -38,6 +38,13 @@ export const dashboardRoutes = { component: () => import("@/views/dashboard/DeviceStatus.vue"), meta: { title: "设备状态" }, }, + { + path: "vehicle", + name: "VehiclManagement", + fullPath: "/dashboard/vehicle", + component: () => import("@/views/dashboard/VehiclManagement.vue"), + meta: { title: "车辆管理" }, + } // { path: "pole", name: "PoleMonitor", component: PoleMonitor }, // { path: "device", name: "DeviceStatus", component: DeviceStatus }, ], diff --git a/src/styles/common.scss b/src/styles/common.scss index 55a11e1..b029899 100644 --- a/src/styles/common.scss +++ b/src/styles/common.scss @@ -9,7 +9,7 @@ margin-left: 8px; } // 标题图 -@for $i from 0 through 6 { +@for $i from 0 through 7 { // 生成动态类名 .bg_title_#{$i} { // 动态设置背景图片,引用对应的图标 diff --git a/src/views/dashboard/VehiclManagement.scss b/src/views/dashboard/VehiclManagement.scss new file mode 100644 index 0000000..c6fd71b --- /dev/null +++ b/src/views/dashboard/VehiclManagement.scss @@ -0,0 +1,21 @@ + +.vehicl-management-wrap{ + height: 813px; + background-image: url("@/assets/common/device_status_bg_line.png"); + background-size: 100% 100%; + background-position: bottom; + background-repeat: no-repeat; + } + .vehicl-management-content-box{ + + .el-scrollbar__view { + background: transparent !important; + height: 600px; + } + .el-table__inner-wrapper{ + background-color: transparent !important; + } + .el-table__body-wrapper, .el-scrollbar__wrap, .el-scrollbar{ + background: transparent !important; + } + } \ No newline at end of file diff --git a/src/views/dashboard/VehiclManagement.vue b/src/views/dashboard/VehiclManagement.vue new file mode 100644 index 0000000..92dbd2b --- /dev/null +++ b/src/views/dashboard/VehiclManagement.vue @@ -0,0 +1,145 @@ + + + + + + diff --git a/src/views/dashboard/components/VehiclModal.vue b/src/views/dashboard/components/VehiclModal.vue new file mode 100644 index 0000000..35b7501 --- /dev/null +++ b/src/views/dashboard/components/VehiclModal.vue @@ -0,0 +1,232 @@ + + + + + \ No newline at end of file