<header id="header" class="header">
    <div class="header-info" style="    -webkit-app-region: drag;">
        <a href="" class="logo" title="我的云盘">
        </a>
        <div class="user-info">
            <div class="avator">
                <img src="./assets/imgs/avatar.png" alt="">
            </div>
            <div class="name-space">
                <p>
                    <span> {{cur_user.displayName}}</span>
                </p>
                <div class="remaining-space">
                    <div class="space-ui" style="width:{{space.percent}}%">
                    </div>
                    <div class="space-text">
                        {{ space.use_size | formByteLength}}/{{ space.max_size | formByteLength}}
                    </div>
                </div>
            </div>
        </div>
    </div>
    <ul class="nav-bar">
        <li ng-repeat="item in header_menu" ng-click="checked(item.id)">
            <a ui-sref="{{item.url}}" class="{{item.id==cur_id?'current':''}} ">
                <i class="{{item.icon}} "> 
                </i>
                <span>{{item.name}}</span>
            </a>
        </li>
    </ul>
    <div class="move"></div>
    <div class="header-right">
        <div class="setting">

            <a ui-sref="setting" class="min" title="系统设置">
                <svg class="icon" aria-hidden="true">
                    <use xlink:href="#icon-setting"></use>
                </svg>
                <!--<i class="setting_img"></i>-->
            </a>
            <span class="min" ng-click="Bmin()" title="最小化"> 
                <svg class="icon" aria-hidden="true">
                      <use xlink:href="#icon-zoomout"></use>
                </svg>
            </span>
            <span class="max" ng-click="Bmax()" title="最大化"> 
                 <svg class="icon" aria-hidden="true">
                      <use xlink:href="#icon-zoomin"></use>
                </svg>
            </span>
            <span class="close" ng-click="Bclose()" title="关闭">
                <svg class="icon" aria-hidden="true">
                      <use xlink:href="#icon-close"></use>
                </svg>
            </span>
        </div>
    </div>
    <div class="tab_task">
        <a class="head_task" ng-click="letBack()" class="{{'share_task'==cur_id?'current':''}}" style="cursor: pointer;">
            <i class="task_page"></i>
            <span ng-show="is_show_task">
               {{ task_len ? '任务列表('+task_len+')' :'任务列表'}}
            </span>
            <span ng-if="!is_show_task">
                收起任务列表
            </span>
            <i id="end"></i>
        </a>
    </div>
</header>