作者 lyh

gx

@@ -58,6 +58,33 @@ class Demo extends Command @@ -58,6 +58,33 @@ class Demo extends Command
58 */ 58 */
59 protected $description = 'demo'; 59 protected $description = 'demo';
60 60
  61 + public static $main404Html = '<main>
  62 + <section data-section="section" data-screen="screen-large" class="section-404-wrap-block section-block-error404"
  63 + id="sectionIdyxqu938">
  64 + <div class="layout" data-unable="demo01-error404">
  65 + <img src="https://ecdn6.globalso.com/upload/m/image_other/2023-10/6528a87e594db30162.png" />
  66 + </div>
  67 + <p style="text-align: center">SORRY. THE PAGE HAS EITHER MOVED OR CANNOT BE FOUND.</p>
  68 + <style>
  69 + .section-block-error404 .layout {
  70 + height: 700px;
  71 + display: flex;
  72 + align-items: center;
  73 + justify-content: center;
  74 + }
  75 + .section-block-error404 img {
  76 + width: 400px;
  77 + }
  78 + @media only screen and (max-width:500) {
  79 + .section-block-error404 img {
  80 + max-width: 100%;
  81 + }
  82 + }
  83 + </style>
  84 + <script>
  85 + </script>
  86 + </section>
  87 + </main>';
61 public function handle(){ 88 public function handle(){
62 $projectModel = new Project(); 89 $projectModel = new Project();
63 $list = $projectModel->list(['is_upgrade'=>1]); 90 $list = $projectModel->list(['is_upgrade'=>1]);