patrol_son_details.html 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport"
  6. content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  7. <meta http-equiv="X-UA-Compatible" content="ie=edge">
  8. <script type="text/javascript" src="/static/jquery-2.2.4.min.js"></script>
  9. <script type="text/javascript" src="/static/layer/layer.js"></script>
  10. <script type="text/javascript" src="/admin/js/common.js"></script>
  11. <link rel="stylesheet" href="/static/bootstrap-3.3.7/css/bootstrap.css">
  12. <title>详情</title>
  13. <style>
  14. body{
  15. background-color: #F1F1F1;
  16. }
  17. .container{
  18. max-width: 750px;
  19. height: auto;
  20. margin: 0 auto;
  21. padding: 0px 6px;
  22. }
  23. .patrol-details-all{
  24. width: 100%;
  25. height: auto;
  26. background-color: #ffffff;
  27. border-radius: 10px;
  28. padding: 0px 13px;
  29. margin-top: 5px;
  30. }
  31. .patrol-over{
  32. width: 100%;
  33. height: 40px;
  34. line-height: 40px;
  35. color: #148d8f;
  36. border-bottom: 1.2px solid #B3C9C4;
  37. font-weight: 600;
  38. font-size: 15px;
  39. letter-spacing: 1px;
  40. }
  41. .patrol-over-content{
  42. width: 100%;
  43. height: 75px;
  44. }
  45. .patrol-over-info{
  46. width: 100%;
  47. height: 35px;
  48. line-height: 35px;
  49. border-bottom:1px solid #F1F1F1;
  50. }
  51. .left{
  52. font-size: 14px;
  53. color: #0f0f0f;
  54. float: left;
  55. letter-spacing: 1px;
  56. }
  57. .right{
  58. font-size: 13px;
  59. color: #A9A9A9;
  60. float: right;
  61. }
  62. .patrol-item{
  63. width: 100%;
  64. height: auto;
  65. margin-top: 5px;
  66. padding: 0px 13px;
  67. background-color: #ffffff;
  68. border-radius: 10px;
  69. overflow: hidden;
  70. }
  71. .patrol-item-title{
  72. width: 100%;
  73. height: 40px;
  74. line-height: 40px;
  75. color: #148d8f;
  76. font-weight: 600;
  77. font-size: 15px;
  78. letter-spacing: 1px;
  79. }
  80. .patrol-item-content{
  81. width: 100%;
  82. height: 35px;
  83. line-height: 35px;
  84. /*margin-bottom: 5px;*/
  85. /*border-bottom: 1px solid #f1f1f1;*/
  86. }
  87. .patrol-item-content text{
  88. display: inline-block;
  89. width: 90%;
  90. font-size: 14px;
  91. color: #0f0f0f;
  92. float: left;
  93. letter-spacing: 1px;
  94. }
  95. .patrol-item-content img{
  96. max-width: 10%;
  97. width: 20px;
  98. height: 20px;
  99. float: right;
  100. margin-top: 8px;
  101. }
  102. .report-content{
  103. width: 100%;
  104. height: auto;
  105. background-color: #ffffff;
  106. border-radius: 10px;
  107. margin-top: 5px;
  108. padding: 0px 13px;
  109. overflow: hidden;
  110. }
  111. .report-content-info{
  112. width: 100%;
  113. height: auto;
  114. padding: 10px 0px;
  115. font-size: 14px;
  116. letter-spacing: 1px;
  117. overflow: hidden;
  118. }
  119. .report-image{
  120. width: 100%;
  121. height: auto;
  122. background-color: #ffffff;
  123. border-radius: 10px;
  124. margin-top: 5px;
  125. padding: 12px 60px 5px 60px;
  126. overflow: hidden;
  127. }
  128. .images{
  129. display: inline-block;
  130. width: 50px;
  131. height: 60px;
  132. margin-left: 6px;
  133. margin-top: 8px;
  134. }
  135. .images img{
  136. width: 50px;
  137. height: 60px;
  138. }
  139. .report-hint{
  140. width: 100%;
  141. height: 20px;
  142. line-height: 20px;
  143. text-align: center;
  144. margin-top: 20px;
  145. font-size: 13px;
  146. color: #A9A9A9;
  147. }
  148. .footer-back{
  149. position: fixed;
  150. z-index: 1000;
  151. width: 100%;
  152. height: 45px;
  153. line-height: 45px;
  154. background-color: #ffffff;
  155. bottom: 0;
  156. left: 0;
  157. box-shadow: 0px 0px 10px 0px rgba(26, 25, 26, 0.05);
  158. display: table-cell;
  159. vertical-align: middle;
  160. text-align: center;
  161. }
  162. .footer-back a img{
  163. width: 43px;
  164. height: 43px;
  165. }
  166. .forms-content{
  167. width: 100%;
  168. height: 35px;
  169. border-top: 1.2px solid #B3C9C4;
  170. background-color: #ffffff;
  171. }
  172. .forms-content-left{
  173. width: 100px;
  174. height: 35px;
  175. line-height: 35px;
  176. display: inline-block;
  177. font-size: 14px;
  178. color: #0f0f0f;
  179. float: left;
  180. letter-spacing: 1px;
  181. }
  182. .forms-content-right{
  183. width: 100px;
  184. height: 30px;
  185. line-height: 30px;
  186. display: inline-block;
  187. font-size: 14px;
  188. color: #0f0f0f;
  189. float: right;
  190. letter-spacing: 1px;
  191. text-align: right;
  192. }
  193. .forms-remark{
  194. width: 100%;
  195. height: auto;
  196. padding: 5px 3px 10px 3px;
  197. font-size: 13px;
  198. color: #148d8f;
  199. letter-spacing: 1px;
  200. }
  201. </style>
  202. </head>
  203. <body>
  204. <div class="container">
  205. <!-- 完成情况-->
  206. <div class="patrol-details-all">
  207. <div class="patrol-over">完成情况</div>
  208. <div class="patrol-over-content">
  209. <div class="patrol-over-info">
  210. <text class="left">{$info['patrol_type']}人员:</text>
  211. <text class="right">{$info['patrol_user']}</text>
  212. </div>
  213. <div class="patrol-over-info" style="border-bottom:0">
  214. <text class="left">记录时间:</text>
  215. <text class="right">{$info['patrol_time']}</text>
  216. </div>
  217. </div>
  218. </div>
  219. <!-- 巡更项-->
  220. {if $info['forms']}
  221. <div class="patrol-item">
  222. <div class="patrol-item-title">{$info['patrol_type']}项</div>
  223. {foreach $info['forms'] as $k=>$v}
  224. {foreach $v['forms'] as $kk=>$vv }
  225. {if $vv['type'] == 0}
  226. <div class="patrol-item-content">
  227. <text>{$vv['title']}</text>
  228. <img src="/img/h5/over2x.png">
  229. </div>
  230. {/if}
  231. {if ($vv['type'] == 1)}
  232. <div class="forms-content">
  233. <div class="forms-content-left">{$vv['title']}</div>
  234. <div class="forms-content-right">{$vv['result']}</div>
  235. </div>
  236. {if (!empty($vv['remark']) && (isset($vv['remark'])))}
  237. <div class="forms-remark">{$vv['remark']}</div>
  238. {/if}
  239. {/if}
  240. {/foreach}
  241. {/foreach}
  242. </div>
  243. {/if}
  244. <!-- 汇报内容-->
  245. <div class="report-content">
  246. <div class="patrol-over">汇报内容</div>
  247. <div class="report-content-info">{$info['content']}</div>
  248. </div>
  249. {if !empty($info['img'])}
  250. <div class="report-image">
  251. {foreach $info['img'] as $k=>$v}
  252. <div class="images">
  253. <img src="{$v}" onclick="open_img(this)">
  254. </div>
  255. {/foreach}
  256. <div class="report-hint">(点击可查看图片详细信息)</div>
  257. </div>
  258. {/if}
  259. <div class="footer-back">
  260. <a href="javascript:;" onclick="javascript:history.back(-1);"><img src="/img/back.png"></a>
  261. </div>
  262. </div>
  263. </body>
  264. </html>