mail-msg.blade.php 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8"/>
  5. <title>表格制作</title>
  6. <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/>
  7. <style>
  8. /*=========================Reset_start==========================*/
  9. body,h1,h2,h3,h4,h5,h6,div,p,dl,dt,dd,ol,ul,li,form,table,th,td,a,img,span,strong,var,em,input,textarea,select,option{margin: 0; padding: 0;}
  10. html,body{font-family:"Microsoft YaHei","SimSun","Arail","Tabhoma";text-align: left;}
  11. ul,ol{list-style: none;}
  12. body{background: #f6f6f6;}
  13. img{border: 0 none;}
  14. input,select,textarea{outline:0;}
  15. textarea{resize:none; overflow: auto;}
  16. table{border-collapse: collapse; border-spacing: 0;}
  17. th,strong,var,em{font-weight: normal; font-style: normal;}
  18. a{text-decoration: none;}
  19. a:link{color:#479eff;}
  20. a:visited{color:#479eff;}
  21. a:hover{}
  22. /*a:hover{text-decoration:underline;}*/
  23. /*a:active{color:#07780e;}*/
  24. *{margin: 0; padding: 0;}
  25. .clear:after{
  26. content: '';
  27. display: block;
  28. clear: both;
  29. }
  30. .box{
  31. max-width: 1400px;
  32. height: 100%;
  33. margin: 0 auto;
  34. overflow: hidden;
  35. padding: 20px 0;
  36. background: #fff;
  37. }
  38. .title{
  39. padding: 12px 0;
  40. width: 100%;
  41. margin: 20px 0 50px 0;
  42. font-size: 18px;
  43. color: #fff;
  44. text-align: center;
  45. background: #3ea2ee;
  46. }
  47. .content{
  48. padding: 0 15px;
  49. }
  50. .content_width{
  51. max-width:100% !important;
  52. padding: 0 !important;
  53. }
  54. .line{
  55. width: 100%;border-bottom: 1px solid #dfdfdf;margin-bottom: 20px;
  56. }
  57. .person_search{
  58. width: 100%;
  59. height: auto;
  60. overflow: hidden;
  61. background: #fff;
  62. margin:20px 0;
  63. padding-bottom: 10px;
  64. border-radius: 5px;
  65. -webkit-border-radius: 5px;
  66. -moz-border-radius: 5px;
  67. }
  68. .search_input{
  69. /*width: 200px;*/
  70. height:35px;
  71. line-height: 35px;
  72. margin: 15px 10px 0 0;
  73. float: left;
  74. }
  75. .search_input span{
  76. margin-left: 15px;
  77. font-size: 13px;
  78. color: #666;
  79. display: inline-block;
  80. float: left;
  81. }
  82. .search_input input{
  83. /*width: 1%;*/
  84. width:180px;
  85. height: 35px;
  86. border: 1px solid #dfdfdf;
  87. border-radius: 3px !important;
  88. padding: .0rem .75rem;
  89. font-size: 13px;
  90. color: #dfdfdf !important;
  91. line-height: 35px;
  92. display: inline-block;
  93. }
  94. .search_submit{
  95. margin: 15px 5px 0 0;
  96. }
  97. .search_input .search_btn{
  98. width: 80px;
  99. height: 35px;
  100. font-size: 13px;
  101. background: #3ea2ee;
  102. border: none;
  103. border-radius: 3px;
  104. padding: .0rem .75rem;
  105. margin-left: 15px;
  106. line-height: 1.0;
  107. margin-bottom: 0.4rem;
  108. }
  109. .search_submit input[type='button']{
  110. width: 80px;
  111. height: 35px;
  112. font-size: 13px;
  113. background: #3ea2ee;
  114. border: none;
  115. border-radius: 3px;
  116. padding: .0rem .75rem;
  117. margin-left: 15px;
  118. line-height: 1.0;
  119. }
  120. .search_submit input[type='reset']{
  121. width: 80px;
  122. height: 35px;
  123. color: #3ea2ee;
  124. font-size: 13px;
  125. background: none;
  126. border: 1px solid #3ea2ee;
  127. border-radius: 3px;
  128. padding: .0rem .75rem;
  129. line-height: 1.0;
  130. }
  131. .modal-footer{
  132. margin-top: 30px;
  133. text-align: center !important;
  134. }
  135. .modal-footer button:nth-child(1){
  136. color: #3ea2ee;
  137. border: 1px solid #3ea2ee;
  138. }
  139. .modal-footer button:nth-child(2){
  140. color: #fff;
  141. background: #3ea2ee !important;
  142. }
  143. .modal-footer button:nth-child(2):hover{
  144. color: #fff;
  145. background: #3ea2ee !important;
  146. }
  147. -moz-input-placeholder {
  148. color: #666666 !important;
  149. font-size: 12px;
  150. }
  151. -webkit-input-placeholder {
  152. color: #dfdfdf !important;
  153. font-size: 12px;
  154. }
  155. -o-input-placeholder {
  156. color: #666666 !important;
  157. font-size: 12px;
  158. }
  159. -ms-input-placeholder {
  160. color: #666666 !important;
  161. font-size: 12px;
  162. }
  163. .person_content{
  164. width: 100%;
  165. height: auto;
  166. background: #fff;
  167. padding: 15px 15px;
  168. border-radius: 5px;
  169. -webkit-border-radius: 5px;
  170. -moz-border-radius: 5px;
  171. }
  172. .table th{
  173. border-top: 1px solid #f0f0f0 !important;
  174. border-bottom: 1px solid #f0f0f0 !important;
  175. color: #595e66 !important;
  176. /*background: #e3f3ff;
  177. background: #f7f7f7;*/
  178. background: #f5f7fa;
  179. font-size: 13px;
  180. text-align: center;
  181. font-weight: 600 !important;
  182. }
  183. .table td{
  184. color: #61666e;
  185. font-size: 12px;
  186. text-align: center;
  187. border-bottom: 1px solid #f0f0f0 !important;
  188. }
  189. .table tr:hover{
  190. background: #f5f7fa !important;
  191. }
  192. .table input{
  193. width:80px;
  194. height: 32px;
  195. border: 1px solid #dfdfdf;
  196. border-radius: 3px !important;
  197. padding: .0rem .75rem;
  198. font-size: 13px;
  199. color: #666 !important;
  200. line-height: 32px;
  201. display: inline-block;
  202. }
  203. /*弹窗的单元格*/
  204. #xztb tr td input{
  205. width:100% !important;
  206. padding: 0 0.5rem;
  207. height: 35px;
  208. }
  209. #xztb tr .tb_bg{
  210. background: #f5f7fa;
  211. }
  212. .save{
  213. margin-right:10px;
  214. color: #479eff;
  215. }
  216. .edit{
  217. margin-right:10px;
  218. color: #479eff;
  219. }
  220. .save_none{
  221. display:none;
  222. color: #479eff;
  223. margin-right:10px;
  224. }
  225. .edit_none{
  226. display:none;
  227. color: #479eff;
  228. margin-right:10px;
  229. }
  230. .del{
  231. color: #479eff;
  232. }
  233. .export{
  234. margin-bottom: 16px;
  235. height: 25px;
  236. line-height: 25px;
  237. float: left;
  238. }
  239. .export img{
  240. width: 16px;
  241. height: 16px;
  242. margin-right:6px;
  243. }
  244. .export span{
  245. padding-top:2px !important;
  246. }
  247. /*.export button{
  248. color:#479eff;
  249. background: none;
  250. border: none;
  251. opacity: 0.9;
  252. }*/
  253. .modal_position{
  254. margin: 10.00rem auto !important;
  255. }
  256. .export button{
  257. color:#3ea2ee;
  258. /*background: #3ea2ee;*/
  259. background: none !important;
  260. border: none;
  261. opacity: 0.9;
  262. height: 35px;
  263. line-height: 1.5rem;
  264. border-radius: 3px;
  265. text-align: center;
  266. margin-right: 10px;
  267. }
  268. .export button:hover{
  269. color: #3ea2ee;
  270. /*background: #3ea2ee;*/
  271. opacity: 1;
  272. }
  273. .container_width{
  274. max-width: 100%;
  275. padding: 0 70px;
  276. }
  277. /*页码设置*/
  278. .page {
  279. float: right;
  280. margin: 3px 46px 0 0;
  281. }
  282. .pagination {
  283. display: -webkit-box;
  284. display: -ms-flexbox;
  285. display: flex;
  286. padding-left: 0;
  287. list-style: none;
  288. border-radius: .25rem;
  289. }
  290. .page ol li.page_one a {
  291. display: inline-block;
  292. width: 24px;
  293. height: 24px;
  294. float: left;
  295. color: #61666e;
  296. padding: 0 !important;
  297. line-height: 24px;
  298. text-align: center;
  299. border-radius: 2px;
  300. -webkit-border-radius: 2px;
  301. -moz-border-radius: 2px;
  302. }
  303. .page-link:not(:disabled):not(.disabled) {
  304. cursor: pointer;
  305. }
  306. .page-link {
  307. position: relative;
  308. display: block;
  309. padding: .5rem .75rem;
  310. margin-left: 10px !important;
  311. line-height: 1.25;
  312. color: #007bff;
  313. background-color: #fff;
  314. border: 1px solid #dee2e6;
  315. }
  316. .page_two span {
  317. color: #666;
  318. font-size: 14px;
  319. margin-left: 15px;
  320. }
  321. .page_two input {
  322. width: 48px;
  323. height: 24px;
  324. margin: 0 8px;
  325. padding-left: 6px;
  326. border: 1px solid #dfdfdf;
  327. border-radius: 2px;
  328. -webkit-border-radius: 2px;
  329. -moz-border-radius: 2px;
  330. }
  331. /*弹窗设置*/
  332. .add_person {
  333. height: 32px !important;
  334. margin-bottom: 1.5rem;
  335. }
  336. .add_person span {
  337. display: inline-block;
  338. width: auto;
  339. color: #666;
  340. font-size: 14px;
  341. height: 32px;
  342. line-height: 32px;
  343. }
  344. .add_person .col-3 {
  345. padding-left: 0px;
  346. float: left;
  347. }
  348. .add_person .col-9 {
  349. padding-left: 0px;
  350. float: left;
  351. }
  352. .form-control {
  353. display: block;
  354. width: 100%;
  355. padding: .375rem .75rem;
  356. font-size: 1rem;
  357. line-height: 1.5;
  358. color: #495057;
  359. background-color: #fff;
  360. background-clip: padding-box;
  361. border: 1px solid #ced4da;
  362. border-radius: .25rem;
  363. transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
  364. }
  365. .add_person .col-9 .col-6 .form-check {
  366. margin-bottom: 1rem;
  367. }
  368. .form-check {
  369. margin-right: 1rem;
  370. color: #666;
  371. font-size: 12px;
  372. height: 35px;
  373. line-height: 35px;
  374. }
  375. .bootbox{background: rgba(0,0,0,0.5);}
  376. #Ktext{color: #3ea2ee !important;}
  377. </style>
  378. <link rel="stylesheet" type="text/css" href="https://cdn.bootcss.com/twitter-bootstrap/4.2.1/css/bootstrap.min.css"/>
  379. </head>
  380. <body>
  381. <div class="box" style='max-width:100%;'>
  382. <div class="title" style='background:white;color:black;font-weight: bold;font-size:20px;margin-bottom:0;'>{{ $info['title'] }}</div>
  383. <div class="content">
  384. <!--表格列表-->
  385. <table id="tb" class="table" style="width:100%;">
  386. <thead>
  387. <tr>
  388. <th style='text-align:left;'>矿区名称</th>
  389. <th style='text-align:left;'>区域名称</th>
  390. <th style='text-align:left;'>摄像头名称</th>
  391. <th style='text-align:left;'>状态</th>
  392. <th style='text-align:left;'>返回信息</th>
  393. <th style='text-align:left;'>访问时间</th>
  394. <th style='text-align:left;'>访问次数</th>
  395. </tr>
  396. </thead>
  397. <tbody id="show_tbody">
  398. @foreach($info['content'] as $k=>$v)
  399. <tr>
  400. <td style='text-align:left;'>{{ $v['mine_name'] }}</td>
  401. <td style='text-align:left;'>{{ $v['title'] }}</td>
  402. <td style='text-align:left;'>{{ $v['camera_name'] }}</td>
  403. <td style='text-align:left;'>{{ $v['status'] }}</td>
  404. <td style='text-align:left;'>{{ $v['log'] }}</td>
  405. <td style='text-align:left;'>{{ $v['created_at'] }}</td>
  406. <td style='text-align:left;'>{{ $v['count'] }}</td>
  407. </tr>
  408. @endforeach
  409. </tbody>
  410. </table>
  411. </div>
  412. </div>
  413. </body>
  414. </html>