index.html 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346
  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. .impopup {
  93. position: relative;
  94. background: url('./static/img/popclick.png') no-repeat;
  95. background-size: 100% 100% !important;
  96. background-position: center center;
  97. width: 174px;
  98. min-height: 199px;
  99. color: #fff;
  100. padding: 10px;
  101. background-size: 100% 260px;
  102. }
  103. .popup-line {
  104. position: absolute;
  105. width: 63px;
  106. height: 50px;
  107. top: 74px;
  108. left: 154px;
  109. pointer-events: none;
  110. background: url('./static/img/line.png') no-repeat;
  111. background-size: auto 100%;
  112. }
  113. .popup b.see {
  114. font-weight: normal;
  115. text-decoration: underline;
  116. cursor: pointer;
  117. }
  118. .popup li {
  119. padding: 5px 0;
  120. white-space: nowrap;
  121. overflow: hidden;
  122. text-overflow: ellipsis;
  123. }
  124. .popupBut {
  125. text-align: right;
  126. }
  127. .popupBut img {
  128. width: 30px;
  129. height: 30px;
  130. cursor: pointer;
  131. display: inline-block;
  132. }
  133. .popup h3 {
  134. font-size: 16px;
  135. color: #fff;
  136. font-weight: bold;
  137. margin-bottom: 8px;
  138. }
  139. .popup span {
  140. font-family: MiSans;
  141. font-size: 14px;
  142. font-weight: normal;
  143. line-height: 24px;
  144. letter-spacing: 0em;
  145. color: rgba(255, 255, 255, 0.72);
  146. }
  147. .popup b {
  148. font-weight: normal;
  149. }
  150. </style>
  151. </head>
  152. <body>
  153. <script>
  154. (() => {
  155. var htmlRoot = document.getElementById('htmlRoot');
  156. var theme = window.localStorage.getItem('__APP__DARK__MODE__');
  157. if (htmlRoot && theme) {
  158. htmlRoot.setAttribute('data-theme', theme);
  159. theme = htmlRoot = null;
  160. }
  161. })();
  162. </script>
  163. <div id="app">
  164. <style>
  165. /* ::v-deep .ant-modal-wrap{
  166. pointer-events: none !important;
  167. }
  168. ::v-deep .ant-modal-root .ant-modal-wrap{
  169. pointer-events: none !important;
  170. } */
  171. /* /deep/ .ant-modal-wrap{
  172. pointer-events: none !important;
  173. }
  174. /deep/ .ant-modal-root .ant-modal-wrap{
  175. pointer-events: none !important;
  176. } */
  177. html[data-theme='dark'] .app-loading {
  178. background-color: #2c344a;
  179. }
  180. html[data-theme='dark'] .app-loading .app-loading-title {
  181. color: rgba(255, 255, 255, 0.85);
  182. }
  183. [data-theme='dark'] ul:hover {
  184. background: transparent !important;
  185. }
  186. .app-loading {
  187. display: flex;
  188. width: 100%;
  189. height: 100%;
  190. justify-content: center;
  191. align-items: center;
  192. flex-direction: column;
  193. background-color: #f4f7f9;
  194. }
  195. .app-loading .app-loading-wrap {
  196. position: absolute;
  197. top: 50%;
  198. left: 50%;
  199. display: flex;
  200. -webkit-transform: translate3d(-50%, -50%, 0);
  201. transform: translate3d(-50%, -50%, 0);
  202. justify-content: center;
  203. align-items: center;
  204. flex-direction: column;
  205. }
  206. .app-loading .dots {
  207. display: flex;
  208. padding: 98px;
  209. justify-content: center;
  210. align-items: center;
  211. }
  212. .app-loading .app-loading-title {
  213. display: flex;
  214. margin-top: 30px;
  215. font-size: 30px;
  216. color: rgba(0, 0, 0, 0.85);
  217. justify-content: center;
  218. align-items: center;
  219. }
  220. .app-loading .app-loading-logo {
  221. display: block;
  222. width: 90px;
  223. margin: 0 auto;
  224. margin-bottom: 20px;
  225. }
  226. .dot {
  227. position: relative;
  228. display: inline-block;
  229. width: 48px;
  230. height: 48px;
  231. margin-top: 30px;
  232. font-size: 32px;
  233. transform: rotate(45deg);
  234. box-sizing: border-box;
  235. animation: antRotate 1.2s infinite linear;
  236. }
  237. .dot i {
  238. position: absolute;
  239. display: block;
  240. width: 20px;
  241. height: 20px;
  242. background-color: #0065cc;
  243. border-radius: 100%;
  244. opacity: 0.3;
  245. transform: scale(0.75);
  246. animation: antSpinMove 1s infinite linear alternate;
  247. transform-origin: 50% 50%;
  248. }
  249. .dot i:nth-child(1) {
  250. top: 0;
  251. left: 0;
  252. }
  253. .dot i:nth-child(2) {
  254. top: 0;
  255. right: 0;
  256. -webkit-animation-delay: 0.4s;
  257. animation-delay: 0.4s;
  258. }
  259. .dot i:nth-child(3) {
  260. right: 0;
  261. bottom: 0;
  262. -webkit-animation-delay: 0.8s;
  263. animation-delay: 0.8s;
  264. }
  265. .dot i:nth-child(4) {
  266. bottom: 0;
  267. left: 0;
  268. -webkit-animation-delay: 1.2s;
  269. animation-delay: 1.2s;
  270. }
  271. @keyframes antRotate {
  272. to {
  273. -webkit-transform: rotate(405deg);
  274. transform: rotate(405deg);
  275. }
  276. }
  277. @-webkit-keyframes antRotate {
  278. to {
  279. -webkit-transform: rotate(405deg);
  280. transform: rotate(405deg);
  281. }
  282. }
  283. @keyframes antSpinMove {
  284. to {
  285. opacity: 1;
  286. }
  287. }
  288. @-webkit-keyframes antSpinMove {
  289. to {
  290. opacity: 1;
  291. }
  292. }
  293. </style>
  294. <!-- <div id="first-screen-loading" class="app-loading">
  295. <div class="app-loading-wrap"> -->
  296. <!-- <img src="/resource/img/logo.png" class="app-loading-logo" alt="Logo" /> -->
  297. <!-- <div class="app-loading-dots">
  298. <span class="dot dot-spin"><i></i><i></i><i></i><i></i></span>
  299. </div> -->
  300. <!-- <div class="app-loading-title"><%= title %></div> -->
  301. <!-- </div>
  302. </div> -->
  303. </div>
  304. <script type="module" src="/src/main.ts"></script>
  305. </body>
  306. </html>