Nenhuma Descrição

paymentResult.html 2.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta content="yes" name="apple-mobile-web-app-capable">
  6. <meta name="viewport" content="width=device-width,initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no"/>
  7. <title>充值中心</title>
  8. <link rel="stylesheet" href="./common/reset.css">
  9. <link rel="stylesheet" href="./css/paymentResult.css?v=1">
  10. <script src="./common/jquery-2.1.0.js"></script>
  11. <script>
  12. var viewport = document.querySelector("meta[name=viewport]")
  13. if (window.devicePixelRatio == 1) {
  14. viewport.setAttribute('content', 'width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no')
  15. }
  16. if (window.devicePixelRatio == 2) {
  17. viewport.setAttribute('content', 'width=device-width, initial-scale=0.5, maximum-scale=0.5, minimum-scale=0.5, user-scalable=no')
  18. }
  19. if (window.devicePixelRatio == 3) {
  20. viewport.setAttribute('content', 'width=device-width, initial-scale=0.333333333, maximum-scale=0.333333333, minimum-scale=0.333333333, user-scalable=no')
  21. }
  22. document.documentElement.style.fontSize = (document.documentElement.clientWidth / 375) * 100 + "px";
  23. window.onresize = function () {
  24. document.documentElement.style.fontSize = (document.documentElement.clientWidth / 375) * 100 + "px";
  25. }
  26. </script>
  27. </head>
  28. <body>
  29. <!-- 充值成功 -->
  30. <div class="paymentSuccess">
  31. <img src="./img/paymentSuccess.png" class="paymentImg"/>
  32. <p class="hint">充值成功!</p>
  33. <button onclick="skipGrap()">去抢单</button>
  34. </div>
  35. <!-- 充值失败 -->
  36. <div class="paymentFail paymentErrer">
  37. <img src="./img/paymentFail.png" class="paymentImg"/>
  38. <h3>充值失败!</h3>
  39. <!-- <p class="hint"></p> -->
  40. <!-- <button>去抢单</button> -->
  41. </div>
  42. <!-- 充值中 -->
  43. <div class="paymentFail paymentIng">
  44. <img src="./img/paymentIng.png" class="paymentImg"/>
  45. <h3>充值中...</h3>
  46. </div>
  47. <div class="alert-info" style="display: none;">
  48. <!-- tip提示,3s后消失 -->
  49. <p>请在浏览器中打开</p>
  50. </div>
  51. <!-- loading -->
  52. <div class="loading">
  53. <img src="./common/loading.gif" />
  54. </div>
  55. </body>
  56. </html>
  57. <script src="./js/paymentResult.js?v=8"></script>