payback.html 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  7. <title>支付结果</title>
  8. <script type="text/javascript" charset="UTF-8"
  9. src="https://wx.gtimg.com/pay_h5/goldplan/js/jgoldplan-1.0.0.js"></script>
  10. <style>
  11. body {
  12. background-color: #efeff4;
  13. }
  14. * {
  15. padding: 0;
  16. margin: 0;
  17. }
  18. .app {
  19. width: 100%;
  20. height: 100vh;
  21. display: flex;
  22. flex-direction: column;
  23. justify-content: center;
  24. align-items: center;
  25. }
  26. .app img {
  27. width: 73px;
  28. display: block;
  29. }
  30. .app span {
  31. font-size: 11px;
  32. text-align: center;
  33. margin: 21px 42px 41px;
  34. line-height: 21px;
  35. }
  36. .button {
  37. background-color: #00AE75;
  38. border-radius: 13px;
  39. font-size: 13px;
  40. line-height: 27px;
  41. color: #FFFFFF;
  42. padding: 0 12px;
  43. text-align: center;
  44. position: relative;
  45. text-decoration:none;
  46. }
  47. </style>
  48. </head>
  49. <body>
  50. <div class="app">
  51. <img src="./icon-success.68ddda96.png" alt="" />
  52. <span>您的签署信息已经提交完成,请耐心等待,我们将在三个工作日内审核完成,如遇节假日自动顺延至节后,非常感谢。</span>
  53. <a class="button" onclick="jumpOut()" href="javascript:;">返回代理商系统</a>
  54. </div>
  55. </body>
  56. <script type="text/javascript">
  57. window.onload = function () {
  58. var mchData = {action: 'onIframeReady', displayStyle: 'SHOW_CUSTOM_PAGE'}
  59. var postData = JSON.stringify(mchData)
  60. parent.postMessage(postData, 'https://payapp.weixin.qq.com')
  61. }
  62. function jumpOut() {
  63. var url = location.href;
  64. if (url.indexOf('uat.') != -1) {
  65. var jump = 'http://daili.uat.churenyiliao.com/';
  66. } else {
  67. var jump = 'https://daili.churenyiliao.com/';
  68. }
  69. var mchData = {action: 'jumpOut', jumpOutUrl: jump}
  70. var postData = JSON.stringify(mchData)
  71. parent.postMessage(postData, 'https://payapp.weixin.qq.com')
  72. }
  73. </script>
  74. </html>