index.html 8.0 KB

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