<div class="pb pb-member-profile-menu">
    <div class="body">
        <div class="list">
            <a class="@if(in_array($base_request_path,['/member/message_all','/member/message'])) active @endif" href="/member/message">
                @if($_memberUser['newMessageCount']>0 && !in_array($base_request_path,['/member/message_all','/member/message']))
                    <div class="count">{{$_memberUser['newMessageCount']}}</div>
                @endif
                <i class="uk-icon-bell"></i> 消息通知
            </a>
            <a class="@if(\Illuminate\Support\Str::startsWith($base_request_path,'/member/message_chat')) active @endif" href="/member/message_chat">
                @if($_memberUser['newChatMsgCount']>0 && !\Illuminate\Support\Str::startsWith($base_request_path,'/member/message_chat'))
                    <div class="count">{{$_memberUser['newChatMsgCount']}}</div>
                @endif
                <i class="uk-icon-envelope"></i> 我的私信
            </a>
        </div>
    </div>
</div>