From 37bb6da78f4435f83cff5f2193cbdb46eebaad12 Mon Sep 17 00:00:00 2001
From: odc.xiaohui <xiaohui@Q1>
Date: 星期三, 28 二月 2024 09:24:57 +0800
Subject: [PATCH] 大屏创建

---
 src/components/datav/capsule-chart/capsule-chart.vue |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/src/components/datav/capsule-chart/capsule-chart.vue b/src/components/datav/capsule-chart/capsule-chart.vue
index cb81015..5fe9661 100644
--- a/src/components/datav/capsule-chart/capsule-chart.vue
+++ b/src/components/datav/capsule-chart/capsule-chart.vue
@@ -12,7 +12,7 @@
 const defaultConfig = reactive<DefaultConfigType>({
     // Colors (hex|rgb|rgba|color keywords) ['#000', 'rgb(0, 0, 0)', 'rgba(0, 0, 0, 1)', 'red']
     colors: [
-        "#37a2da",
+        "red",
         "#32c5e9",
         "#67e0e3",
         "#9fe6b8",
@@ -119,7 +119,7 @@
     box-sizing: border-box;
     padding: 10px;
     color: #fff;
-
+    height: 90%!important;
     .label-column {
         display: flex;
         flex-direction: column;
@@ -143,14 +143,16 @@
     }
 
     .capsule-item {
-        box-shadow: 0 0 3px #999;
+        //box-shadow: 0 0 3px #999;
+      box-shadow:none;
         height: 10px;
         margin: 5px 0px;
         border-radius: 5px;
 
         .capsule-item-column {
-            position: relative;
-            height: 8px;
+          background: linear-gradient(to right, #9fe1fa, #f4edc9);
+          position: relative;
+            height: 15px;
             margin-top: 1px;
             border-radius: 5px;
             transition: all 0.3s;

--
Gitblit v1.8.0