patrol_son_details.html 7.8 KB

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