Commit 1a93e07d authored by zhengjiangtao's avatar zhengjiangtao

修改日常值守样式

parent 259635af
......@@ -1186,7 +1186,7 @@
margin-left: vw(17);
height: vh(260) !important;
width: 82% !important;
background-position: 60px vh(14) !important;
background-position: vw(60) vh(14) !important;
}
.jiantou {
......
......@@ -36,7 +36,7 @@ class RecentStatistics extends Component {
</ButtonGroup>
<div className="recent-statistics-content" style={{position: 'relative'}}>
<div className="content-detail" onClick={this.props.onStatisticClick}>...</div>
<ReactEcharts option={recentData} style={{ height: '100%', width: '100%' }} />
<ReactEcharts option={recentData} className="div-echars-style" />
</div>
</CommonCard>
</div>
......
......@@ -32,7 +32,7 @@ class RiskTrend extends Component {
<Button size="sm" children={<span>治理数</span>} className="button-style" value="4" style={value == '4' ? select : noselect} />
</ButtonGroup>
<div className="risk-trend-content">
<ReactEcharts option={riskTrendData} style={{ height: '100%', width: '100%' }} />
<ReactEcharts option={riskTrendData} className="div-echars" />
</div>
</CommonCard>
</div>
......
......@@ -64,7 +64,7 @@ class Statistics extends Component {
{ name: '新疆', area: '其他', type: 'areaCenterCity', InValue: '0' }
];
echarts.registerMap('china', geoJson);
debugger;
for (const item of provienceData) {
if (item.area === '东北大区') {
item.itemStyle = {
......
......@@ -41,23 +41,7 @@ export const riskTrendData = {
fontSize: 14
}
},
dataZoom: [
{
show: true,
realtime: true,
backgroundColor: '#00B9ff',
borderColor: '#00B9ff',
left: 40,
height: 14,
width: 996,
bottom: 5
},
{
type: 'inside',
realtime: true,
textStyle: false
}
],
xAxis: {
type: 'category',
boundaryGap: false,
......
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