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

公司介绍

@@ -43,7 +43,7 @@ class AboutController extends HomeBaseController{ @@ -43,7 +43,7 @@ class AboutController extends HomeBaseController{
43 $data = Db::name('portal_category_post') -> where('category_id',15) -> find(); 43 $data = Db::name('portal_category_post') -> where('category_id',15) -> find();
44 $shuju = Db::name('portal_post') -> where('id',$data['post_id']) -> find(); 44 $shuju = Db::name('portal_post') -> where('id',$data['post_id']) -> find();
45 $shuju['post_content'] = cmf_replace_content_file_url(htmlspecialchars_decode($shuju['post_content'])); 45 $shuju['post_content'] = cmf_replace_content_file_url(htmlspecialchars_decode($shuju['post_content']));
46 - $this -> assign('data',$shuju); 46 + $this -> assign('shuju',$shuju);
47 return $this -> fetch(); 47 return $this -> fetch();
48 48
49 } 49 }
@@ -10,29 +10,27 @@ @@ -10,29 +10,27 @@
10 </head> 10 </head>
11 <body class="pro2_box"> 11 <body class="pro2_box">
12 12
13 -  
14 <include file="public@nav"/> 13 <include file="public@nav"/>
15 14
16 15
17 - <div class="product2_main">  
18 - <div class="prp_tit"> 16 + <div class="product2_main product2_main22">
  17 + <div class="prp_tit prp_tit2">
19 <a href="">首页</a> 18 <a href="">首页</a>
20 <img src="__TMPL__/public/assets/images/aicon09.png" alt=""> 19 <img src="__TMPL__/public/assets/images/aicon09.png" alt="">
21 <a href="">公司介绍</a> 20 <a href="">公司介绍</a>
22 </div> 21 </div>
23 <div class="product2_mainBox"> 22 <div class="product2_mainBox">
24 <div class="pro2_tit"> 23 <div class="pro2_tit">
25 - <h2>{$data.post_title}</h2>  
26 - <p>发布时间:{$data.create_time|date="Y-m-d H:i:s",###}</p> 24 + <h2>{$shuju.post_title}</h2>
  25 + <p>发布时间:{$shuju.create_time|date="Y-m-d H:i:s",###}</p>
27 </div> 26 </div>
28 27
29 <div class="pro2_Txt"> 28 <div class="pro2_Txt">
30 - {$data.post_content} 29 + {$shuju.post_content}
31 </div> 30 </div>
32 </div> 31 </div>
33 </div> 32 </div>
34 33
35 -  
36 <include file="public@footer" /> 34 <include file="public@footer" />
37 35
38 36