forked from drone/command-center-dashboard

chenyao
2025-04-03 8b92f8cb5763eaf8a8a5d93a4690c923c2de1a85
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>