appMobile.html 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <!DOCTYPE html>
  2. <html lang="zh-CN">
  3. <head>
  4. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  5. <link rel="stylesheet" type="text/css" href="css/style.css" charset="UTF-8" />
  6. <link rel="stylesheet" href="css/mBoxNotice.css" charset="UTF-8" />
  7. <link rel="stylesheet" href="css/mBoxTooltip.css" charset="UTF-8" />
  8. <title></title>
  9. <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
  10. <meta http-equiv="Pragma" content="no-cache" />
  11. <meta http-equiv="Expires" content="0" />
  12. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  13. <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0, viewport-fit=cover" name="viewport" />
  14. <!-- <meta content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport" /> -->
  15. <meta content="yes" name="apple-mobile-web-app-capable" />
  16. <meta content="black" name="apple-mobile-web-app-status-bar-style" />
  17. <meta content="telephone=no" name="format-detection" />
  18. </head>
  19. <body style="overflow: auto; margin:0px; height: 100%;">
  20. <div id="appContent" class="appContent" style="overflow: hidden; height:100%;">
  21. <div id="loaddingArea" style="overflow: hidden;width:0px; height:2px; background-color:#4e82bd; position: absolute; top: 0; z-index: 100"></div>
  22. </div>
  23. <div id="appContentMask" style="overflow: hidden; height:100%; position: relative; top: -100%; background-image:url('../x_desktop/img/launch_background.png'); background-size: cover"></div>
  24. <script src="../o2_core/o2.min.js"></script>
  25. <script src="../o2_lib/Decimal.js"></script>
  26. <script src="js/base.min.js"></script>
  27. <script src="js/o2m.api.js"></script>
  28. <script src="js/app.min.js"></script>
  29. <script>layout.mobile = true;</script>
  30. <script text="text/javascript">
  31. // 根据ua判断当前环境 加载各种jssdk
  32. var u = navigator.userAgent.toLocaleLowerCase();
  33. if (/uni-app/i.test(u)) { // uniapp开发的app
  34. var script = document.createElement("script");
  35. script.type = "text/javascript";
  36. script.src = "../o2_lib/uniapp/uni.webview.1.5.2.js";
  37. document.body.appendChild(script);
  38. }else if (/dingtalk/i.test(u)) { // 钉钉
  39. }
  40. </script>
  41. </body>
  42. </html>