index.html 8.6 KB

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