生成图片

master
夜笙歌 6 months ago
parent 78c320d3fe
commit e1dc4ea663

@ -196,6 +196,7 @@
const getData = () => { const getData = () => {
$.post(prefix + '/newDataStreak', {monitorId}, (e) => { $.post(prefix + '/newDataStreak', {monitorId}, (e) => {
$(".centerDiv").css({'display': 'none'})
for (let index = 1; index <= e.data.length; index++) { for (let index = 1; index <= e.data.length; index++) {
$('.centerDiv' + index).css({'display': 'inline-block'}) $('.centerDiv' + index).css({'display': 'inline-block'})
let getColorByTemperature = {} let getColorByTemperature = {}
@ -318,7 +319,7 @@
border: 1vw solid #fff; border: 1vw solid #fff;
border-radius: 0.25vw; border-radius: 0.25vw;
width: 20vw; width: 20vw;
height: 189vw; height: 18vw;
display: none; display: none;
margin-bottom: 6px; margin-bottom: 6px;
} }

Loading…
Cancel
Save