ptsnhjMobileBody.htm 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>ptsnhjBody</title>
  5. <style type="text/css">
  6. .aDiv {
  7. margin: 10px 0px 10px 0px;
  8. width: 100%;
  9. color: #333;
  10. text-align: center;
  11. line-height: 2;
  12. background: #FCF9F9;
  13. }
  14. .aDiv .sheInfo {
  15. height: 11.5em;
  16. width: 48%;
  17. border: 1px solid rgb(205, 197, 197);
  18. border-radius: 5px;
  19. margin: 3px 2.5px;
  20. padding: 0px 0px 0px 0px;
  21. float: left;
  22. }
  23. .aDiv .sheInfo .sheTitle {
  24. font-size: 1em;
  25. font-weight: bold;
  26. background-color: rgb(205, 197, 197);
  27. }
  28. .aDiv .sheInfo .leftUl {
  29. width: 40%;
  30. float: left;
  31. text-align: left;
  32. font-size: 0.75em;
  33. }
  34. .aDiv .sheInfo .rightUl {
  35. width: 60%;
  36. float: left;
  37. text-align: left;
  38. font-size: 0.75em;
  39. }
  40. .page {
  41. margin: 10px 0px 0px 0px;
  42. text-align: center;
  43. font-size: 0.8em;
  44. }
  45. .white_content {
  46. display: none;
  47. position: absolute;
  48. top: 20%;
  49. left: 4%;
  50. width: 90%;
  51. height: 35%;
  52. border: 5px solid #D6E9F1;
  53. background-color: white;
  54. z-index: 1002;
  55. overflow: auto;
  56. }
  57. .black_overlay {
  58. display: none;
  59. position: absolute;
  60. top: 0%;
  61. left: 0%;
  62. width: 100%;
  63. height: 100%;
  64. background-color: #8B8B8B;
  65. z-index: 1001;
  66. -moz-opacity: 0.8;
  67. opacity: .80;
  68. filter: alpha(opacity = 80);
  69. }
  70. .close {
  71. float: right;
  72. clear: both;
  73. width: 100%;
  74. text-align: right;
  75. margin: 5px 5px 5px 0;
  76. }
  77. .close a {
  78. color: #5411F7;
  79. text-decoration: none;
  80. font-size: 16px;
  81. font-weight: 700
  82. }
  83. .info_table {
  84. text-align: left;
  85. width: 100%;
  86. height: 100%;
  87. font-size: 15px;
  88. }
  89. div#content {
  90. width: 100%;
  91. text-align: center;
  92. }
  93. .clearfix:after /*一个元素可以同时应用多个class样式*/ {
  94. content: " ";
  95. visibility: hidden;
  96. display: block;
  97. height: 0;
  98. clear: both;
  99. }
  100. </style>
  101. <script type="text/javascript">
  102. function pageClick(mcid, page) {
  103. jQuery("#ptsMainBody").load("ptslxhMobileBody.htm?page="+ page);
  104. }
  105. </script>
  106. </head>
  107. <body>
  108. <input type="hidden" value="$!type" id="type">
  109. <input type="hidden" value="$!mcid" id="mcid">
  110. <div id="ptsMainInfo" style="width:100%;">
  111. <div class="aDiv clearfix">
  112. #foreach ($!obj in $!list)
  113. <div class="sheInfo">
  114. <ul>
  115. <li>
  116. <h4 class="sheTitle">
  117. <a href="#" onclick="javascript:loadPtsTjt('$!obj.mcid', '$!obj.zsid', '$!obj.lqid', 'snwd');">$!obj.zsmc&nbsp;&nbsp;&nbsp;</a>
  118. </h4>
  119. </li>
  120. </ul>
  121. <ul class="leftUl">
  122. <li>栏期名称:</li>
  123. <li>入栏天数:</li>
  124. <li>当天温度:</li>
  125. <li>当天湿度:</li>
  126. <li>氨气浓度:</li>
  127. </ul>
  128. <ul class="rightUl">
  129. <li>$!obj.lqmc</li>
  130. <li>$!obj.rlts 天</li>
  131. <li>
  132. $!obj.mindqwd - $!obj.maxdqwd ℃
  133. #if("$!obj.bjjb.wdFlag" == "1")
  134. &nbsp;<img src="images/greenBj.gif" height="16px" width="16px" title="温度报警一级"/>
  135. #elseif("$!obj.bjjb.wdFlag" == "2")
  136. &nbsp;<img src="images/yellowBj.gif" height="16px" width="16px" title="温度报警二级"/>
  137. #elseif("$!obj.bjjb.wdFlag" == "3")
  138. &nbsp;<img src="images/redBj.gif" height="16px" width="16px" title="温度报警三级"/>
  139. #end
  140. </li>
  141. <li>
  142. $!obj.mindqsd - $!obj.maxdqsd rh
  143. #if("$!obj.bjjb.sdFlag" == "1")
  144. &nbsp;<img src="images/greenBj.gif" height="16px" width="16px" title="湿度报警一级"/>
  145. #elseif("$!obj.bjjb.sdFlag" == "2")
  146. &nbsp;<img src="images/yellowBj.gif" height="16px" width="16px" title="湿度报警二级"/>
  147. #elseif("$!obj.bjjb.sdFlag" == "3")
  148. &nbsp;<img src="images/redBj.gif" height="16px" width="16px" title="湿度报警三级"/>
  149. #end
  150. </li>
  151. <li>$!obj.minaqnd - $!obj.maxaqnd ppm</li>
  152. </ul>
  153. </div>
  154. #end
  155. </div>
  156. </div>
  157. <div class="page">
  158. #foreach($!obj in $!pageList)
  159. <span>第&nbsp;
  160. #if ($!page == $!obj.page)
  161. <a href="#" style="font-size:0.9em;color:black;text-decoration:none;">$!obj.page</a>
  162. #else
  163. <a href="#" style="font-size:0.9em" onclick="javascrpt:pageClick('$!obj.mcid','$!obj.page')">$!obj.page</a>
  164. #end
  165. &nbsp;页
  166. </span>
  167. #end
  168. </div>
  169. </body>
  170. </html>