index.html 8.7 KB

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