From 4bb904fc27caf0576ed7dbf46d5909a7b1f778c0 Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Mon, 14 Jul 2025 09:52:28 +0800
Subject: [PATCH] Merge branch 'test' of http://139.196.74.78:10010/r/drone/drone-web-manage into test
---
src/views/job/components/TaskTop/TaskEvent.vue | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/src/views/job/components/TaskTop/TaskEvent.vue b/src/views/job/components/TaskTop/TaskEvent.vue
index aa3895d..dcc40cd 100644
--- a/src/views/job/components/TaskTop/TaskEvent.vue
+++ b/src/views/job/components/TaskTop/TaskEvent.vue
@@ -81,7 +81,7 @@
{
name: '任务',
type: 'bar',
- barWidth: 8,
+ barWidth: 6,
itemStyle: {
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
{ offset: 0, color: '#FF8902' },
@@ -92,7 +92,7 @@
{
name: '事件',
type: 'bar',
- barWidth: 8,
+ barWidth: 6,
itemStyle: {
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
{ offset: 0, color: '#4363FF' },
@@ -132,11 +132,13 @@
<style lang="scss" scoped>
.task-event {
-width: 529px;
+ width: 0;
+ flex: 1;
height: 100%;
- margin-left: 9px;
+ margin-left: 10px;
background: #FFFFFF;
border-radius: 8px 8px 8px 8px;
+
.title {
padding: 10px 0 10px 16px;
width: 144px;
@@ -147,11 +149,12 @@
color: #363636;
line-height: 18px;
}
+
.chart {
padding: 6px 0px;
width: 100%;
height: 166px;
-
+
}
}
</style>
--
Gitblit v1.9.3