@@ -39,6 +39,7 @@ class PolicyController extends MobileBaseController
public function index(Request $request, $id = '1', $num = '8', $focus = '3', $recommend = '4', $other_num = '5')
{
+ return redirect(route('mobile.policy.list',['id'=>72]));
$size = 5;
$key = $request->input('key');
$rst = $this->policycategoryService->policy_list($key, $id, '10');
@@ -37,7 +37,8 @@
{{-- <a data-url="" href="{{route($sub_site.'mobile.new')}}" class="t-btn @if($type_id == '') active font16 @endif">热点推荐</a>--}}
@if($categorys_root)
@foreach($categorys_root as $k=>$v)
- <a data-url="" href="{{route($sub_site.'mobile.policy.list',['id'=>$v->id])}}" class="t-btn @if($roottype_id == $v->id) active font16 @endif">{{$v->categoryname}}</a>
+ @if($roottype_id == $v->id)<a href="javascript:void(0);" class="t-btn active font16 ">{{$v->categoryname}}</a>@endif
+ {{--<a data-url="" href="{{route($sub_site.'mobile.policy.list',['id'=>$v->id])}}" class="t-btn @if($roottype_id == $v->id) active font16 @endif">{{$v->categoryname}}</a>--}}
@endforeach
@endif
</div>