From 147cde29a36bc9f00e7c6fd313ea84f7bddc10af Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Fri, 28 Mar 2025 08:35:53 +0800
Subject: [PATCH] feat: 修改搜索
---
src/views/Home/components/HomeLeft/HomeLeft.vue | 67 ++++++++++++++++++++++++---------
1 files changed, 49 insertions(+), 18 deletions(-)
diff --git a/src/views/Home/components/HomeLeft/HomeLeft.vue b/src/views/Home/components/HomeLeft/HomeLeft.vue
index b3e12bc..d0ca55f 100644
--- a/src/views/Home/components/HomeLeft/HomeLeft.vue
+++ b/src/views/Home/components/HomeLeft/HomeLeft.vue
@@ -1,34 +1,65 @@
<template>
- <div class="home-left-index">
+ <div class="home-left">
<!--时间 天气-->
- <div class="time-watch">
+ <div class="time-weather">
<div class="time">2025.03.04 15:30:00</div>
- <div>
- <img src="" alt="">
- <span>阴天</span>
- <span>适合飞行</span>
+ <div class="line"></div>
+ <div class="weather">
+ <img src="@/assets/images/tq.png" alt="">
+ <span class="tq">阴天</span>
+ <span class="qk">适合飞行</span>
</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></script>
+<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 {
- margin-top: 12px;
- margin-left: 45px;
- // border: 1px springgreen solid;
- width: 360px;
-
- .time-watch {
+.home-left {
+ position: absolute;
+ top: 88px;
+ color: #E7F5FF;
+ .time-weather {
+ margin-left: 45px;
+ width: 260px;
font-size: 14px;
height: hToV(36);
+ line-height: hToV(36);
display: flex;
- .time {
- font-weight: 400;
- font-size: 14px;
- line-height: hToV(16);
+ justify-content: space-between;
+ align-items: center;
+ .line {
+ border: 1px solid #FFFFFF;
+ height: hToV(10);
+ opacity: 0.5;
+ }
+ .weather {
+ img {
+ width: 20px;
+ height: hToV(20);
+ }
+ .tq {
+ margin: 0 5px;
+ color: #E7F5FF;
+ }
+ .qk {
+ margin-left: 5px;
+ color: #04F043;
+ }
}
}
}
--
Gitblit v1.9.3