Kaynağa Gözat

前端界面优化

oyq28 1 yıl önce
ebeveyn
işleme
c384f2e9ac

+ 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>