You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

55 lines
2.4 KiB

7 years ago
7 years ago
7 years ago
  1. <!DOCTYPE html><html><head><meta http-equiv="content-type" content="text/html;charset=utf-8"/>
  2. <title>系统提示</title><meta content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0" name="viewport">
  3. <link href="<?php echo env('APP_URL'); ?>/css/weixin/style.css" type="text/css" rel="stylesheet">
  4. <meta name="keywords" content="系统提示"><meta name="description" content="系统提示"></head><body>
  5. <style>
  6. .successsystem{text-align:center;padding:30px 0}
  7. .successsystem img{width:100px;height:100px}
  8. .prompt_s{font-size:16px;color:#999999;text-align:center}
  9. .systemprompt{text-align:center;margin-top:30px}
  10. .systemprompt a{display:inline-block;width:40%;height:36px;line-height:36px;background:#f23030;text-align:center;color:white;border-radius:3px;margin:0 10px;font-size:16px;}
  11. </style>
  12. <div class="classreturn loginsignup">
  13. <div class="ds-in-bl return"><a href="javascript:history.back(-1);"><img src="<?php echo env('APP_URL'); ?>/images/weixin/return.png" alt="返回"></a></div>
  14. <div class="ds-in-bl tit center"><span>系统提示</span></div>
  15. </div>
  16. <?php
  17. /** 参数说明
  18. * $_REQUEST['message']; //成功提示
  19. * $_REQUEST['error']; //失败提示
  20. * $_REQUEST['url']; //要跳转到哪里
  21. * $_REQUEST['time']; //几秒后跳转
  22. */
  23. ?>
  24. <div class="successsystem">
  25. <?php if(isset($_REQUEST['message'])) {?>
  26. <img src="<?php echo env('APP_URL'); ?>/images/weixin/icogantanhao.png">
  27. <?php }else{ ?>
  28. <img src="<?php echo env('APP_URL'); ?>/images/weixin/icogantanhao-sb.png">
  29. <?php }?>
  30. </div>
  31. <p class="prompt_s">
  32. <?php if(isset($_REQUEST['message'])) { ?>
  33. <?php echo $_REQUEST['message']; ?>
  34. <?php }elseif(isset($_REQUEST['error'])){ ?>
  35. <?php echo $_REQUEST['error']; ?>
  36. <?php } ?>
  37. ,等待时间:<b id="wait"><?php if(isset($_REQUEST['time'])){ echo $_REQUEST['time']; } ?></b>
  38. </p>
  39. <div class="systemprompt">
  40. <a href="<?php if(isset($_REQUEST['url'])){ echo $_REQUEST['url']; } ?>" id="href">返回上一页</a>
  41. <a href="<?php echo route('weixin'); ?>">返回首页</a>
  42. </div>
  43. <script type="text/javascript">
  44. (function(){
  45. var wait = document.getElementById('wait'),href = document.getElementById('href').href;
  46. var interval = setInterval(function(){
  47. var time = --wait.innerHTML;
  48. if(time <= 0)
  49. {
  50. location.href = href;
  51. clearInterval(interval);
  52. };
  53. }, 1000);
  54. })();
  55. </script>
  56. </body></html>