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

核心医疗

@@ -45,11 +45,14 @@ class AboutController extends HomeBaseController{ @@ -45,11 +45,14 @@ class AboutController extends HomeBaseController{
45 //显示核心团队 45 //显示核心团队
46 public function team(){ 46 public function team(){
47 47
48 - $data = Db::name('portal_category_post') -> alias('a') -> join('portal_post b','a.post_id = b.id','LEFT') -> where('a.category_id',5) -> paginate(6); 48 + $data = Db::name('portal_category_post') -> alias('a') -> join('portal_post b','a.post_id = b.id','LEFT') -> where('a.category_id',34) -> select();
49 /* foreach ($data as $key => $value){ 49 /* foreach ($data as $key => $value){
50 $value['post_content'] = cmf_replace_content_file_url(htmlspecialchars_decode($value['post_content'])); 50 $value['post_content'] = cmf_replace_content_file_url(htmlspecialchars_decode($value['post_content']));
51 }*/ 51 }*/
52 $this -> assign('data',$data); 52 $this -> assign('data',$data);
  53 +
  54 + $data1 = Db::name('portal_category_post') -> alias('a') -> join('portal_post b','a.post_id = b.id','LEFT') -> where('a.category_id',35) -> select();
  55 + $this -> assign('data1',$data1);
53 return $this -> fetch(); 56 return $this -> fetch();
54 57
55 } 58 }
@@ -57,7 +57,7 @@ @@ -57,7 +57,7 @@
57 </div> 57 </div>
58 <div class="ab3_con_list"> 58 <div class="ab3_con_list">
59 <ul> 59 <ul>
60 - <volist name="data" id="val"> 60 + <volist name="data1" id="val">
61 <li> 61 <li>
62 <php>$arr = json_decode($val['more'],true);</php> 62 <php>$arr = json_decode($val['more'],true);</php>
63 <img src="{:cmf_get_image_url($arr.thumbnail)}" alt=""> 63 <img src="{:cmf_get_image_url($arr.thumbnail)}" alt="">