default_index.tpl 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?php
  2. namespace {$app}\{$module}{layer};
  3. class Index{$suffix}
  4. {
  5. public function index()
  6. {
  7. return '<!DOCTYPE html>
  8. <html>
  9. <head>
  10. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  11. <meta name="renderer" content="webkit" />
  12. <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
  13. <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  14. <title>系统提示</title>
  15. <style type="text/css">
  16. html,body {width: 100%;height: 100%;background: #f7f7f7;margin: 0;padding: 0;border: 0;}
  17. div,p {margin: 0;padding: 0;border: 0;}
  18. .container {width: 100%;height: 100%;position: fixed;top: 0;left: 0;z-index: 999;overflow: hidden;}
  19. .info {width: 480px;height: 360px;position: absolute;top: 50%;left: 50%;margin-top: -200px;margin-left: -240px;text-align:center;}
  20. .info-status{width: 500px; display:none;justify-content: space-between;align-items: center;flex-wrap: nowrap;}
  21. .info-status div{width:120px; height:180px; line-height:180px; font-size:160px; font-weight:200; color:#F35F37}
  22. .info-status div.face{font-size:60px; border:9px solid #F35F37; width:120px; height:120px; line-height:118px; background-color:#fff; border-radius:50%;}
  23. .info-tips{font-size:20px;color:#F35F37; padding-top:32px; font-weight:600;}
  24. .footer {position: absolute;font-size: 12px;bottom: 28px;text-align: center;width: 100%;color: #969696;}
  25. .info-status.code-500{display: -webkit-flex;display: flex;flex-direction: row;}
  26. </style>
  27. </head>
  28. <body>
  29. <div class="container">
  30. <div class="info">
  31. <div class="info-status code-500" title="出错啦"><div>5</div><div class="face">😔</div><div class="face">😔</div></div>
  32. <div class="info-tips">哎呀!出错啦,请开启debug模式调试,<a href="https://blog.gougucms.com/home/book/detail/bid/3/id/77.html" target="_blank">开启debug</a></div>
  33. </div>
  34. <div class="footer">
  35. Copyright © 2022-2025 勾股OA ,Powered by GouguOPEN
  36. </div>
  37. </div>
  38. </body>
  39. </html>';
  40. }
  41. }