portalmobile.html 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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" type="text/css" href="css/v10/root.css" charset="UTF-8" />
  10. <link rel="stylesheet" type="text/css" href="css/v10/style.css" id="oo-css-skin" charset="UTF-8" />
  11. <!-- <link rel="stylesheet" href="css/mBoxNotice.css" charset="UTF-8" />-->
  12. <!-- <link rel="stylesheet" href="css/mBoxTooltip.css" charset="UTF-8" />-->
  13. <link rel="icon" href="data:;">
  14. <title></title>
  15. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  16. <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
  17. <meta content="yes" name="apple-mobile-web-app-capable" />
  18. <meta content="black" name="apple-mobile-web-app-status-bar-style" />
  19. <meta content="telephone=no" name="format-detection" />
  20. </head>
  21. <body style="overflow: auto; margin:0px; height: 100%;">
  22. <div id="appContent" class="appContent" style="overflow: hidden; height:100%;">
  23. <div id="loaddingArea" style="overflow: hidden;width:0px; height:2px; background-color:#4e82bd; position: absolute; top: 0; z-index: 100"></div>
  24. </div>
  25. <div id="appContentMask" style="overflow: hidden; height:100%; position: relative; top: -100%; background-size: cover"></div>
  26. <script src="../o2_core/o2.min.js"></script>
  27. <script src="../o2_lib/Decimal.js"></script>
  28. <script src="js/base_portal.min.js"></script>
  29. <script src="js/o2m.api.min.js"></script>
  30. <script src="js/portal.min.js"></script>
  31. <script>layout.mobile = true;</script>
  32. <script text="text/javascript">
  33. // 根据ua判断当前环境 加载各种jssdk
  34. var u = navigator.userAgent.toLocaleLowerCase();
  35. if (/uni-app/i.test(u)) { // uniapp开发的app
  36. var script = document.createElement("script");
  37. script.type = "text/javascript";
  38. script.src = "../o2_lib/uniapp/uni.webview.1.5.2.js";
  39. document.body.appendChild(script);
  40. }else if (/dingtalk/i.test(u)) { // 钉钉
  41. }
  42. </script>
  43. </body>
  44. </html>