作者 邓超

v2

... ... @@ -85,9 +85,8 @@ class Index extends Base
Fun::abort();
}
$page['show_html'] = str_replace('<title></title>','<title>'.$page['title'].'</title>',$page['show_html']);
return view('v2/page',$page);
return response($page['show_html'],200,['Content-Type'=>'text/html;charset=urt-8;']);
}
... ...
@extends('v2/base')
@section('content')
<!-- sys_sub_head -->
<section class="sys_sub_head">
<div class="page-title-bar">
<h2 class="title">{{$page_title}}</h2>
</div>
</section>
<!-- web_main start -->
<section class="web_main page_main">
<div class="layout">
<div class="blog-item">
<h2 class="item-title blog-title">{{$page_title}}</h2>
<article class="blog-article">
{!! $page_body !!}
</article>
</div>
</div>
</section>
<!--// web_main end -->
@endsection
... ...