<div class="fl bgff side" style="width:220px;">
    <ul class="menu_active">
        <li class="side-li-title"><i class="icn ykl04f"></i> <span>我的账户</span></li>
        <li  class="side-li @if(isset($type) && $type == 'index') active @endif" ><a href="{{ url('advert/member') }}">我的信息</a></li>

        <li class="side-li @if(isset($type) && $type == 'message') active @endif"><a href="{{ url('advert/message') }}">系统消息</a></li>
        <li class="side-li @if(isset($type) && $type == 'safe') active @endif"><a href="{{ url('advert/member/safe')}}">密码安全</a></li>
        <li class="side-li @if(isset($type) && $type == 'payPassword') active @endif"><a href="{{ url('advert/member/pay/pass')}}">支付密码</a></li>
        <li class="side-li-title"><i class="icn yklchongzhi"></i> <span>充值</span></li>
        <li class="side-li @if(isset($type) && $type == 'chargePay') active @endif"><a href="{{ url('advert/member/pay/charge')}}">充值/余额</a></li>
        <li class="side-li @if(isset($type) && $type == 'charge') active @endif"><a href="{{ url('advert/member/charge')}}">充值列表</a></li>
        <li class="side-li @if(isset($type) && $type == 'moneyRecord') active @endif"><a href="{{ url('advert/member/money/record')}}">用户流水</a></li>
        <li class="side-li-title"><i class="icn yklwenzhang"></i> <span>我的软文</span></li>
        <li class="side-li @if(isset($type) && $type == 'source') active @endif"><a href="{{ url('advert/member/resource')}}">素材列表</a></li>
        <li class="side-li @if(isset($type) && $type == 'file') active @endif"><a href="{{ url('advert/member/file')}}">创建素材</a></li>
        <li class="side-li-title"><i class="icn ykldingdan"></i> <span>我的订单</span></li>
        <li class="side-li @if(isset($type) && $type == 'order') active @endif"><a href="{{ url('advert/member/order?type=order') }}" data-type="">全部订单</a></li>
        @foreach($top_category as $item)
                <li class="side-li  @if(isset($type) && $type == $item->tag) active @endif" ><a href="/advert/member/order?type={{$item->tag}}" data-type="{{$item->id}}">{{$item->name}}</a></li>
        @endforeach
        <li class="side-li-title"><i class="icn yklgouwuche1"></i> <span>购物车</span></li>
        <li class="side-li @if(isset($type) && $type == 'cart') active @endif"><a href="{{ url('advert/member/cart')}}">购物车</a></li>
    </ul>
</div>
