修改路由

master
夜笙歌 9 months ago
parent 638902b05f
commit ca189372a9

@ -132,14 +132,14 @@ export default {
yAxisIndex:1, yAxisIndex:1,
itemStyle: { itemStyle: {
normal: { normal: {
color: '#3888fa', color: '#9fe080',
lineStyle: { lineStyle: {
color: '#3888fa', color: '#9fe080',
width: 2 width: 2
}, },
areaStyle: { // areaStyle: {
color: '#f3f8ff' // color: '#f3f8ff'
} // }
} }
}, },
data: expectedData, data: expectedData,
@ -150,11 +150,12 @@ export default {
name: '产量', name: '产量',
smooth: false, smooth: false,
type: 'bar', type: 'bar',
barMaxWidth:60,
itemStyle: { itemStyle: {
normal: { normal: {
color: '#3888fa', color: '#9fe080',
lineStyle: { lineStyle: {
color: '#3888fa', color: '#9fe080',
width: 2 width: 2
}, },
areaStyle: { areaStyle: {

@ -3,9 +3,6 @@
<panel-group @handleSetLineChartData="handleSetLineChartData"/> <panel-group @handleSetLineChartData="handleSetLineChartData"/>
<el-row style="background:#fff;padding:16px 16px 0;margin-bottom:32px;">
<line-chart :chart-data="lineChartData"/>
</el-row>
<el-row style="background:#fff;padding:16px 16px 0;margin-bottom:32px;"> <el-row style="background:#fff;padding:16px 16px 0;margin-bottom:32px;">
<el-table <el-table
:data="tableData" :data="tableData"
@ -57,6 +54,10 @@
</el-table> </el-table>
</el-row> </el-row>
<el-row style="background:#fff;padding:16px 16px 0;margin-bottom:32px;">
<line-chart :chart-data="lineChartData"/>
</el-row>
<el-row :gutter="32"> <el-row :gutter="32">
<el-col :xs="24" :sm="24" :lg="16"> <el-col :xs="24" :sm="24" :lg="16">
<div class="chart-wrapper"> <div class="chart-wrapper">
@ -161,6 +162,7 @@ export default {
padding: 8px; padding: 8px;
} }
} }
.el-table th.el-table__cell > .cell { .el-table th.el-table__cell > .cell {
text-align: center; text-align: center;
} }

Loading…
Cancel
Save