From c6a8116fdfcba0d799eca8c2ac51c6ba5c6b07b9 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Thu, 27 Mar 2025 19:54:49 +0800
Subject: [PATCH] feat: 改为滚动条
---
src/views/Home/components/HomeLeft/InspectionRaskDetails.vue | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/views/Home/components/HomeLeft/InspectionRaskDetails.vue b/src/views/Home/components/HomeLeft/InspectionRaskDetails.vue
index 7b507b0..305a2aa 100644
--- a/src/views/Home/components/HomeLeft/InspectionRaskDetails.vue
+++ b/src/views/Home/components/HomeLeft/InspectionRaskDetails.vue
@@ -33,19 +33,19 @@
.inspection-rask-details {
margin-left: 29px;
width: 390px;
- height: hToV(414);
+ height: 414px;
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;
.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;
@@ -56,14 +56,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-weight: 400;
@@ -78,4 +78,4 @@
}
}
}
-</style>
\ No newline at end of file
+</style>
--
Gitblit v1.9.3