orderFollow_win.html 1.5 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. </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>
  19. <img src="./img/images/too_02.png" style="width: 35px;height: 35px;position: absolute;margin-top: 5px;right: 0px" />
  20. </a>
  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 : 'orderFollow_body',
  37. url : 'orderFollow_body.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>