Commit 1a93e07d authored by zhengjiangtao's avatar zhengjiangtao

修改日常值守样式

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