cmsdocmobilewithaction.html 2.3 KB

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