portalmobile.html 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <!DOCTYPE html>
  2. <html lang="zh-CN">
  3. <head>
  4. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  5. <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
  6. <meta http-equiv="Pragma" content="no-cache" />
  7. <meta http-equiv="Expires" content="0" />
  8. <link rel="stylesheet" type="text/css" href="css/style_all.css" charset="UTF-8" />
  9. <!-- <link rel="stylesheet" href="css/mBoxNotice.css" charset="UTF-8" />-->
  10. <!-- <link rel="stylesheet" href="css/mBoxTooltip.css" charset="UTF-8" />-->
  11. <link rel="icon" href="data:;">
  12. <title></title>
  13. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  14. <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" 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-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_portal.min.js"></script>
  27. <script src="js/o2m.api.min.js"></script>
  28. <script src="js/portal.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>