daily_record_details.html 8.1 KB

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