user-info.html 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>会计人员信息查询</title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1, user-scalable=no">
  7. <meta name="apple-mobile-web-app-capable" content="yes">
  8. <meta name="apple-mobile-web-app-status-bar-style" content="black">
  9. <link rel="stylesheet" href="css/iconfont.css">
  10. <link rel="stylesheet" href="css/mui.min.css">
  11. <script src="js/mui.min.js"></script>
  12. <script src="js/app.js"></script>
  13. </head>
  14. <body>
  15. <header class="mui-bar mui-bar-nav">
  16. <a id="back" class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
  17. <h1 id="title" class="mui-title">会计人员信息查询</h1>
  18. </header>
  19. <div class="mui-content" id="my-content-id">
  20. <!--<div style="height: 80px;"></div>-->
  21. <!--<br/>
  22. <br/>
  23. <br/> 这里是内容,你懂得~~
  24. <br/>
  25. <br/> 好扯淡的~~
  26. <br/>
  27. <br/>-->
  28. <!--<br /><br /><br /><br /><br />-->
  29. <div id="body" style="height: 500px;margin-top: -100px;margin-left: -500px;margin-right: -500px;">
  30. <iframe id="login-content-win-id" src="http://kj.qdf.gov.cn:1010/frame/Default.aspx?role=head-normal" frameborder="0" scrolling="auto" style="width: 100%;height: 100%;display: block;" onload="switchStyle(this)"></iframe>
  31. </div>
  32. </div>
  33. <script type="text/javascript">
  34. window._status = 1;
  35. /**
  36. * 切换样式的核心方法
  37. * @param {Object} a
  38. * @param {Object} b
  39. * @param {Object} c
  40. */
  41. function switchStyle(a, b, c) {
  42. var iframe = document.getElementById("login-content-win-id");
  43. var body = document.getElementById("body");
  44. if (window._status) { // login page
  45. body.style.height = '500px';
  46. body.style.marginTop = '-100px';
  47. body.style.marginLeft = '-500px';
  48. body.style.marginRight = '-500px';
  49. window._status = 0;
  50. } else { //content page
  51. body.style.height = '800px';
  52. body.style.marginTop = '-90px';
  53. body.style.marginLeft = '0px';
  54. body.style.marginRight = '0px';
  55. iframe.style.minWidth = '1300px';
  56. window._status = 1;
  57. }
  58. }
  59. var old_back = mui.back;
  60. mui.back = function() {
  61. var self = plus.webview.currentWebview();
  62. self.opener().evalJS('initJXJY();');
  63. //执行mui封装好的窗口关闭逻辑;
  64. old_back();
  65. }
  66. </script>
  67. </body>
  68. </html>