saomaruku_win.html 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. .aui-btn-info {
  12. border: 1px solid#000;
  13. }
  14. </style>
  15. <body>
  16. <header class="aui-bar11 aui-bar-nav aui-bar-info" id="aui-header">
  17. <a class="aui-btn aui-btn-info aui-pull-left" tapmode onclick="closeWin()"> <span class="aui-iconfont aui-icon-left"></span> </a>
  18. <div class="aui-title" id="aui-title" style="position: static">
  19. 扫码入库
  20. </div>
  21. </header>
  22. </body>
  23. <script type="text/javascript" src="../script/api.js"></script>
  24. <script type="text/javascript">
  25. function closeWin() {
  26. api.closeWin({
  27. });
  28. }
  29. apiready = function() {
  30. api.parseTapmode();
  31. var header = $api.byId('aui-header');
  32. $api.fixStatusBar(header);
  33. var headerPos = $api.offset(header);
  34. var body_h = $api.offset($api.dom('body')).h;
  35. api.openFrame({
  36. name : 'saomaruku',
  37. url : 'saomaruku.html',
  38. bounces : false,
  39. vScrollBarEnabled : false,
  40. hScrollBarEnabled : false,
  41. rect : {
  42. x : 0,
  43. y : headerPos.h,
  44. w : 'auto',
  45. h : 'auto'
  46. },
  47. bgColor:'#f5f5f5',
  48. })
  49. };
  50. </script>
  51. </html>