No Description

isSuccess.html 1.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <!DOCTYPE html>
  2. <html>
  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.0, maximum-scale=1.0,minimum-scale=1.0,user-scalable=0" />
  7. <title>验证邮箱</title>
  8. <link rel="stylesheet" type="text/css" href="../common/reset.css"/>
  9. <script type="text/javascript" src="../common/jquery-2.1.0.js"></script>
  10. <script type="text/javascript">
  11. document.documentElement.style.fontSize = 100 * (document.documentElement.clientWidth/375) + "px";
  12. window.onresize = function(){
  13. document.documentElement.style.fontSize = 100 * (document.documentElement.clientWidth/375) + "px";
  14. }
  15. </script>
  16. <style type="text/css">
  17. .banner{width: 2rem;margin: auto;margin-top: 0.71rem;margin-bottom: 0.86rem;}
  18. .title{font-size: 0.14rem;line-height: 0.2rem;color: #444444;text-align: center;}
  19. </style>
  20. </head>
  21. <body>
  22. <img src="img/youxiangyanzheng.png" class="banner" />
  23. <p class="title"></p>
  24. </body>
  25. </html>
  26. <script type="text/javascript">
  27. function parseQueryString(url) {
  28. var urlObj = {};
  29. var reg = /([^?=&]+)=([^?=&]+)/g;
  30. url.replace(reg, ($0, $1, $2) => {
  31. urlObj[$1] = decodeURIComponent($2);
  32. })
  33. return urlObj;
  34. }
  35. var qs = parseQueryString(window.location.href);
  36. if(qs.num == 0){//0验证失败 1验证成功
  37. $(".title").html('验证失败!请重新发送验证到该邮箱')
  38. }else if(qs.num == 1){
  39. $(".title").html('恭喜您已成功绑定邮箱,祝您记账愉快~')
  40. }
  41. </script>