intoStore_win.html 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. </header>
  19. </body>
  20. <script type="text/javascript" src="../script/api.js"></script>
  21. <script type="text/javascript">
  22. function closeWin() {
  23. api.closeWin({
  24. });
  25. }
  26. apiready = function() {
  27. api.parseTapmode();
  28. var header = $api.byId('aui-header');
  29. $api.fixStatusBar(header);
  30. var headerPos = $api.offset(header);
  31. var body_h = $api.offset($api.dom('body')).h;
  32. api.openFrame({
  33. name : 'intoStore_body',
  34. url : 'intoStore_body.html',
  35. bounces : false,
  36. vScrollBarEnabled : false,
  37. hScrollBarEnabled : false,
  38. rect : {
  39. x : 0,
  40. y : headerPos.h,
  41. w : 'auto',
  42. h : 'auto'
  43. },
  44. bgColor:'#f5f5f5',
  45. })
  46. };
  47. </script>
  48. </html>