修改振动实时监控

master
suixy 1 week ago
parent f8f81ae44a
commit f74cf62ef7

@ -8,9 +8,10 @@
</head> </head>
<style> <style>
.chartDiv { .chartDiv {
width: 24.5%; width: 16%;
position: relative; position: relative;
display: inline-block; display: inline-block;
margin-bottom: 0.4vw;
} }
.height { .height {
@ -18,7 +19,7 @@
} }
.border { .border {
border: 1px solid #0002; border: 1px solid #67C23A;
padding: 0 1vw; padding: 0 1vw;
} }
@ -38,7 +39,7 @@
.chartDiv .time { .chartDiv .time {
font-size: 16px; font-size: 16px;
color: #0003; color: #409EFF;
width: 100%; width: 100%;
text-align: center; text-align: center;
} }
@ -59,8 +60,8 @@
} }
.chartDiv .text1 { .chartDiv .text1 {
font-size: 1.4vw; font-size: 1.1vw;
line-height: 3vw; line-height: 2.2vw;
} }
.chartDiv .mileage .num { .chartDiv .mileage .num {
@ -158,8 +159,8 @@
data.forEach((v, k) => { data.forEach((v, k) => {
let html = ` let html = `
<div class="chartDiv border" id="chartDiv"> <div class="chartDiv border" id="chartDiv">
<div class="title">${v.monitorName}</div> <div class="title" style="font-size: 1.4vw">${v.monitorName}</div>
<div class="time">${v.collectTime}</div> <div class="time" style="font-size: 1vw">${v.collectTime}</div>
<div class="text1">速度:${v.speed}mm/s</div> <div class="text1">速度:${v.speed}mm/s</div>
<div class="text1">位移:${v.displacement}um</div> <div class="text1">位移:${v.displacement}um</div>

Loading…
Cancel
Save