作者 zhl

u view

... ... @@ -37,6 +37,11 @@ class Index extends Base
*/
public function blog()
{
$web = [
'title' => 'blog',
'keywords' => 'blog',
'description' => 'blog',
];
$lists = $this->getData('blog');
if(!empty($lists['links'])){
... ... @@ -46,7 +51,8 @@ class Index extends Base
}
}
return view('v2/blog/lists',[
'lists' => $lists
'lists' => $lists,
'web' => $web
]);
}
... ... @@ -65,8 +71,16 @@ class Index extends Base
Fun::abort();
}
$web = [
'title' => $data['blog_title'],
'keywords' => $data['blog_seo_keywords'],
'description' => $data['blog_seo_description'],
];
return view('v2/blog/info',[
'data' => $data
'data' => $data,
'web' => $web
]);
}
... ...

497.9 KB | 宽: | 高:

66.5 KB | 宽: | 高:

  • 两方对比
  • 交换覆盖
  • 透明覆盖
... ... @@ -13,7 +13,7 @@
<section class="web_main page_main">
<div class="layout">
<div class="blog-item">
<h2 class="item-title blog-title">{{$data['blog_title']}}</h2>
{{--<h2 class="item-title blog-title">{{$data['blog_title']}}</h2>--}}
<div class="item-author">
<span class="time">{{date('F:d,Y',strtotime($data['blog_push_time']))}}</span>|
<span class="author">BY {{$data['blog_push_author']}}</span>
... ...