From 3748cbf0a42798c6fd9e27eecd7355871f99687d Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Fri, 28 Mar 2025 10:38:05 +0800
Subject: [PATCH] Merge branch 'master' of http://139.196.74.78:10010/r/drone/command-center-dashboard
---
src/views/Home/components/HomeLeft/InspectionRaskDetails.vue | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/src/views/Home/components/HomeLeft/InspectionRaskDetails.vue b/src/views/Home/components/HomeLeft/InspectionRaskDetails.vue
index 6685c69..56e0cdc 100644
--- a/src/views/Home/components/HomeLeft/InspectionRaskDetails.vue
+++ b/src/views/Home/components/HomeLeft/InspectionRaskDetails.vue
@@ -22,7 +22,6 @@
import { hToV, wToR } from '@/utils/pxConver';
import * as echarts from 'echarts';
import CommonDateTime from '@/components/CommonDateTime.vue';
-// import { ref, onMounted } from 'vue';
const list = ref([
{ name: '计划执行', value: 89, color: '#FFFFFF' },
@@ -117,7 +116,7 @@
<style scoped lang="scss">
.inspection-rask-details {
margin-left: 29px;
- padding: hToV(16) 16px;
+ padding: 16px 16px;
width: 390px;
height: 414px;
background: linear-gradient( 270deg, rgba(31,62,122,0) 0%, rgba(31,62,122,0.35) 21%, #1F3E7A 100%);
@@ -126,12 +125,12 @@
.inspection-num {
background: url('@/assets/images/inspection-num.png') no-repeat center / 100% 100%;
width: 360px;
- height: hToV(118);
+ height: 118px;
position: relative;
.total {
position: absolute;
left: 34px;
- top: hToV(34);
+ top: 34px;
font-weight: 500;
font-size: 14px;
color: #FFFFFF;
@@ -144,14 +143,14 @@
}
.status {
position: absolute;
- top: hToV(8);
+ top: 8px;
right: 10px;
width: 200px;
display: flex;
flex-wrap: wrap;
gap: 8px;
justify-content: flex-start;
- line-height: hToV(22);
+ line-height: 22px;
padding: 0 10px 10px 0;
.name {
font-family: Source Han Sans CN, Source Han Sans CN;
--
Gitblit v1.9.3