Commit fe84fdb4 by 姜雷

调整部分图表样式

parent 66ddf88d
......@@ -29,7 +29,7 @@ export default {
container: 'CustomerConsumptionChart',
forceFit: true,
height: this.height,
padding: [50, 50, 50, 100],
padding: [50, 60, 50, 100],
});
this.chart.source(this.data);
this.chart
......
......@@ -127,7 +127,7 @@ export default {
container: 'CustomerRechargeChart',
forceFit: true,
height: this.height,
padding: [50, 50, 20, 120],
padding: [30, 50, 20, 120],
});
this.chart.source(dv, {
......@@ -138,6 +138,10 @@ export default {
alias: '充值人数',
},
});
// this.chart.tooltip({
// offset: 250,
// });
this.chart.axis('areaName', {
label: {
offsetX: -80,
......@@ -273,8 +277,10 @@ export default {
transform: translate(100%, -100%);
}
.CustomerRechargeChart-areaTitle {
color: #666;
width: 85px;
height: 2em;
height: 2.4em;
line-height: 1.2;
overflow: hidden;
display: -webkit-box;
-webkit-box-orient: vertical;
......
......@@ -83,7 +83,7 @@ export default {
}
.Dashboard-SearchBar {
display: flex;
padding: 20px 0 50px;
padding: 10px 0 20px;
.el-input,
.el-input__inner,
.filter-item {
......@@ -98,6 +98,7 @@ export default {
min-width: 40px;
}
.Dashboard-Radio {
margin-left: 10px;
display: flex;
align-items: center;
justify-self: flex-end;
......@@ -135,13 +136,13 @@ export default {
}
.Dashboard-title {
position: relative;
padding: 20px 0 0;
padding: 20px 0 12px;
margin: 0 20px;
}
.Dashboard-title::before {
content: '';
position: absolute;
bottom: -12px;
bottom: 0;
left: 0;
width: 32px;
height: 4px;
......
......@@ -229,7 +229,7 @@ export default {
}
}
.fastLink.marleft {
margin-left: 133px;
margin-left: 70px;
}
.DashboardButton {
height: 80px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment