Aucune description
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

think_exception.tpl 5.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <?php
  2. $url = function_exists('config') ? config('template.tpl_replace_string.__STATIC__') : '';
  3. ?>
  4. <!DOCTYPE html>
  5. <html>
  6. <head>
  7. <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
  8. <title>系统发生错误</title>
  9. <meta name="robots" content="noindex,nofollow" />
  10. <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
  11. <style>
  12. * {-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;}
  13. html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,caption,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video {margin:0;padding:0;border:0;outline:0;vertical-align:baseline;background:transparent;}
  14. article,aside,details,figcaption,figure,footer,header,hgroup,nav,section {display:block;}
  15. html {font-size:16px;line-height:24px;width:100%;height:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;overflow-y:scroll;overflow-x:hidden;}
  16. img {vertical-align:middle;max-width:100%;height:auto;border:0;-ms-interpolation-mode:bicubic;}
  17. body {min-height:100%;background:#edf1f4;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:"Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",微软雅黑,Arial,sans-serif;}
  18. .clearfix {clear:both;zoom:1;}
  19. .clearfix:before,.clearfix:after {content:"\0020";display:block;height:0;visibility:hidden;}
  20. .clearfix:after {clear:both;}
  21. body.error-page-wrapper,.error-page-wrapper.preview {background-position:center center;background-repeat:no-repeat;background-size:cover;position:relative;}
  22. .error-page-wrapper .content-container {border-radius:2px;text-align:center;box-shadow:1px 1px 1px rgba(99,99,99,0.1);padding:50px;background-color:#fff;width:100%;max-width:560px;position:absolute;left:50%;top:50%;margin-top:-220px;margin-left:-280px;}
  23. .error-page-wrapper .content-container.in {left:0px;opacity:1;}
  24. .error-page-wrapper .head-line {transition:color .2s linear;font-size:40px;line-height:60px;letter-spacing:-1px;margin-bottom:20px;color:#777;}
  25. .error-page-wrapper .subheader {transition:color .2s linear;font-size:32px;line-height:46px;color:#494949;}
  26. .error-page-wrapper .hr {height:1px;background-color:#eee;width:80%;max-width:350px;margin:25px auto;}
  27. .error-page-wrapper .context {transition:color .2s linear;font-size:16px;line-height:27px;color:#aaa;}
  28. .error-page-wrapper .context p {margin:0;}
  29. .error-page-wrapper .context p:nth-child(n+2) {margin-top:16px;}
  30. .error-page-wrapper .buttons-container {margin-top:35px;overflow:hidden;}
  31. .error-page-wrapper .buttons-container a {transition:text-indent .2s ease-out,color .2s linear,background-color .2s linear;text-indent:0px;font-size:14px;text-transform:uppercase;text-decoration:none;color:#fff;background-color:#2ecc71;border-radius:99px;padding:8px 0 8px;text-align:center;display:inline-block;overflow:hidden;position:relative;width:45%;}
  32. .error-page-wrapper .buttons-container a:hover {text-indent:15px;}
  33. .error-page-wrapper .buttons-container a:nth-child(1) {float:left;}
  34. .error-page-wrapper .buttons-container a:nth-child(2) {float:right;}
  35. @media screen and (max-width:580px) {
  36. .error-page-wrapper {padding:30px 5%;}
  37. .error-page-wrapper .content-container {padding:37px;position:static;left:0;margin-top:0;margin-left:0;}
  38. .error-page-wrapper .head-line {font-size:36px;}
  39. .error-page-wrapper .subheader {font-size:27px;line-height:37px;}
  40. .error-page-wrapper .hr {margin:30px auto;width:215px;}
  41. }
  42. @media screen and (max-width:450px) {
  43. .error-page-wrapper {padding:30px;}
  44. .error-page-wrapper .head-line {font-size:32px;}
  45. .error-page-wrapper .hr {margin:25px auto;width:180px;}
  46. .error-page-wrapper .context {font-size:15px;line-height:22px;}
  47. .error-page-wrapper .context p:nth-child(n+2) {margin-top:10px;}
  48. .error-page-wrapper .buttons-container {margin-top:29px;}
  49. .error-page-wrapper .buttons-container a {float:none !important;width:65%;margin:0 auto;font-size:13px;padding:9px 0;}
  50. .error-page-wrapper .buttons-container a:nth-child(2) {margin-top:12px;}
  51. }
  52. </style>
  53. </head>
  54. <body class="error-page-wrapper">
  55. <div class="content-container">
  56. <div class="head-line">
  57. <img src="<?php echo $url; ?>/common/img/error.svg" alt="" width="120"/>
  58. </div>
  59. <div class="subheader">
  60. <?php echo nl2br(htmlentities($message)); ?>
  61. </div>
  62. <div class="hr"></div>
  63. <div class="context">
  64. <p>你可以返回上一页重试,或直接向我们反馈错误报告</p>
  65. </div>
  66. <div class="buttons-container">
  67. <a href="<?php echo url('/'); ?>">返回主页</a>
  68. <a href="https://gitee.com/ken678/YZNCMS/issues" target="_blank">反馈错误</a>
  69. </div>
  70. </div>
  71. </body>
  72. </html>