From 16985f7674bbec4e87e5eaa011e1e789350be8df Mon Sep 17 00:00:00 2001
From: ZhangXianQiang <1135831638@qq.com>
Date: 星期二, 05 三月 2024 17:25:44 +0800
Subject: [PATCH] fix:修改表格滚动
---
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