index.html 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8" />
  5. <link rel="icon" href="./favicon.ico" />
  6. <meta content="yes" name="apple-mobile-web-app-capable" />
  7. <meta content="yes" name="apple-touch-fullscreen" />
  8. <meta content="telephone=no,email=no" name="format-detection" />
  9. <meta
  10. name="viewport"
  11. content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"
  12. />
  13. <meta
  14. name="keywords"
  15. content="乐吾乐,le5le,2D,3D,大屏,可视化,meta2d,国产,开源,免费,智能可视化,SCADA,mqtt,思维导图,脑图,组态"
  16. />
  17. <meta
  18. name="description"
  19. content="乐吾乐le5le可视化是一个集动态交互、丰富展示、数据管理等一体的全功能智能可视化平台,为物联网、工业互联网、电力能源、水利工程、智慧农业、智慧医疗、智慧城市等智能可视化场景而生。"
  20. />
  21. <link rel="stylesheet" href="./css/index.css" />
  22. <style>
  23. .dialog {
  24. display: none;
  25. position: fixed;
  26. z-index: 9999;
  27. top: 0;
  28. left: 0;
  29. width: 100%;
  30. height: 100%;
  31. background-color: rgba(0, 0, 0, 0.5);
  32. }
  33. .dialog iframe {
  34. position: absolute;
  35. top: 50%;
  36. left: 50%;
  37. transform: translate(-50%, -50%);
  38. width: 80%;
  39. height: 80%;
  40. }
  41. .dialog .close {
  42. position: absolute;
  43. top: 10px;
  44. right: 10px;
  45. font-size: 24px;
  46. cursor: pointer;
  47. color: #fff;
  48. }
  49. </style>
  50. <title>乐吾乐可视化</title>
  51. <script type="module" crossorigin src="./assets/index.js"></script>
  52. <link rel="stylesheet" crossorigin href="./assets/index.css">
  53. </head>
  54. <body>
  55. <div id="app"></div>
  56. <div class="back-button" id="back-ops">
  57. <svg class="more" height="24" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6943" width="200" height="200"><path d="M624.788992 204.047974 585.205965 164.464026 219.560038 530.185011 585.205965 895.864013 624.788992 856.280986 298.663014 530.16105Z" p-id="6944"></path></svg>
  58. </div>
  59. <div class="lock" id="lock">
  60. <svg class="unlock" t="1712916992634" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4296" width="16" height="16"><path d="M768.25422 0q48.810328 0 94.061569 18.303873t80.333664 50.33565 56.436941 74.740814 21.354518 91.519364l0 150.49851-123.042701 0 0-122.025819q0-64.063555-36.099305-99.654419t-97.112214-35.590864q-54.911619 0-88.468719 35.590864t-33.5571 99.654419l0 124.059583-128.12711 0 0-152.532274q0-48.810328 19.320755-91.519364t53.386296-74.740814 80.333664-50.33565 101.179742-18.303873zM766.220457 693.513406l0 87.451837 0 47.793446q0 27.455809-9.660377 51.860973t-26.438928 41.692155-39.658391 27.455809-50.33565 10.168818l-514.542205 0q-27.455809 0-49.82721-9.660377t-38.641509-26.438928-24.913605-39.14995-8.643496-47.793446l0-323.368421q0-28.472691 19.829196-47.793446t46.268123-19.320755l629.449851 0q28.472691 0 47.793446 19.320755t19.320755 47.793446l0 179.988083z" p-id="4297" fill="#e6e6e6"></path></svg>
  61. <svg class="locked" t="1712917017184" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4494" width="16" height="16"><path d="M385.150849 385.662338l-128.895105 0 0-150.377622q0-49.102897 19.436563-91.556444t53.706294-74.677323 80.815185-50.637363 101.786214-18.413586q49.102897 0 94.625375 18.413586t80.815185 50.637363 56.263736 74.677323 20.971029 91.556444l0 150.377622-123.78022 0 0-121.734266q0-64.447552-35.804196-99.74026t-97.182817-35.292707q-55.240759 0-88.999001 35.292707t-33.758242 99.74026l0 121.734266zM826.053946 447.040959q27.62038 0 47.568432 19.948052t19.948052 47.568432l0 317.122877q0 27.62038-9.718282 51.66034t-26.597403 41.942058-39.896104 28.131868-50.637363 10.22977l-516.603397 0q-27.62038 0-50.125874-10.22977t-38.361638-27.108891-24.551449-39.384615-8.695305-48.07992l0-324.283716q0-27.62038 19.436563-47.568432t47.056943-19.948052l61.378621 0 128.895105 0 255.744256 0 123.78022 0 61.378621 0z" p-id="4495" fill="#e6e6e6"></path></svg>
  62. </div>
  63. <div id="dialog" class="dialog">
  64. <span class="close" onclick="closeDialog()">&times;</span>
  65. <iframe id="pay-iframe" src="javascript:void(0);" frameborder="0"></iframe>
  66. </div>
  67. <div class="message-wrap" id="message-wrap">
  68. <div class="body">
  69. <svg
  70. fill="none"
  71. viewBox="0 0 16 16"
  72. width="1em"
  73. height="1em"
  74. class="t-icon t-icon-error-circle-filled error"
  75. >
  76. <path
  77. fill="currentColor"
  78. d="M15 8A7 7 0 101 8a7 7 0 0014 0zM8.5 4v5.5h-1V4h1zm-1.1 7h1.2v1.2H7.4V11z"
  79. fill-opacity="0.9"
  80. ></path>
  81. </svg>
  82. <svg fill="none" viewBox="0 0 24 24" width="1em" height="1em" class="t-icon t-icon-error-circle-filled warn"><path fill="currentColor" d="M12 1a11 11 0 110 22 11 11 0 010-22zm-1 13h2V6.5h-2V14zm2 1.5h-2v2h2v-2z"></path></svg>
  83. <svg fill="none" viewBox="0 0 24 24" width="1em" height="1em" class="t-icon t-icon-check-circle-filled success"><path fill="currentColor" d="M12 23a11 11 0 100-22 11 11 0 000 22zM7.5 10.59l3 3 6-6L17.91 9l-7.41 7.41L6.09 12l1.41-1.41z"></path></svg>
  84. <div id="message-text">这是一个消息</div>
  85. </div>
  86. </div>
  87. <div class="login-wrap" id="login-wrap">
  88. <div class="body">
  89. <div class="head">登录</div>
  90. <input id="username" placeholder="账号/手机号/邮箱" />
  91. <input id="password" type="password" placeholder="密码" />
  92. <button id="login-btn">登录</button>
  93. </div>
  94. </div>
  95. <script src="./js/jweixin-1.6.0.js"></script>
  96. <script>
  97. window.name = document.title;
  98. function closeDialog() {
  99. var dialog = document.getElementById("dialog");
  100. dialog.style.display = "none";
  101. };
  102. pushHistory();
  103. window.addEventListener("popstate", function (e) {
  104. WeixinJSBridge.call('closeWindow');
  105. wx.miniProgram.navigateBack({delta:1});
  106. }, false);
  107. function pushHistory() {
  108. var state = {
  109. title: "title",
  110. url: "#"
  111. };
  112. window.history.pushState(state, state.title, state.url);
  113. }
  114. </script>
  115. </body>
  116. </html>