@@ -183,7 +197,7 @@
{{ item.region }}
{{ item.percent }}
@@ -202,14 +216,23 @@
@@ -953,19 +1597,102 @@ onMounted(async () => {
}
.donut-chart-wrapper,
+.donut-chart-wrapper-small {
+ height: 250px;
+}
+
.line-chart-wrapper,
-.bar-chart-wrapper,
+.bar-chart-wrapper {
+ height: 200px;
+ background: linear-gradient(180deg, #faf9ff 0%, #ffffff 100%);
+ border-radius: 8px;
+ padding: 8px;
+ box-sizing: border-box;
+}
+
.progress-chart-wrapper {
+ height: 250px;
+}
+
+.high-risk-top {
+ display: flex;
+ align-items: center;
+ gap: 15px;
+ margin-bottom: 15px;
+}
+
+.donut-chart-wrapper-small {
flex: 1;
- min-height: 200px;
+ min-width: 0;
+ display: flex;
+ align-items: center;
+}
+
+.operation-type-list {
+ flex: 1.2;
+ display: flex;
+ flex-direction: column;
+ gap: 8px;
+ min-width: 0;
+ justify-content: center;
+}
+
+.operation-type-item {
+ display: flex;
+ align-items: center;
+ gap: 8px;
+}
+
+.operation-name {
+ width: 55px;
+ font-size: 12px;
+ color: #666;
+ flex-shrink: 0;
+}
+
+.operation-bar-wrapper {
+ flex: 1;
+ height: 12px;
+ background-color: #e5e7eb;
+ border-radius: 6px;
+ overflow: hidden;
+}
+
+.operation-bar {
+ height: 100%;
+ border-radius: 6px;
+}
+
+.operation-percent {
+ font-size: 12px;
+ color: #666;
+ font-weight: 500;
+ min-width: 40px;
+ text-align: right;
+ flex-shrink: 0;
+}
+
+.emergency-plan-top {
+ display: flex;
+ align-items: center;
+ gap: 15px;
+ margin-bottom: 15px;
+}
+
+.progress-chart-wrapper {
+ flex: 1.5;
+ min-width: 0;
+ display: flex;
+ align-items: center;
}
.region-distribution,
.risk-distribution,
.rectification-status,
.operation-distribution,
+.park-operation-distribution,
.regional-progress {
- margin-top: 16px;
+ margin-top: 10px;
.distribution-title {
font-size: 14px;
@@ -1019,35 +1746,34 @@ onMounted(async () => {
.drill-info {
display: flex;
- gap: 16px;
- margin-top: 16px;
- padding: 12px;
- background: #f0fdf4;
- border-radius: 6px;
+ flex-direction: column;
+ gap: 8px;
+ flex: 1;
+ min-width: 0;
+ justify-content: center;
+}
- .drill-item {
- flex: 1;
- display: flex;
- flex-direction: column;
- gap: 4px;
+.drill-item {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ padding: 8px 10px;
+ background-color: #f0fdf4;
+ border-radius: 4px;
+ font-size: 12px;
+ color: #666;
+}
- span:first-child {
- font-size: 12px;
- color: #6b7280;
- }
-
- .drill-number {
- font-size: 18px;
- font-weight: bold;
- color: #059669;
- }
- }
+.drill-number {
+ font-size: 16px;
+ font-weight: bold;
+ color: #10b981;
}
.progress-list {
display: flex;
flex-direction: column;
- gap: 12px;
+ gap: 14px;
margin-top: 12px;
}
@@ -1056,33 +1782,67 @@ onMounted(async () => {
align-items: center;
gap: 12px;
font-size: 13px;
+ padding: 4px 0;
.region-name {
- width: 80px;
+ width: 90px;
color: #374151;
flex-shrink: 0;
+ font-weight: 500;
}
.progress-bar-wrapper {
flex: 1;
- height: 8px;
- background: #e5e7eb;
- border-radius: 4px;
+ height: 10px;
+ background: #f3f4f6;
+ border-radius: 5px;
overflow: hidden;
+ position: relative;
+ box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}
.progress-bar {
height: 100%;
- border-radius: 4px;
- transition: width 0.3s ease;
+ border-radius: 5px;
+ transition: width 0.5s ease;
+ background: linear-gradient(90deg, #8b5cf6 0%, #a78bfa 100%);
+ box-shadow: 0 2px 4px rgba(139, 92, 246, 0.3);
+ position: relative;
+ overflow: hidden;
+
+ &::after {
+ content: '';
+ position: absolute;
+ top: 0;
+ left: 0;
+ bottom: 0;
+ right: 0;
+ background: linear-gradient(
+ 90deg,
+ transparent 0%,
+ rgba(255, 255, 255, 0.3) 50%,
+ transparent 100%
+ );
+ animation: shimmer 2s infinite;
+ }
}
.progress-percent {
- width: 50px;
+ min-width: 45px;
text-align: right;
- color: #1f2937;
- font-weight: 500;
+ color: #7c3aed;
+ font-weight: 600;
flex-shrink: 0;
+ font-size: 13px;
+ }
+}
+
+@keyframes shimmer {
+ 0% {
+ transform: translateX(-100%);
+ }
+ 100% {
+ transform: translateX(100%);
}
}
diff --git a/src/views/Home/Index12.vue b/src/views/Home/Index12.vue
index 3228141..b08d125 100644
--- a/src/views/Home/Index12.vue
+++ b/src/views/Home/Index12.vue
@@ -6,22 +6,22 @@
-
+