daily_record_details.html 8.2 KB

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