diff --git a/src/assets/home-imgs/close.png b/src/assets/home-imgs/close.png new file mode 100644 index 0000000..b6e8bae Binary files /dev/null and b/src/assets/home-imgs/close.png differ diff --git a/src/assets/home-imgs/control-3-mk.png b/src/assets/home-imgs/control-3-mk.png new file mode 100644 index 0000000..a2e4bbd Binary files /dev/null and b/src/assets/home-imgs/control-3-mk.png differ diff --git a/src/assets/home-imgs/control-3-video.png b/src/assets/home-imgs/control-3-video.png new file mode 100644 index 0000000..b2e0630 Binary files /dev/null and b/src/assets/home-imgs/control-3-video.png differ diff --git a/src/assets/home-imgs/control-3-voice.png b/src/assets/home-imgs/control-3-voice.png new file mode 100644 index 0000000..df4b5af Binary files /dev/null and b/src/assets/home-imgs/control-3-voice.png differ diff --git a/src/assets/home-imgs/modal-bg.png b/src/assets/home-imgs/modal-bg.png new file mode 100644 index 0000000..c3b82d9 Binary files /dev/null and b/src/assets/home-imgs/modal-bg.png differ diff --git a/src/assets/home-imgs/upload-img.png b/src/assets/home-imgs/upload-img.png new file mode 100644 index 0000000..1d36d24 Binary files /dev/null and b/src/assets/home-imgs/upload-img.png differ diff --git a/src/style/cssVar.scss b/src/style/cssVar.scss index 53f6e00..98d30d5 100644 --- a/src/style/cssVar.scss +++ b/src/style/cssVar.scss @@ -17,5 +17,8 @@ --bt-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), 0 0px 2px rgba(0, 0, 0, 0.9); --bt-box-shadow-1: 0 1px 2px rgba(0, 0, 0, 0.9), 0 0px 2px rgba(0, 0, 0, 0.9); --box-shadow-2: 0 1px 0 hsl(0 calc(1 * 0%) 0.8% / 0.2), - 0 1.5px 0 hsl(240 calc(1 * 7.7%) 2.5% / 0.05), 0 2px 0 hsl(0 calc(1 * 0%) 0.8% / 0.05); + 0 1.5px 0 hsl(240 calc(1 * 7.7%) 2.5% / 0.05), 0 2px 0 hsl(0 calc(1 * 0%) 0.8% / 0.05); + --n-border: 1px solid #7fc0ff; } + + diff --git a/src/style/naiveUi.scss b/src/style/naiveUi.scss index e69de29..9186c30 100644 --- a/src/style/naiveUi.scss +++ b/src/style/naiveUi.scss @@ -0,0 +1,88 @@ +.n-pagination .n-pagination-item, +.n-base-selection-input__content { + color: #fff; +} + +.n-pagination .n-pagination-item.n-pagination-item--button { + color: #fff; +} + +.n-pagination .n-pagination-item:not(.n-pagination-item--disabled):hover.n-pagination-item--button { + color: #fff; +} + +.n-pagination .n-pagination-item.n-pagination-item--disabled.n-pagination-item--active, +.n-pagination .n-pagination-item.n-pagination-item--disabled.n-pagination-item--button { + background-color: #1d3861; +} +.n-base-selection .n-base-selection-label { + background-color: #1d3861; + color: #fff; +} + +.n-base-select-menu { + background-color: #1d3861 !important; +} + +.n-base-select-option__content { + color: #ffffff !important; +} + +.n-base-selection--active { + background-color: #1d3861 !important; + color: #fff !important; + border-color: #7dd3fc !important; +} + +.n-input { + background-color: #1d3861; + border: 1px solid #1090f0; +} + +.n-input:not(.n-input--disabled).n-input--focus { + background-color: #1d3861; + color: #fff; +} + +.n-input .n-input__input-el, +.n-input .n-input__textarea-el { + color: #fff; +} + +.n-input:not(.n-input--disabled):hover .n-input__state-border { + // border: 1px solid #7dd3fc; + border: none; +} + +.n-input .n-input__border, +.n-input .n-input__state-border { + transition: box-shadow 0.3s var(--n-bezier) !important; + border: none; +} + +.n-input:not(.n-input--disabled).n-input--focus .n-input__state-border { + border: 1px solid #7dd3fc; +} + +.n-data-table .n-data-table-th { + background-color: #14295c; + color: #fff; + border: none; +} + +.n-data-table.n-data-table--bordered .n-data-table-wrapper { + border: none; +} + +.n-data-table .n-data-table-tr:not(.n-data-table-tr--summary):hover > .n-data-table-td { + background-color: #2f5789; +} + +.n-data-table .n-data-table-td { + background-color: #072148; + color: #fff; +} + +.n-form-item .n-form-item-label { + color: #fff; +} \ No newline at end of file diff --git a/src/views/home/components/center-two.vue b/src/views/home/components/center-two.vue index df14a4d..dc80438 100644 --- a/src/views/home/components/center-two.vue +++ b/src/views/home/components/center-two.vue @@ -41,30 +41,77 @@ - - - 现场定点巡检拍照 + + + + + + 现场定点巡检拍照 + - - - - - - - + - - 查询 - 重置 - - - + + + + + + + + + 查询 + 重置 + + + +
+ + +
+ +
+ 途经点 + 2025-06-01 10:00:00 +
+
+
+ +
+ +
+ + diff --git a/src/views/home/components/right-one.vue b/src/views/home/components/right-one.vue index cfc5f93..7c55974 100644 --- a/src/views/home/components/right-one.vue +++ b/src/views/home/components/right-one.vue @@ -57,54 +57,232 @@ - + + + + + + 人员动态 + - - 现场定点巡检拍照 - - - - - - - - - - + - - 查询 - 重置 - - + + + + + + + + + + - -
- -
- + 查询 + 重置 + + 新增项目部人员 + +
+ + + +
+ +
+
+
+ + + + + + + 新增项目部人员 + + + + + + + + + + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + 保存 + +
+
+
diff --git a/src/views/home/components/right-two.vue b/src/views/home/components/right-two.vue deleted file mode 100644 index a55ed92..0000000 --- a/src/views/home/components/right-two.vue +++ /dev/null @@ -1,155 +0,0 @@ - - - - - diff --git a/src/views/home/components/right-two/index.vue b/src/views/home/components/right-two/index.vue new file mode 100644 index 0000000..d702d34 --- /dev/null +++ b/src/views/home/components/right-two/index.vue @@ -0,0 +1,243 @@ + + + + + diff --git a/src/views/home/components/right-two/taps-one.vue b/src/views/home/components/right-two/taps-one.vue new file mode 100644 index 0000000..fe0ac17 --- /dev/null +++ b/src/views/home/components/right-two/taps-one.vue @@ -0,0 +1,65 @@ + + + diff --git a/src/views/home/components/right-two/taps-three.vue b/src/views/home/components/right-two/taps-three.vue new file mode 100644 index 0000000..c8182a0 --- /dev/null +++ b/src/views/home/components/right-two/taps-three.vue @@ -0,0 +1,86 @@ + + + diff --git a/src/views/home/components/right-two/taps-two.vue b/src/views/home/components/right-two/taps-two.vue new file mode 100644 index 0000000..b063ff9 --- /dev/null +++ b/src/views/home/components/right-two/taps-two.vue @@ -0,0 +1,98 @@ + + + + + diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 6935a38..85a2ad8 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -58,14 +58,12 @@ - - 这里是机器人的操作面板 + +
+
+ +
+
@@ -77,11 +75,11 @@ import LeftTwo from './components/left-two.vue' import CenterOne from './components/center-one.vue' import CenterTwo from './components/center-two.vue' import RightOne from './components/right-one.vue' -import RightTwo from './components/right-two.vue' +import RightTwo from './components/right-two/index.vue' import ControlDeck from './components/control-deck.vue' const appRef = ref(null) // 获取 DOM 引用 -const fullScreenVisible = ref(true) // 全屏状态 +const fullScreenVisible = ref(false) // 全屏状态 // 使用 useScale Hook(直接调用,无需在 setup() 里) const { baseWidth, baseHeight, scale } = useScale(appRef) @@ -146,20 +144,14 @@ const onHandleFullScreenToggle = (visible) => { } .full-screen-right1 { grid-column: 9 / 13; - grid-row: 1 / 7; + grid-row: 1 / 6; } .full-screen-right2 { grid-column: 9 / 13; - grid-row: 7 / 13; + grid-row: 6 / 13; } } -.n-drawer.n-drawer--right-placement { - top: 50% !important; - bottom: 10px !important; - right: 10px !important; -} - .pagination-container { display: flex; justify-content: flex-end; @@ -186,4 +178,22 @@ const onHandleFullScreenToggle = (visible) => { line-height: 24px; cursor: pointer; } + +.n-drawer { + background-color: rgba(0, 0, 0, 0.8); +} + +.operation-panel-container { + height: 100%; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + .operation-panel-content { + width: 90%; + background-color: rgba(0, 112, 190, 0.3); + color: #fff; + border: 1px solid #0070be; + } +}