From 295eb3cc87aaa5176d64a4ef985cdad0bfefae9a Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Mon, 31 Mar 2025 08:35:00 +0800
Subject: [PATCH] 增加单个机巢页面
---
src/assets/images/signMachineNest/machineLeft/image 100.png | 0
src/page/login/index.vue | 4 +
src/assets/images/signMachineNest/machineRight/Frame(2).png | 0
src/views/SignMachineNest/components/MachineRight/InspectionRaskList.vue | 29 +++++++++
src/assets/images/signMachineNest/machineRight/wrj.png | 0
src/components/UserOperate.vue | 0
src/styles/login.scss | 12 +++-
src/assets/images/login/left-logo.png | 0
src/assets/images/signMachineNest/machineRight/Frame(4).png | 0
src/assets/images/login/right-login-info.png | 0
src/assets/images/signMachineNest/machineRight/Frame(1).png | 0
.env.development | 3 +
src/views/SignMachineNest/components/MachineRight/MachineStatus.vue | 63 +++++++++++++++++++++
src/assets/images/signMachineNest/machineRight/Frame(6).png | 0
src/assets/images/signMachineNest/machineRight/Frame(3).png | 0
src/views/SignMachineNest/components/MachineRight/MachineRight.vue | 28 ++++++++-
src/views/Home/components/HomeRight/HomeRight.vue | 2
src/assets/images/signMachineNest/machineRight/Frame(5).png | 0
src/views/SignMachineNest/components/MachineRight/MachineMonitor.vue | 29 +++++++++
19 files changed, 162 insertions(+), 8 deletions(-)
diff --git a/.env.development b/.env.development
index ac0618e..9189d82 100644
--- a/.env.development
+++ b/.env.development
@@ -6,6 +6,9 @@
VITE_APP_API = /api
VITE_APP_API_URL = https://wrj.shuixiongit.com/api
+# 连接本地服务器
+# VITE_APP_API_URL = http://192.168.1.204/api
+
#调试参数
VITE_APP_DEBUG_KEY = saber
VITE_APP_DEBUG_SWITCH = false
diff --git a/src/assets/images/login/left-logo.png b/src/assets/images/login/left-logo.png
index 96efe84..48dbdde 100644
--- a/src/assets/images/login/left-logo.png
+++ b/src/assets/images/login/left-logo.png
Binary files differ
diff --git a/src/assets/images/login/right-login-info.png b/src/assets/images/login/right-login-info.png
index 8910002..8251946 100644
--- a/src/assets/images/login/right-login-info.png
+++ b/src/assets/images/login/right-login-info.png
Binary files differ
diff --git a/src/assets/images/signMachineNest/machineLeft/image 100.png b/src/assets/images/signMachineNest/machineLeft/image 100.png
new file mode 100644
index 0000000..5e98312
--- /dev/null
+++ b/src/assets/images/signMachineNest/machineLeft/image 100.png
Binary files differ
diff --git "a/src/assets/images/signMachineNest/machineRight/Frame\0501\051.png" "b/src/assets/images/signMachineNest/machineRight/Frame\0501\051.png"
new file mode 100644
index 0000000..057323e
--- /dev/null
+++ "b/src/assets/images/signMachineNest/machineRight/Frame\0501\051.png"
Binary files differ
diff --git "a/src/assets/images/signMachineNest/machineRight/Frame\0502\051.png" "b/src/assets/images/signMachineNest/machineRight/Frame\0502\051.png"
new file mode 100644
index 0000000..4a8b636
--- /dev/null
+++ "b/src/assets/images/signMachineNest/machineRight/Frame\0502\051.png"
Binary files differ
diff --git "a/src/assets/images/signMachineNest/machineRight/Frame\0503\051.png" "b/src/assets/images/signMachineNest/machineRight/Frame\0503\051.png"
new file mode 100644
index 0000000..cbf6907
--- /dev/null
+++ "b/src/assets/images/signMachineNest/machineRight/Frame\0503\051.png"
Binary files differ
diff --git "a/src/assets/images/signMachineNest/machineRight/Frame\0504\051.png" "b/src/assets/images/signMachineNest/machineRight/Frame\0504\051.png"
new file mode 100644
index 0000000..4083afa
--- /dev/null
+++ "b/src/assets/images/signMachineNest/machineRight/Frame\0504\051.png"
Binary files differ
diff --git "a/src/assets/images/signMachineNest/machineRight/Frame\0505\051.png" "b/src/assets/images/signMachineNest/machineRight/Frame\0505\051.png"
new file mode 100644
index 0000000..4c0d7cf
--- /dev/null
+++ "b/src/assets/images/signMachineNest/machineRight/Frame\0505\051.png"
Binary files differ
diff --git "a/src/assets/images/signMachineNest/machineRight/Frame\0506\051.png" "b/src/assets/images/signMachineNest/machineRight/Frame\0506\051.png"
new file mode 100644
index 0000000..72b228f
--- /dev/null
+++ "b/src/assets/images/signMachineNest/machineRight/Frame\0506\051.png"
Binary files differ
diff --git a/src/assets/images/signMachineNest/machineRight/wrj.png b/src/assets/images/signMachineNest/machineRight/wrj.png
new file mode 100644
index 0000000..c331017
--- /dev/null
+++ b/src/assets/images/signMachineNest/machineRight/wrj.png
Binary files differ
diff --git a/src/views/Home/components/HomeRight/UserOperate.vue b/src/components/UserOperate.vue
similarity index 100%
rename from src/views/Home/components/HomeRight/UserOperate.vue
rename to src/components/UserOperate.vue
diff --git a/src/page/login/index.vue b/src/page/login/index.vue
index 14f760c..bf4f671 100644
--- a/src/page/login/index.vue
+++ b/src/page/login/index.vue
@@ -4,7 +4,9 @@
<div class="title">中图智飞低空智能感知网平台</div>
</div>
<div class="login-left-title-new">中国图强 智领飞跃</div>
- <div class="login-left-new"></div>
+ <div class="login-left-new">
+ <img src="@/assets/images/login/left-logo.png" alt="" />
+ </div>
<userLogin v-if="activeName === 'user'"></userLogin>
</div>
</template>
diff --git a/src/styles/login.scss b/src/styles/login.scss
index 25de30f..4194247 100644
--- a/src/styles/login.scss
+++ b/src/styles/login.scss
@@ -29,6 +29,7 @@
}
.login-left-title-new {
position: absolute;
+ border: 1px solid greenyellow;
left: 147px;
top: 263px;
width: 926px;
@@ -48,10 +49,15 @@
.login-left-new {
position: absolute;
top: 334px;
+ border: 1px solid red;
left: 147px;
- width: 926px;
- height: 540px;
- background: url('../assets/images/login/left-logo.png') no-repeat center / 100% 100%;
+ img {
+ width: 858px;
+ height: 540px;
+ border: 1px solid yellow;
+ }
+ // width: 858px;
+ // background: url('../assets/images/login/left-logo.png') no-repeat center / 100% 100%;
}
.login-right-new {
diff --git a/src/views/Home/components/HomeRight/HomeRight.vue b/src/views/Home/components/HomeRight/HomeRight.vue
index 180e997..445d203 100644
--- a/src/views/Home/components/HomeRight/HomeRight.vue
+++ b/src/views/Home/components/HomeRight/HomeRight.vue
@@ -11,7 +11,7 @@
import Synergy from '@/views/Home/components/HomeRight/Synergy.vue';
import TaskAchievements from '@/views/Home/components/HomeRight/TaskAchievements.vue';
import EventOverview from '@/views/Home/components/HomeRight/EventOverview.vue';
-import UserOperate from '@/views/Home/components/HomeRight/UserOperate.vue';
+import UserOperate from '@/components/UserOperate.vue';
</script>
<style scoped lang="scss">
diff --git a/src/views/SignMachineNest/components/MachineRight/InspectionRaskList.vue b/src/views/SignMachineNest/components/MachineRight/InspectionRaskList.vue
new file mode 100644
index 0000000..109326e
--- /dev/null
+++ b/src/views/SignMachineNest/components/MachineRight/InspectionRaskList.vue
@@ -0,0 +1,29 @@
+<!-- 巡检任务列表 -->
+<template>
+ <CommonTitle title="巡检任务列表" />
+ <div :style="{ marginLeft: pxToRem(14) }">
+ <div class="inspection-rask-list"></div>
+ </div>
+</template>
+
+<script setup>
+import CommonTitle from '@/components/CommonTitle.vue';
+</script>
+
+<style lang="scss" scoped>
+ .inspection-rask-list {
+ width: 390px;
+ height: 325px;
+ background: linear-gradient(
+ 270deg,
+ #1f3e7a 0%,
+ rgba(31, 62, 122, 0.35) 79%,
+ rgba(31, 62, 122, 0) 100%
+ );
+ opacity: 0.85;
+ margin: 2px 0 13 0;
+ display: flex;
+ justify-content: space-between;
+ padding: 11px 27px 0;
+ }
+</style>
\ No newline at end of file
diff --git a/src/views/SignMachineNest/components/MachineRight/MachineMonitor.vue b/src/views/SignMachineNest/components/MachineRight/MachineMonitor.vue
new file mode 100644
index 0000000..50303ca
--- /dev/null
+++ b/src/views/SignMachineNest/components/MachineRight/MachineMonitor.vue
@@ -0,0 +1,29 @@
+<!-- 机巢监控 -->
+<template>
+ <CommonTitle title="机巢监控" />
+ <div :style="{ marginLeft: pxToRem(14) }">
+ <div class="machine-monitor"></div>
+ </div>
+</template>
+
+<script setup>
+import CommonTitle from '@/components/CommonTitle.vue';
+</script>
+
+<style lang="scss" scoped>
+ .machine-monitor {
+ width: 390px;
+ height: 228px;
+ background: linear-gradient(
+ 270deg,
+ #1f3e7a 0%,
+ rgba(31, 62, 122, 0.35) 79%,
+ rgba(31, 62, 122, 0) 100%
+ );
+ opacity: 0.85;
+ margin: 2px 0 13 0;
+ display: flex;
+ justify-content: space-between;
+ padding: 11px 27px 0;
+ }
+</style>
\ No newline at end of file
diff --git a/src/views/SignMachineNest/components/MachineRight/MachineRight.vue b/src/views/SignMachineNest/components/MachineRight/MachineRight.vue
index 5b6e65e..3705b78 100644
--- a/src/views/SignMachineNest/components/MachineRight/MachineRight.vue
+++ b/src/views/SignMachineNest/components/MachineRight/MachineRight.vue
@@ -1,7 +1,29 @@
<template>
- <div class="machine-right">右边</div>
+ <div class="machine-right">
+ <UserOperate/>
+ <MachineStatus/>
+ <MachineMonitor/>
+ <InspectionRaskList/>
+ </div>
</template>
-<script setup></script>
+<script setup>
+import UserOperate from '@/components/UserOperate.vue';
+import MachineStatus from './MachineStatus.vue';
+import MachineMonitor from './MachineMonitor.vue';
+import InspectionRaskList from './InspectionRaskList.vue';
+</script>
-<style scoped lang="scss"></style>
\ No newline at end of file
+<style scoped lang="scss">
+.machine-right {
+ position: absolute;
+ top: 122px;
+ right: 31px;
+ width: 404px;
+
+ .titleBox {
+ width: 404px;
+ height: 43px;
+ }
+}
+</style>
\ No newline at end of file
diff --git a/src/views/SignMachineNest/components/MachineRight/MachineStatus.vue b/src/views/SignMachineNest/components/MachineRight/MachineStatus.vue
new file mode 100644
index 0000000..ab3eee9
--- /dev/null
+++ b/src/views/SignMachineNest/components/MachineRight/MachineStatus.vue
@@ -0,0 +1,63 @@
+<!-- 机巢状态 -->
+<template>
+ <CommonTitle title="机巢状态" />
+ <div :style="{ marginLeft: pxToRem(14) }">
+ <div class="machine-status">
+ <div class="info">
+ <img src="@/assets/images/signMachineNest/machineRight/wrj.png" alt="">
+ <div class="info-right">
+ <div class="name">Matrice 30</div>
+ <div class="wz">当前位置:450.32;210.56</div>
+ <div class="">
+ <div>舱内关机</div>
+ <div>需要维保</div>
+ </div>
+ </div>
+ </div>
+ <div class="status">
+ <div>实时真高</div>
+ <div>200<span>米</span></div>
+ </div>
+ </div>
+ </div>
+</template>
+
+<script setup>
+import CommonTitle from '@/components/CommonTitle.vue';
+</script>
+
+<style lang="scss" scoped>
+ .machine-status {
+ width: 390px;
+ height: 230px;
+ background: linear-gradient(
+ 270deg,
+ #1f3e7a 0%,
+ rgba(31, 62, 122, 0.35) 79%,
+ rgba(31, 62, 122, 0) 100%
+ );
+ opacity: 0.85;
+ margin: 2px 0 13 0;
+ display: flex;
+ justify-content: space-between;
+ padding: 8px 0px 20px 18px;
+ .info {
+ height: 88px;
+ display: flex;
+ align-items: center;
+ img {
+ width: 94px;
+ height: 88px;
+ }
+ .info-right {
+ name {
+ font-family: YouSheBiaoTiHei, YouSheBiaoTiHei;
+ font-weight: 400;
+ font-size: 24px;
+ color: #0BE5F5;
+ line-height: 28px;
+ }
+ }
+ }
+ }
+</style>
\ No newline at end of file
--
Gitblit v1.9.3