From e004fc3c645a7e52c01a9f84ce4542d5c1cb1a99 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Thu, 03 Apr 2025 14:42:30 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
src/views/SignMachineNest/components/MachineLeft/MachineLeft.vue | 22 +++++++++++++++++++++-
1 files changed, 21 insertions(+), 1 deletions(-)
diff --git a/src/views/SignMachineNest/components/MachineLeft/MachineLeft.vue b/src/views/SignMachineNest/components/MachineLeft/MachineLeft.vue
index 52adde4..9083755 100644
--- a/src/views/SignMachineNest/components/MachineLeft/MachineLeft.vue
+++ b/src/views/SignMachineNest/components/MachineLeft/MachineLeft.vue
@@ -3,7 +3,10 @@
<!--时间 天气-->
<common-weather></common-weather>
<!-- 机巢数据 -->
- <MachineData></MachineData>
+ <MachineData></MachineData>
+ <div class="do-return" @click="goBack">
+ <img src="@/assets/images/signMachineNest/return.png" alt="" />
+ </div>
<!--巡检任务详情-->
<InspectionRaskDetails></InspectionRaskDetails>
</div>
@@ -13,6 +16,13 @@
import CommonWeather from '@/components/CommonWeather.vue';
import MachineData from './MachineData.vue';
import InspectionRaskDetails from './InspectionRaskDetails.vue';
+import { useRouter } from 'vue-router';
+
+const router = useRouter();
+
+const goBack = () => {
+ router.push('/index');
+};
</script>
<style scoped lang="scss">
@@ -20,5 +30,15 @@
position: absolute;
top: 88px;
color: #e7f5ff;
+ .do-return {
+ position: absolute;
+ top: 56px;
+ right: -50px;
+ cursor: pointer;
+ img {
+ width: 40px;
+ height: 40px;
+ }
+ }
}
</style>
\ No newline at end of file
--
Gitblit v1.9.3