<!--左侧导航开始-->
<nav class="navbar-default navbar-static-side" role="navigation">
    <div class="nav-close">
        <i class="fa fa-times-circle"></i>
    </div>
    <div class="sidebar-collapse">
        <ul class="nav" id="side-menu">
            <li class="nav-header">
                <div class="dropdown profile-element">
                    <span><img alt="image" class="img-circle" src="{{ asset('assets/merchant/img/avatar.jpg') }}"
                               width="70" height="70"/></span>
                    <a data-toggle="dropdown" class="dropdown-toggle" href="javascript:void(0);">
                        <span class="clear">
                            <span class="block m-t-xs">
                                <strong class="font-bold">{{ Auth::guard('merchant')->user()->info->nickname }}({{ Auth::guard('merchant')->user()->username }})</strong>
                            </span>

                          <span class="text-muted text-xs block">修改密码 <b class="caret"></b></span>
                        </span>
                    </a>
                    <ul class="dropdown-menu m-t-xs">
                        <li><a data-toggle="layer" data-height="360" data-width="700"
                               href="{{ route('merchant.setting.password') }}" class="password">修改密码</a></li>
                    </ul>
                </div>
                <div class="logo-element">FX</div>
            </li>

            {{--             <li>--}}
            {{--                <a href="#">--}}
            {{--                    <i class="fa fa-user"></i>--}}
            {{--                    <span class="nav-label">个人信息</span>--}}
            {{--                    <span class="fa arrow"></span>--}}
            {{--                </a>--}}
            {{--                <ul class="nav nav-second-level">--}}
            {{--                    <li>--}}
            {{--                        <a class="J_menuItem" href="{{ route('merchant.setting.password') }}"><i class="fa fa-list"></i>修改登陆密码</a>--}}
            {{--                    </li>--}}
            {{--                </ul>--}}
            {{--            </li>--}}

            <li>
                <a href="#">
                    <i class="fa fa-users"></i>
                    <span class="nav-label">平安券管理</span>
                    <span class="fa arrow"></span>
                </a>
                <ul class="nav nav-second-level">
                    <li>
                        <a class="J_menuItem" href="{{ route('merchant.coupons') }}"><i class="fa fa-list"></i>核销记录</a>
                        <a class="J_menuItem" href="{{ route('merchant.census') }}"><i class="fa fa-list"></i>核销统计</a>
                    </li>
                </ul>
            </li>
            @if(Auth::guard('merchant')->user()->id==323)
                <li>
                    <a href="#">
                        <i class="fa fa-users"></i>
                        <span class="nav-label">银联微信券管理</span>
                        <span class="fa arrow"></span>
                    </a>
                    <ul class="nav nav-second-level">
                        <li>
                            <a class="J_menuItem" href="{{ route('merchant.unionpay.coupons') }}"><i
                                        class="fa fa-list"></i>核销记录</a>
                        </li>
                    </ul>
                </li>
            @endif
        </ul>
    </div>
</nav>
<!--左侧导航结束-->
