profile_menu.blade.php 1.7 KB

123456789101112131415
  1. <div id="secondary" class="col-md-2">
  2. <nav class="list-group">
  3. <a href="{{ route('auth.profile.base') }}" class="list-group-item @if(request()->route()->getName() == 'auth.profile.base') active @endif" ><span class="glyphicon glyphicon-user"></span> 个人资料</a>
  4. {{-- <a href="{{ route('auth.profile.password') }}" class="list-group-item @if(request()->route()->getName() == 'auth.profile.password') active @endif""><span class="glyphicon glyphicon-pencil"></span> 修改密码</a>--}}
  5. {{-- <a href="{{ route('auth.profile.email') }}" class="list-group-item @if(request()->route()->getName() == 'auth.profile.email') active @endif" ><span class="glyphicon glyphicon-envelope"></span> 绑定邮箱</a>--}}
  6. @if(config('services.sms_open'))
  7. <a href="{{ route('auth.profile.mobile') }}" class="list-group-item @if(request()->route()->getName() == 'auth.profile.mobile') active @endif" ><span class="glyphicon glyphicon-phone"></span> 绑定手机</a>
  8. @endif
  9. <a href="{{ route('auth.authentication.index') }}" class="list-group-item @if(str_contains(request()->route()->getName(),'auth.authentication')) active @endif" ><span class="fa fa-graduation-cap" aria-hidden="true"></span> 专家认证</a>
  10. @if(config('services.oauth_open'))
  11. <a href="{{ route('auth.profile.oauth') }}" class="list-group-item @if(request()->route()->getName() == 'auth.profile.oauth') active @endif" ><span class="glyphicon glyphicon-retweet"></span> 账号绑定</a>
  12. @endif
  13. <a href="{{ route('auth.profile.notification') }}" class="list-group-item @if(request()->route()->getName() == 'auth.profile.notification') active @endif"><span class="glyphicon glyphicon-bell"></span> 通知提醒</a>
  14. </nav>
  15. </div>