workmobilewithaction.html 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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.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. <meta content="width=device-width, initial-scale=1.0,user-scalable=0" name="viewport" />
  13. <meta content="yes" name="apple-mobile-web-app-capable" />
  14. <meta content="black" name="apple-mobile-web-app-status-bar-style" />
  15. <meta content="telephone=no" name="format-detection" />
  16. <title></title>
  17. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  18. </head>
  19. <body style="overflow: hidden; margin:0px;height: 100%;width: 100%;">
  20. <div
  21. style="-webkit-overflow-scrolling: touch; overflow: auto; position: absolute; bottom: 4em;top: 0px;left: 0px;width: 100%;">
  22. <div id="loaddingArea"
  23. style="overflow: hidden;width:0px; height:2px; background-color:#4e82bd; position: absolute; top: 0; z-index: 100">
  24. </div>
  25. <div id="appContent" class="appContent" style="overflow: hidden;"></div>
  26. </div>
  27. <div class="o2_form_mobile_actions"
  28. style="height: 4em;overflow: hidden; border-top: 1px solid #dfdfdf; display: block; position: absolute; bottom: 0px; background: #ffffff; width: 100%; z-index:100;">
  29. </div>
  30. <script src="../o2_core/o2.min.js"></script>
  31. <script src="js/base_work.min.js"></script>
  32. <script src="js/o2m.api.min.js"></script>
  33. <script src="js/work.min.js"></script>
  34. <script src="../o2_lib/Decimal.js"></script>
  35. <script>layout.mobile = true;</script>
  36. <script text="text/javascript">
  37. // 根据ua判断当前环境 加载各种jssdk
  38. var u = navigator.userAgent.toLocaleLowerCase();
  39. if (/uni-app/i.test(u)) { // uniapp开发的app
  40. var script = document.createElement("script");
  41. script.type = "text/javascript";
  42. script.src = "../o2_lib/uniapp/uni.webview.1.5.2.js";
  43. document.body.appendChild(script);
  44. }else if (/dingtalk/i.test(u)) { // 钉钉
  45. }
  46. </script>
  47. <!-- <script type="text/javascript" src="../o2_lib/wechat/jweixin-1.6.0.js"></script> -->
  48. </body>
  49. </html>