goldPlan.html 869 B

1234567891011121314151617181920212223242526
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>GOLD PLAN</title>
  6. <script type="text/javascript" charset="UTF-8"
  7. src="https://wx.gtimg.com/pay_h5/goldplan/js/jgoldplan-1.0.0.js"></script>
  8. </head>
  9. <body>
  10. GOLD PLAN<br>
  11. <a onclick="jumpOut()" href="javascript:;">JUMP OUT</a>
  12. </body>
  13. <script type="text/javascript">
  14. window.onload = function () {
  15. var mchData = {action: 'onIframeReady', displayStyle: 'SHOW_CUSTOM_PAGE'}
  16. var postData = JSON.stringify(mchData)
  17. parent.postMessage(postData, 'https://payapp.weixin.qq.com')
  18. }
  19. function jumpOut() {
  20. var mchData = {action: 'jumpOut', jumpOutUrl: "http://daili.uat.churenyiliao.com/"}
  21. var postData = JSON.stringify(mchData)
  22. parent.postMessage(postData, 'https://payapp.weixin.qq.com')
  23. }
  24. </script>
  25. </html>