From eeabb1b2435492d2a088c1427da176a03d3c6944 Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Thu, 27 Mar 2025 17:55:11 +0800
Subject: [PATCH] feat: 更新左边页面
---
src/views/Home/components/HomeLeft/HomeLeft.vue | 33 +++++++++------------------------
1 files changed, 9 insertions(+), 24 deletions(-)
diff --git a/src/views/Home/components/HomeLeft/HomeLeft.vue b/src/views/Home/components/HomeLeft/HomeLeft.vue
index c5fb6f5..d0ca55f 100644
--- a/src/views/Home/components/HomeLeft/HomeLeft.vue
+++ b/src/views/Home/components/HomeLeft/HomeLeft.vue
@@ -1,5 +1,5 @@
<template>
- <div class="home-left-index">
+ <div class="home-left">
<!--时间 天气-->
<div class="time-weather">
<div class="time">2025.03.04 15:30:00</div>
@@ -11,31 +11,28 @@
</div>
</div>
<!--机巢概况-->
- <div class="overview-nest">
- <common-title></common-title>
- <div class="overview-warp">
- <div></div>
- </div>
- </div>
+ <common-title style="margin-left: 14px;"></common-title>
+ <overview-next></overview-next>
+ <!--巡检任务情况-->
+ <common-title title="巡检任务情况" style="margin-left: 14px;"></common-title>
+ <inspection-rask-details></inspection-rask-details>
</div>
</template>
<script setup>
import { hToV, wToR } from '@/utils/pxConver';
import CommonTitle from '@/components/CommonTitle.vue';
+import OverviewNext from './OverviewNext.vue';
+import InspectionRaskDetails from './InspectionRaskDetails.vue';
</script>
<style scoped lang="scss">
-.home-left-index {
+.home-left {
position: absolute;
-
top: 88px;
- // left: 45px;
- // width: 390px;
color: #E7F5FF;
-
.time-weather {
margin-left: 45px;
width: 260px;
@@ -64,18 +61,6 @@
color: #04F043;
}
}
- }
- .overview-nest {
- .overview-warp {
- border: 1px solid #04F043;
- margin-left: 29px;
- padding: 16px;
- width: 390px;
- height: hToV(415);
- background: linear-gradient( 90deg, rgba(31,62,122,0) 0%, rgba(31,62,122,0.35) 21%, #1F3E7A 100%);
- border-radius: 0px 0px 0px 0px;
- opacity: 0.85;
- }
}
}
</style>
--
Gitblit v1.9.3