update
This commit is contained in:
@@ -61,6 +61,7 @@ export function sleepCharts({ time, short, long, awake, type }) {
|
||||
borderColor: '#1b7ef2',
|
||||
},
|
||||
legend: {
|
||||
orient: 'horizontal',
|
||||
data: ['清醒', '浅睡', '深睡'],
|
||||
textStyle: {
|
||||
color: '#ffffff',
|
||||
@@ -69,7 +70,7 @@ export function sleepCharts({ time, short, long, awake, type }) {
|
||||
height: 40,
|
||||
itemHeight: 14,
|
||||
top: -5,
|
||||
left: '52%',
|
||||
right: '15%',
|
||||
},
|
||||
color: ['#14B3F8', '#6D7BEB', '#5451DC'],
|
||||
xAxis: {
|
||||
|
||||
@@ -75,7 +75,7 @@
|
||||
|
||||
.count {
|
||||
position: absolute;
|
||||
width: 77%;
|
||||
width: 71%;
|
||||
top: 51%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
@@ -105,6 +105,8 @@
|
||||
setIsShow(true);
|
||||
}
|
||||
);
|
||||
} else {
|
||||
Map.removeOverlayGroup();
|
||||
}
|
||||
} catch {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user