Browse Source

更新首页导航

sandm 1 năm trước cách đây
mục cha
commit
012d31768a

+ 1 - 1
app/Http/Controllers/Web/Content/PolicyController.php

@@ -99,7 +99,7 @@ class PolicyController extends WebBaseController
         $key = $request->input('key');
         $category=PolicyCategory::where(array('id'=>$id))->first();
         $lists = $this->policycategoryService->policy_list($key, $id, '10');
-        $categorys_root = $this->policycategoryService->getChildCategorys(0);//一级分类
+        $categorys_root = $this->policycategoryService->getChildCategorys(72);//一级分类
         $search_id=$category->parent_id!=0?$category->parent_id:$id;
         $categorys = $this->policycategoryService->getChildCategorys($search_id);
         $focus_articles = $this->policycategoryService->getFocosPolicys($focus, $other_num); //省级

+ 1 - 1
public/themes/default/views/app/index.blade.php

@@ -128,7 +128,7 @@
                 <a href="{{route('news.list',['id'=>57])}}">单位招聘</a>
                 <a href="{{route(url_rewrite('AIX_jobslist'))}}">求职广场</a>
 {{--                <a href="{{route('knowall')}}">网上办事</a>--}}
-                <a href="{{route('policy.list',['id'=>72])}}">人才政策</a>
+                <a href="{{route('policy.list',['id'=>72])}}">晋江政策</a>
                 {{--<a href="{{route('mien')}}">人才风采</a>
                 <a href="{{route('feature')}}">特色人才</a>--}}
                 <a href="{{route(url_rewrite('AIX_help'))}}">帮助中心</a>

+ 1 - 1
public/themes/default/views/module/section/nav_header.blade.php

@@ -14,7 +14,7 @@
                 <li class="nli J_hoverbut @if(strripos( url($current_url), route('news.list',['id'=>3])) !== false) select  @endif"><a href="{{route('news.list',['id'=>57])}}">单位招聘</a></li>
                 <li class="nli J_hoverbut @if(strripos( url($current_url), route('jobs')) !== false) select  @endif"><a href="{{route(url_rewrite('AIX_jobslist'))}}">求职广场</a></li>
 {{--                <li class="nli J_hoverbut @if(strripos( url($current_url), route('knowall')) !== false) select  @endif"><a href="{{route('knowall')}}">网上办事</a></li>--}}
-                <li class="nli J_hoverbut @if(strripos( url($current_url), route('policy.list',['id'=>72])) !== false) select  @endif"><a href="{{route('policy.list',['id'=>72])}}">人才政策</a></li>
+                <li class="nli J_hoverbut @if(strripos( url($current_url), route('policy.list',['id'=>72])) !== false) select  @endif"><a href="{{route('policy.list',['id'=>72])}}">晋江政策</a></li>
                 <li class="nli J_hoverbut @if(strripos( url($current_url), route('help')) !== false) select  @endif"><a href="{{route(url_rewrite('AIX_help'))}}">帮助中心</a></li>
 {{--                <li class="nli J_hoverbut @if(strripos( url($current_url), route('share')) !== false) select  @endif"><a href="{{route('share')}}">共享服务平台</a></li>--}}
             </ul>