msglist.htm 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>消息列表</title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. #include("template/huimv-hkclient-head.vm")
  8. <script src="views/hkclient/js/msg.js"></script>
  9. <link href="views/hkclient/css/msg_list.css" rel="stylesheet">
  10. <style rel="stylesheet">
  11. body, html {
  12. height: 100%;
  13. background: url('views/hkclient/img/bjt.jpg');
  14. background-repeat: no-repeat;
  15. background-size: 325%;
  16. background-position-X: -1345px;
  17. background-position-y: -380px;
  18. }
  19. /* 改 */
  20. #secA,#secB,#secC {
  21. height: 31.5%;
  22. }
  23. #secC {
  24. margin-bottom: 1.5%;
  25. }
  26. .flex-container section {
  27. background: url('views/hkclient/img/scsjbk.PNG');
  28. background-repeat: no-repeat;
  29. background-size: 100% 100%;
  30. background-color: transparent;
  31. position: relative;
  32. background-position: 0;
  33. }
  34. .flex-container section .tillt {
  35. padding: 0 25px;
  36. }
  37. .flex-container section#secA ul {
  38. padding: 0 2% 0 18%;
  39. }
  40. .flex-container section .tillt {
  41. text-shadow: 0 0 6px #fff;
  42. height: 25px;
  43. margin: 11px 0;
  44. position: relative;
  45. display: flex;
  46. flex-direction: row;
  47. align-items: center;
  48. }
  49. .flex-container section .tillt h5 {
  50. position: absolute;
  51. width: 20%;
  52. height: 25px;
  53. line-height: 25px;
  54. padding: 0 11px;
  55. margin: 0;
  56. font-size: 12px;
  57. z-index: 9;
  58. top: -7px;
  59. }
  60. #xxlist li img {
  61. width: 100%;
  62. height: 200px;
  63. position: absolute;
  64. }
  65. #xxlist li{
  66. background: url('views/hkclient/img/drjqbk.PNG');
  67. background-size: 100% 100%;
  68. background-repeat: no-repeat;
  69. background-position: 0;
  70. margin: 6px 0;
  71. padding: 8px 15px;
  72. font-size:16px;
  73. }
  74. #xxlist li .text-right {
  75. margin-right: 1em;
  76. }
  77. #xxlist li .cont1 {
  78. margin-left: 1em;
  79. overflow: hidden;
  80. text-overflow: ellipsis;
  81. white-space: nowrap;
  82. }
  83. @font-face {
  84. font-family: myFirstFont;
  85. src: url('views/hkclient/font/font-family.ttf');
  86. }
  87. .ts .col-xs-3 span {
  88. font-family:myFirstFont;
  89. position: absolute;top: 2px;right: 0;
  90. }
  91. #clock {
  92. background-color: transparent;
  93. }
  94. @media screen and (max-width: 500px) {
  95. #secA, #secB, #secC {
  96. height: 31%;
  97. }
  98. body, html {
  99. background-position-X: 0px;
  100. background-position-y: 0px;
  101. }
  102. #xxlist li {
  103. background-size: 90% 100%;
  104. margin: 6px 0 6px 30px;
  105. padding: 4px 10px;
  106. font-size:12px;
  107. }
  108. #xxlist li .cont1 {
  109. margin-left:0;
  110. }
  111. #xxlist li .text-right {
  112. margin-right: 1.5em;
  113. }
  114. .flex-container section .tillt {
  115. margin: 6px 0;
  116. padding: 0 15px;
  117. }
  118. #clock {
  119. flex-wrap: inherit;
  120. }
  121. }
  122. </style>
  123. </head>
  124. <body>
  125. <input type="hidden" id="jrwcl" value="$!jrwcl"/>
  126. <input type="hidden" id="zrwcl" value="$!zrwcl"/>
  127. <input type="hidden" id="mcid" value="$!mcid"/>
  128. <section class="flex-container" style="justify-content: initial;">
  129. <section id="secA" style="margin-top: 12px;display: flex;flex-direction: column;">
  130. <div class="tillt">
  131. <h5>警情信息</h5>
  132. </div>
  133. <canvas id="canvasleft" style="background:transparent;position: absolute;left: -94px;top: 50%;transform: translateY(-50%);"></canvas>
  134. <!-- <canvas id="canvasright" style="background:transparent;position: absolute;right: -94px;top: 50%;transform: translateY(-50%);"></canvas> -->
  135. <div style="overflow: hidden;flex: 1;margin-bottom: 5%;">
  136. <ul class="nav clearfix" id="xxlist"></ul>
  137. </div>
  138. <div style="overflow: hidden;">
  139. <ul class="nav clearfix" id="xxlistCopy"></ul>
  140. </div>
  141. </section>
  142. <section class="secB" id="secB">
  143. <div class="tillt">
  144. <h5>水压</h5>
  145. </div>
  146. <div class="wrapper flex-container">
  147. <div id="chartD"></div>
  148. </div>
  149. </section>
  150. <section id="secC" id="secC">
  151. <div class="tillt">
  152. <h5>PH</h5>
  153. </div>
  154. <div class="wrapper flex-container">
  155. <div id="chartE"></div>
  156. </div>
  157. </section>
  158. </section>
  159. </body>
  160. </html>