作者 邓超

v2

@@ -85,9 +85,8 @@ class Index extends Base @@ -85,9 +85,8 @@ class Index extends Base
85 Fun::abort(); 85 Fun::abort();
86 } 86 }
87 87
88 - $page['show_html'] = str_replace('<title></title>','<title>'.$page['title'].'</title>',$page['show_html']); 88 + return view('v2/page',$page);
89 89
90 - return response($page['show_html'],200,['Content-Type'=>'text/html;charset=urt-8;']);  
91 } 90 }
92 91
93 92
  1 +@extends('v2/base')
  2 +
  3 +@section('content')
  4 +
  5 + <!-- sys_sub_head -->
  6 + <section class="sys_sub_head">
  7 + <div class="page-title-bar">
  8 + <h2 class="title">{{$page_title}}</h2>
  9 + </div>
  10 + </section>
  11 +
  12 + <!-- web_main start -->
  13 + <section class="web_main page_main">
  14 + <div class="layout">
  15 + <div class="blog-item">
  16 + <h2 class="item-title blog-title">{{$page_title}}</h2>
  17 +
  18 + <article class="blog-article">
  19 + {!! $page_body !!}
  20 + </article>
  21 +
  22 + </div>
  23 +
  24 + </div>
  25 + </section>
  26 + <!--// web_main end -->
  27 +
  28 +
  29 +@endsection