faceCallback.html 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <body>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <script type="text/javascript" src="https://appx/web-view.min.js"></script>
  6. </head>
  7. <script>
  8. var code = getQueryString('code');
  9. var message = getQueryString('message');
  10. var backImg = getQueryString('backImg');
  11. var backVideo = getQueryString('backVideo');
  12. var backNo = getQueryString('backNo');
  13. var idcard = getQueryString('idcard');
  14. var name = getQueryString('name');
  15. var serialNumber = getQueryString('serialNumber');
  16. goPage()
  17. function goPage() {
  18. my.navigateTo({
  19. url: '/pages/callPage/callPage?code=' + code + '&message=' + message + '&backImg=' + backImg +
  20. '&backVideo=' + backVideo + '&backNo=' + backNo + '&idcard=' + idcard + '&name=' + name +
  21. '&serialNumber=' + serialNumber
  22. });
  23. }
  24. function getQueryString(name) {
  25. var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
  26. var r = window.location.search.substr(1).match(reg);
  27. if (r != null) {
  28. return decodeURIComponent(r[2]);
  29. }
  30. return null;
  31. }
  32. </script>
  33. </html>
  34. </body>