index.html 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324
  1. <!DOCTYPE html>
  2. <html lang="en" id="htmlRoot">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  6. <meta name="renderer" content="webkit" />
  7. <meta name="keywords" content="水文气象监测系统" />
  8. <meta name="description" content="水文气象监测系统" />
  9. <meta http-equiv="Expires" content="0" />
  10. <meta http-equiv="Cache-control" content="no-cache" />
  11. <meta http-equiv="Cache" content="no-cache" />
  12. <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0" />
  13. <title>水文气象监测系统</title>
  14. <link rel="icon" href="/favicon.ico" />
  15. <script src="./static/jessibuca/jessibuca.js"></script>
  16. <script src="./static/MicroFrontend.js"></script>
  17. <script src="./static/mapConfig.js"></script>
  18. <!-- <script src="./static/grant.js"></script> -->
  19. <script src="http://106.12.170.138:4001/build/grant.js"></script>
  20. <link rel="stylesheet" href="./public/static/jessibuca/iconfont/iconfont.css" />
  21. <style>
  22. .leaflet-popup-tip-container {
  23. width: 63px;
  24. height: 50px;
  25. top: -142px;
  26. left: 144px;
  27. pointer-events: none;
  28. background: url('./static/img/line.png') no-repeat;
  29. background-size: auto 100%;
  30. }
  31. .dialog-header {
  32. cursor: move;
  33. }
  34. .ant-modal-mask {
  35. pointer-events: none !important;
  36. background-color: rgba(0, 0, 0, 0) !important;
  37. /* 全透明的背景色 */
  38. }
  39. .ant-modal-wrap {
  40. pointer-events: none !important;
  41. }
  42. .ant-modal-root .ant-modal-wrap {
  43. pointer-events: none !important;
  44. }
  45. .ant-modal-centered {
  46. pointer-events: none !important;
  47. }
  48. .distance-legend {
  49. position: absolute;
  50. font-size: 14px;
  51. bottom: 62px;
  52. width: auto;
  53. right: 420px;
  54. }
  55. .cesium-viewer-navigationContainer {
  56. top: 70px;
  57. left: auto;
  58. right: 400px;
  59. }
  60. #mapDivlevelCoordinates {
  61. position: absolute;
  62. font-size: 14px;
  63. bottom: 40px;
  64. width: auto;
  65. right: 440px;
  66. }
  67. .leaflet-popup-content-wrapper {
  68. margin-left: 30px;
  69. background: none;
  70. border: none;
  71. box-shadow: 0 3px 14px rgba(0, 0, 0, 0);
  72. align-items: center;
  73. }
  74. .leaflet-popup-close-button {
  75. top: 10px;
  76. right: 10px;
  77. }
  78. .leaflet-popup{
  79. height: 200px !important;
  80. }
  81. .popup {
  82. background: url('./static/img/popclick.png') no-repeat;
  83. background-size: 100% 100% !important;
  84. background-position: center center;
  85. width: 230px;
  86. min-height: 199px;
  87. color: #fff;
  88. padding: 10px;
  89. background-size: 100% 260px;
  90. }
  91. .popup b.see {
  92. font-weight: normal;
  93. text-decoration: underline;
  94. cursor: pointer;
  95. }
  96. .popup li {
  97. padding: 5px 0;
  98. white-space: nowrap;
  99. overflow: hidden;
  100. text-overflow: ellipsis;
  101. }
  102. .popupBut {
  103. text-align: right;
  104. }
  105. .popupBut img {
  106. width: 30px;
  107. height: 30px;
  108. cursor: pointer;
  109. display: inline-block;
  110. }
  111. .popup h3 {
  112. font-size: 16px;
  113. color: #fff;
  114. font-weight: bold;
  115. margin-bottom: 8px;
  116. }
  117. .popup span {
  118. font-family: MiSans;
  119. font-size: 14px;
  120. font-weight: normal;
  121. line-height: 24px;
  122. letter-spacing: 0em;
  123. color: rgba(255, 255, 255, 0.72);
  124. }
  125. .popup b {
  126. font-weight: normal;
  127. }
  128. </style>
  129. </head>
  130. <body>
  131. <script>
  132. (() => {
  133. var htmlRoot = document.getElementById('htmlRoot');
  134. var theme = window.localStorage.getItem('__APP__DARK__MODE__');
  135. if (htmlRoot && theme) {
  136. htmlRoot.setAttribute('data-theme', theme);
  137. theme = htmlRoot = null;
  138. }
  139. })();
  140. </script>
  141. <div id="app">
  142. <style>
  143. /* ::v-deep .ant-modal-wrap{
  144. pointer-events: none !important;
  145. }
  146. ::v-deep .ant-modal-root .ant-modal-wrap{
  147. pointer-events: none !important;
  148. } */
  149. /* /deep/ .ant-modal-wrap{
  150. pointer-events: none !important;
  151. }
  152. /deep/ .ant-modal-root .ant-modal-wrap{
  153. pointer-events: none !important;
  154. } */
  155. html[data-theme='dark'] .app-loading {
  156. background-color: #2c344a;
  157. }
  158. html[data-theme='dark'] .app-loading .app-loading-title {
  159. color: rgba(255, 255, 255, 0.85);
  160. }
  161. [data-theme='dark'] ul:hover {
  162. background: transparent !important;
  163. }
  164. .app-loading {
  165. display: flex;
  166. width: 100%;
  167. height: 100%;
  168. justify-content: center;
  169. align-items: center;
  170. flex-direction: column;
  171. background-color: #f4f7f9;
  172. }
  173. .app-loading .app-loading-wrap {
  174. position: absolute;
  175. top: 50%;
  176. left: 50%;
  177. display: flex;
  178. -webkit-transform: translate3d(-50%, -50%, 0);
  179. transform: translate3d(-50%, -50%, 0);
  180. justify-content: center;
  181. align-items: center;
  182. flex-direction: column;
  183. }
  184. .app-loading .dots {
  185. display: flex;
  186. padding: 98px;
  187. justify-content: center;
  188. align-items: center;
  189. }
  190. .app-loading .app-loading-title {
  191. display: flex;
  192. margin-top: 30px;
  193. font-size: 30px;
  194. color: rgba(0, 0, 0, 0.85);
  195. justify-content: center;
  196. align-items: center;
  197. }
  198. .app-loading .app-loading-logo {
  199. display: block;
  200. width: 90px;
  201. margin: 0 auto;
  202. margin-bottom: 20px;
  203. }
  204. .dot {
  205. position: relative;
  206. display: inline-block;
  207. width: 48px;
  208. height: 48px;
  209. margin-top: 30px;
  210. font-size: 32px;
  211. transform: rotate(45deg);
  212. box-sizing: border-box;
  213. animation: antRotate 1.2s infinite linear;
  214. }
  215. .dot i {
  216. position: absolute;
  217. display: block;
  218. width: 20px;
  219. height: 20px;
  220. background-color: #0065cc;
  221. border-radius: 100%;
  222. opacity: 0.3;
  223. transform: scale(0.75);
  224. animation: antSpinMove 1s infinite linear alternate;
  225. transform-origin: 50% 50%;
  226. }
  227. .dot i:nth-child(1) {
  228. top: 0;
  229. left: 0;
  230. }
  231. .dot i:nth-child(2) {
  232. top: 0;
  233. right: 0;
  234. -webkit-animation-delay: 0.4s;
  235. animation-delay: 0.4s;
  236. }
  237. .dot i:nth-child(3) {
  238. right: 0;
  239. bottom: 0;
  240. -webkit-animation-delay: 0.8s;
  241. animation-delay: 0.8s;
  242. }
  243. .dot i:nth-child(4) {
  244. bottom: 0;
  245. left: 0;
  246. -webkit-animation-delay: 1.2s;
  247. animation-delay: 1.2s;
  248. }
  249. @keyframes antRotate {
  250. to {
  251. -webkit-transform: rotate(405deg);
  252. transform: rotate(405deg);
  253. }
  254. }
  255. @-webkit-keyframes antRotate {
  256. to {
  257. -webkit-transform: rotate(405deg);
  258. transform: rotate(405deg);
  259. }
  260. }
  261. @keyframes antSpinMove {
  262. to {
  263. opacity: 1;
  264. }
  265. }
  266. @-webkit-keyframes antSpinMove {
  267. to {
  268. opacity: 1;
  269. }
  270. }
  271. </style>
  272. <!-- <div id="first-screen-loading" class="app-loading">
  273. <div class="app-loading-wrap"> -->
  274. <!-- <img src="/resource/img/logo.png" class="app-loading-logo" alt="Logo" /> -->
  275. <!-- <div class="app-loading-dots">
  276. <span class="dot dot-spin"><i></i><i></i><i></i><i></i></span>
  277. </div> -->
  278. <!-- <div class="app-loading-title"><%= title %></div> -->
  279. <!-- </div>
  280. </div> -->
  281. </div>
  282. <script type="module" src="/src/main.ts"></script>
  283. </body>
  284. </html>