页面调整

main
weiying 2023-12-20 22:55:07 +08:00
parent 510f1a1dd7
commit bd0741d159
3 changed files with 8 additions and 6 deletions

BIN
public/assets/map-label.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

BIN
public/assets/map.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 819 KiB

View File

@ -12,15 +12,15 @@ const SyglPage: React.FC = () => {
var echartData = [
{
value: 16,
name: '水'
name: '水'
}, {
value: 38,
value: 90,
name: '河流'
}, {
value: 47,
name: '溪沟'
}, {
value: 7,
value: 15,
name: '塘坝'
}];
@ -28,7 +28,7 @@ const SyglPage: React.FC = () => {
title: {
text:'168',
subtext: '水源总数',
x: '22%',
x: '24%',
top:'33%',
padding:[24,0],
textStyle:{
@ -39,6 +39,7 @@ const SyglPage: React.FC = () => {
subtextStyle: {
color: '#A6AFC0',
fontSize: 16,
padding:[24,0],
},
},
legend: {
@ -46,9 +47,10 @@ const SyglPage: React.FC = () => {
orient: 'vertical',
textStyle: {
color: "#fff",
fontSize: 15,
},
top:"10%",
right:"10%",
top:"24%",
right:"15%",
formatter: (name:any) => {
//console.log(name);
//console.log(chartData);