agent_storage_win.html 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
  6. <title>Hello APP</title>
  7. <link rel="stylesheet" type="text/css" href="../css/api.css" />
  8. <link rel="stylesheet" type="text/css" href="../css/aui-win.css" />
  9. </head>
  10. <style>
  11. </style>
  12. <body>
  13. <header class="aui-bar aui-bar-nav aui-bar-info" id="aui-header">
  14. <a class="aui-btn aui-btn-info aui-pull-left" tapmode onclick="closeWin()"> <span class="aui-iconfont aui-icon-left"></span> </a>
  15. <div class="aui-title" id="aui-title">
  16. 库存查询
  17. </div>
  18. <!-- <a class="aui-btn aui-btn-info aui-pull-right" tapmode> <span class="aui-iconfont aui-icon-search"></span> </a>
  19. <a class="aui-btn aui-btn-info aui-pull-right" tapmode>
  20. <img src="./img/images/too_02.png" style="width: 35px;height: 35px;position: absolute;margin-top: 5px;right: 0px" />
  21. </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. apiready = function() {
  31. api.parseTapmode();
  32. var header = $api.byId('aui-header');
  33. $api.fixStatusBar(header);
  34. var headerPos = $api.offset(header);
  35. var body_h = $api.offset($api.dom('body')).h;
  36. api.openFrame({
  37. name : 'agent_storage_body',
  38. url : 'agent_storage_body.html',
  39. bounces : false,
  40. vScrollBarEnabled : false,
  41. hScrollBarEnabled : false,
  42. rect : {
  43. x : 0,
  44. y : headerPos.h,
  45. w : 'auto',
  46. h : 'auto'
  47. },
  48. bgColor:'#f5f5f5',
  49. })
  50. };
  51. </script>
  52. </html>