作者 zhl

u view

@@ -37,6 +37,11 @@ class Index extends Base @@ -37,6 +37,11 @@ class Index extends Base
37 */ 37 */
38 public function blog() 38 public function blog()
39 { 39 {
  40 + $web = [
  41 + 'title' => 'blog',
  42 + 'keywords' => 'blog',
  43 + 'description' => 'blog',
  44 + ];
40 45
41 $lists = $this->getData('blog'); 46 $lists = $this->getData('blog');
42 if(!empty($lists['links'])){ 47 if(!empty($lists['links'])){
@@ -46,7 +51,8 @@ class Index extends Base @@ -46,7 +51,8 @@ class Index extends Base
46 } 51 }
47 } 52 }
48 return view('v2/blog/lists',[ 53 return view('v2/blog/lists',[
49 - 'lists' => $lists 54 + 'lists' => $lists,
  55 + 'web' => $web
50 ]); 56 ]);
51 } 57 }
52 58
@@ -65,8 +71,16 @@ class Index extends Base @@ -65,8 +71,16 @@ class Index extends Base
65 Fun::abort(); 71 Fun::abort();
66 } 72 }
67 73
  74 +
  75 + $web = [
  76 + 'title' => $data['blog_title'],
  77 + 'keywords' => $data['blog_seo_keywords'],
  78 + 'description' => $data['blog_seo_description'],
  79 + ];
  80 +
68 return view('v2/blog/info',[ 81 return view('v2/blog/info',[
69 - 'data' => $data 82 + 'data' => $data,
  83 + 'web' => $web
70 ]); 84 ]);
71 } 85 }
72 86

497.9 KB | 宽: | 高:

66.5 KB | 宽: | 高:

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