From adcaf4a40eb760a760810d11af7887969d82699e Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期二, 01 八月 2023 10:45:47 +0800
Subject: [PATCH] #
---
src/components/datav/cards.vue | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/components/datav/cards.vue b/src/components/datav/cards.vue
index 9d3c8c3..4846f2f 100644
--- a/src/components/datav/cards.vue
+++ b/src/components/datav/cards.vue
@@ -2,7 +2,7 @@
<div id="cards">
<div class="chart-name">
璁惧鏁呴殰鏈堣秼鍔�
- <dv-decoration-3 style="width:200px;height:20px;" />
+ <dv-decoration-3 style="width:120px;height:20px;" />
</div>
<dv-charts :option="option" />
</div>
@@ -35,7 +35,7 @@
orient: 'vertical'
},
xAxis: {
- name: '绗竴鍛�',
+ // name: '绗竴鍛�',
data: ['鍛ㄤ竴', '鍛ㄤ簩', '鍛ㄤ笁', '鍛ㄥ洓', '鍛ㄤ簲', '鍛ㄥ叚', '鍛ㄦ棩'],
nameTextStyle: { // 杞存爣棰�
fill: '#fff',
@@ -55,6 +55,7 @@
},
yAxis: {
name: '閿�鍞',
+ position: 'right',
data: 'value',
nameTextStyle: { // 杞存爣棰�
fill: '#fff',
@@ -120,12 +121,12 @@
border-top: 2px solid rgba(1, 153, 209, .5);
box-shadow: 0 0 3px blue;
box-sizing: border-box;
- padding: 0px 30px;
+ padding: 0 0 0 50px;
position: relative;
.chart-name {
position: absolute;
- right: 70px;
+ left: 30px;
text-align: right;
font-size: 20px;
top: 10px;
--
Gitblit v1.9.1