changefillword_win.html 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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. <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
  7. <meta name="format-detection"content="telephone=no">
  8. <title>index</title>
  9. <link rel="stylesheet" type="text/css" href="../../css/api.css"/>
  10. <link rel="stylesheet" href="../../css/projeck.css">
  11. <style media="screen">
  12. body,html{
  13. margin: 0;
  14. background: #fff;
  15. }
  16. .header-nav-items li{
  17. color: #bdc3c7;
  18. }
  19. .header-nav-items .active{
  20. color: #16a085;
  21. }
  22. .header-nav-items .active::after{
  23. background: #16a085;
  24. }
  25. </style>
  26. </head>
  27. <body>
  28. <div class="api_layout">
  29. <header class="header-login">
  30. <img class="backBtn" src="../../image/btn_back.png" alt="" tapmode onclick="backIndex()">
  31. <p class="api_text"></p>
  32. </header>
  33. </div>
  34. </body>
  35. </html>
  36. <script type="text/javascript" src="../../script/api.js"></script>
  37. <script type="text/javascript">
  38. apiready = function () {
  39. $api.fixStatusBar($api.dom('header') );
  40. api.parseTapmode();
  41. $api.html($api.dom('.api_text'), api.pageParam.title);
  42. openChangeFill(api.pageParam.id)
  43. }
  44. function openChangeFill(id) {
  45. api.openFrame({
  46. name: 'changeFill',
  47. url: 'changefillword.html',
  48. rect: {
  49. x: 0,
  50. x: 0,
  51. y: $api.dom('header').offsetHeight,
  52. w: api.winWidth,
  53. h: $api.winHeight
  54. },
  55. pageParam:{
  56. id:id
  57. },
  58. bounces: false,
  59. bgColor: 'rgba(0,0,0,0)',
  60. });
  61. }
  62. function backIndex() {
  63. api.closeWin();
  64. }
  65. </script>