backList_win.html 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport"
  6. content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
  7. <title>Hello APP</title>
  8. <link rel="stylesheet" type="text/css" href="../css/api.css" />
  9. <link rel="stylesheet" type="text/css" href="../css/aui-win.css" />
  10. </head>
  11. <style>
  12. </style>
  13. <body>
  14. <header class="aui-bar aui-bar-nav aui-bar-info" id="aui-header">
  15. <a class="aui-btn aui-btn-info aui-pull-left" tapmode onclick="closeWin()"> <span
  16. class="aui-iconfont aui-icon-left"></span> </a>
  17. <div class="aui-title" id="aui-title">
  18. 核销明细
  19. </div>
  20. <a class="aui-btn aui-btn-info aui-pull-right" tapmode onclick="goWin()"> <span
  21. class="aui-iconfont aui-icon-search"></span> </a>
  22. </header>
  23. </body>
  24. <script type="text/javascript" src="../script/api.js"></script>
  25. <script type="text/javascript">
  26. function closeWin() {
  27. api.closeWin({
  28. });
  29. }
  30. function goWin() {
  31. api.openWin({
  32. name: 'backList_Sear_win',
  33. url: 'backList_Sear_win.html'
  34. });
  35. }
  36. apiready = function () {
  37. api.parseTapmode();
  38. var header = $api.byId('aui-header');
  39. $api.fixStatusBar(header);
  40. var headerPos = $api.offset(header);
  41. var body_h = $api.offset($api.dom('body')).h;
  42. api.openFrame({
  43. name: 'backList_body',
  44. url: 'backList_body.html',
  45. bounces: false,
  46. vScrollBarEnabled: false,
  47. hScrollBarEnabled: false,
  48. rect: {
  49. x: 0,
  50. y: headerPos.h,
  51. w: 'auto',
  52. h: 'auto'
  53. },
  54. bgColor: '#f5f5f5',
  55. })
  56. };
  57. </script>
  58. </html>