作者 anyv
1 个管道 的构建 通过 耗费 0 秒

关于我们

@@ -11,7 +11,7 @@ class AboutController extends WeChatBaseController{ @@ -11,7 +11,7 @@ class AboutController extends WeChatBaseController{
11 //显示关于我们页 11 //显示关于我们页
12 public function index(){ 12 public function index(){
13 13
14 - $data = Db::name('portal_post') -> find(); 14 + $data = Db::name('portal_post') -> select();
15 $this -> assign('data',$data); 15 $this -> assign('data',$data);
16 return $this -> fetch(); 16 return $this -> fetch();
17 17
@@ -13,16 +13,16 @@ @@ -13,16 +13,16 @@
13 <body> 13 <body>
14 <div class="about_box"> 14 <div class="about_box">
15 <div class="about_contetn"> 15 <div class="about_contetn">
  16 + <portal:subCategories categoryId="8" item="vo">
16 17
17 -  
18 - <h1 class="about_title">{$data.post_title}</h1> 18 + <h1 class="about_title">{$vo.post_title}</h1>
19 <!--banner--> 19 <!--banner-->
20 20
21 <!--内容--> 21 <!--内容-->
22 <div class="about_txt"> 22 <div class="about_txt">
23 - {$data.post_content} 23 + {$vo.post_content}
24 </div> 24 </div>
25 - 25 + </portal:subCategories>
26 </div> 26 </div>
27 </div> 27 </div>
28 </body> 28 </body>