浏览代码

前端界面优化

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>