소스 검색

前端界面优化

oyq28 1 년 전
부모
커밋
c384f2e9ac
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/main/resources/static/admin/bigScreen/index.html

+ 2 - 2
src/main/resources/static/admin/bigScreen/index.html

@@ -117,8 +117,8 @@
                       <table>
                                 <thead>
                                 <tr>
-                                    <th>${device.deviceState}</th>
-                                    <th>${device.deviceWorkState == null ? '' : device.deviceWorkState}</th>
+                                    <th style="color: ${device.deviceState === '在线' ? 'green' : 'red'};">${device.deviceState}</th>
+                                    <th style="color: ${device.deviceWorkState === '加工' ? '' : 'orange'};">${device.deviceWorkState == null ? '' : device.deviceWorkState}</th>
                                 </tr>
                                 </thead>
                                 <tbody>