欢迎各位兄弟 发布技术文章
这里的技术是共享的
<ul class="sonmenu">
<li class="sonmenulileft {{ isActiveRoute(\Illuminate\Support\Facades\Request::path(),'admin') }}"><a href="{{ url('/admin') }}">管理用户</a></li> <li class="sonmenuliright {{ isActiveRoute(\Illuminate\Support\Facades\Request::path(),'admin') }}"><a href="{{ url('/admin/data') }}">管理数据</a></li> <li class="sonmenulileft {{ isActiveRoute(\Illuminate\Support\Facades\Request::path(),'admin') }}"><a href="{{ url('/admin/page/page') }}">文章</a></li> <li class="sonmenuliright {{ isActiveRoute(\Illuminate\Support\Facades\Request::path(),'admin') }}"><a href="{{ url('/admin/page/notice') }}">公告</a></li> <div class="clr {{ isActiveRoute(\Illuminate\Support\Facades\Request::path(),'admin') }}"></div> </ul>
关于 \Illuminate\Support\Facades\Request的更多用法 见 /node/6818