gzyjIndex.htm 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>污水处理——故障报警</title>
  5. <style type="text/css">
  6. .cotainer{
  7. display: flex;
  8. flex-direction: column;
  9. margin: 14px;
  10. }
  11. .dclgz{
  12. flex-direction: row;
  13. display: flex;
  14. color: #353a84;
  15. font-weight: bold;
  16. border-top: solid #c4c2c2 1px;
  17. border-bottom: solid #c4c2c2 1px;
  18. margin-bottom: 8px;
  19. font-size: 0.22rem;
  20. }
  21. .dclgz>:first-child{
  22. flex:0.95;
  23. padding-top: 4px;
  24. }
  25. .dclgz>:last-child{
  26. background-color: #3a3d84;
  27. width: 23px;
  28. height: 23px;
  29. border-radius: 50%;
  30. margin-top: 0.05rem;
  31. }
  32. .square{
  33. width: 15px;
  34. height: 15px;
  35. margin-top: 4px;
  36. margin-left: 4px;
  37. border: solid white 1px;
  38. }
  39. tbody>:nth-child(odd){
  40. background-color: #f3f3f3;
  41. }
  42. tbody>:first-child{
  43. text-align: center;
  44. background-color: #c3dafb;
  45. color: black;
  46. }
  47. tr>:first-child{
  48. width: 63%;
  49. }
  50. .num{
  51. width: 15px;
  52. height: 10px;
  53. background-color: red;
  54. position: relative;
  55. left: 9px;
  56. top: -17px;
  57. border-radius: 26%;
  58. font-size: 9px;
  59. color: wheat;
  60. text-align: center;
  61. }
  62. table tr td{
  63. line-height: 0.5rem !important;
  64. }
  65. </style>
  66. <script type="text/javascript">
  67. var iscroll;
  68. /**
  69. * 初始化滚动条
  70. * */
  71. iscroll = new IScroll(".wsclIscroll",{
  72. scrollbars: true,
  73. fadeScrollbars:true,
  74. scrollbars: 'custom',
  75. shrinkScrollbars:'clip',
  76. click:true
  77. });
  78. setTimeout(function(){
  79. iscroll.refresh();
  80. }, 100);
  81. function dclgz(){
  82. //待处理故障
  83. $("#bjsz").show();
  84. $("#qtsz").hide();
  85. $(".suosou").hide();
  86. $("#title").html("故障消息");
  87. haifm.loadMobilePage("wsclMenu", "wsclGzdclIndex.htm?mcid=" + $("#mcid").val());
  88. }
  89. </script>
  90. </head>
  91. <body>
  92. <section class="wsclIscroll" style="background: #fff;">
  93. <div class="cotainer">
  94. <div class="dclgz" onclick="dclgz();">
  95. <div>待处理故障</div>
  96. <div>
  97. <div>
  98. <div class="square">
  99. </div>
  100. <div class="num">
  101. $!count
  102. </div>
  103. </div>
  104. </div>
  105. </div>
  106. <div>
  107. <table style="width:100%;">
  108. <tr style="text-align: center;">
  109. <td>故障说明</td>
  110. <td>发生时间</td>
  111. </tr>
  112. #foreach($!obj in $!sbgzList)
  113. <tr>
  114. <td>$!obj.gzlx</td>
  115. <td>$!dateTool.format('yyyy-MM-dd HH:mm:ss', $!obj.fssj)</td>
  116. </tr>
  117. #end
  118. </table>
  119. </div>
  120. </div>
  121. </section>
  122. </body>
  123. </html>