소스 검색

增加了开机率

liling 7 달 전
부모
커밋
48d1620b74
1개의 변경된 파일12개의 추가작업 그리고 5개의 파일을 삭제
  1. 12 5
      main.html

+ 12 - 5
main.html

@@ -87,7 +87,7 @@
 <div id="dev_state" show="设备状态">
     <div class="title"></div>
     <div class="content">
-        <div style="float: left;width: 100%;margin-top: 20px;">
+        <div style="float: left;width: 100%;margin-top: 10px;">
             <div title="设备总数"
                  style="float: left;width: 45%;margin-left: 4%;background: linear-gradient( 89deg, rgba(33,62,117,0.8) 0%, rgba(33,62,117,0) 100%);">
                 <img src="image/total_icon.png" style="float: left;width: 58px;">
@@ -106,7 +106,7 @@
                 <span style="float: left;font-size: 22px;color: #49A8FF;">(台)</span>
             </div>
         </div>
-        <div class="stat" style="float: left;width: 100%;margin-top: 35px;">
+        <div class="stat" style="float: left;width: 100%;margin-top: 10px;">
             <div title="落米停机数" style="float: left;width: 33%;color: #FFB342;">
                 <img src="image/t1.png" style="float: left;width: 40px;">
                 <span class="number" attr="stop6"
@@ -128,27 +128,34 @@
                 <span style="float: left;font-size: 15px;margin-top: 6px;">(台)</span>
                 <span style="float: left;font-weight: 500;font-size: 14px;color: #FFFFFF;line-height: 22px;text-align: left;width: 65%;margin-left: 1%;">停经片停机数</span>
             </div>
-            <div title="叫料数" style="float: left;width: 33%;margin-top: 15px;color: #FFB342;">
+            <div title="叫料数" style="float: left;width: 33%;margin-top: 7px;color: #FFB342;">
                 <img src="image/t1.png" style="float: left;width: 40px;">
                 <span class="number" attr="stop8"
                       style="float: left;font-family: Bebas Neue, Bebas Neue;font-weight: 700;font-size: 22px;line-height: 30px;text-align: left;font-style: normal;text-transform: none;margin-left: 1%;color: red;">-</span>
                 <span style="float: left;font-size: 15px;margin-top: 6px;">(台)</span>
                 <span style="float: left;font-weight: 500;font-size: 14px;color: #FFFFFF;line-height: 22px;text-align: left;width: 65%;margin-left: 1%;">叫料数</span>
             </div>
-            <div title="其他停机数" style="float: left;width: 33%;margin-top: 15px;color: #FFB342;">
+            <div title="其他停机数" style="float: left;width: 33%;margin-top: 7px;color: #FFB342;">
                 <img src="image/t1.png" style="float: left;width: 40px;">
                 <span class="number" attr="alarm"
                       style="float: left;font-family: Bebas Neue, Bebas Neue;font-weight: 700;font-size: 22px;line-height: 30px;text-align: left;font-style: normal;text-transform: none;margin-left: 1%;color: red;">-</span>
                 <span style="float: left;font-size: 15px;margin-top: 6px;">(台)</span>
                 <span style="float: left;font-weight: 500;font-size: 14px;color: #FFFFFF;line-height: 22px;text-align: left;width: 65%;margin-left: 1%;">其他停机数</span>
             </div>
-            <div title="盘头小于200圈" style="float: left;width: 33%;margin-top: 15px;color: #FFB342;">
+            <div title="盘头小于200圈" style="float: left;width: 33%;margin-top: 7px;color: #FFB342;">
                 <img src="image/t1.png" style="float: left;width: 40px;">
                 <span class="number" attr="stopPan"
                       style="float: left;font-family: Bebas Neue, Bebas Neue;font-weight: 700;font-size: 22px;line-height: 30px;text-align: left;font-style: normal;text-transform: none;margin-left: 1%;color: red;">-</span>
                 <span style="float: left;font-size: 15px;margin-top: 6px;">(台)</span>
                 <span style="float: left;font-weight: 500;font-size: 12px;color: #FFFFFF;line-height: 22px;text-align: left;width: 65%;margin-left: 1%;">盘头小于200圈</span>
             </div>
+            <div title="开机率" style="float: left;width: 33%;margin-top: 7px;color: #FFB342;">
+                <img src="image/t1.png" style="float: left;width: 40px;">
+                <span class="number" attr="runningRatio"
+                      style="float: left;font-family: Bebas Neue, Bebas Neue;font-weight: 700;font-size: 22px;line-height: 30px;text-align: left;font-style: normal;text-transform: none;margin-left: 1%;color: red;">-</span>
+                <span style="float: left;font-size: 15px;margin-top: 6px;">(%)</span>
+                <span style="float: left;font-weight: 500;font-size: 12px;color: #FFFFFF;line-height: 22px;text-align: left;width: 65%;margin-left: 1%;">开机率</span>
+            </div>
         </div>
     </div>
 </div>