<div ng-cloak style="  height:100%">
    <md-nav-bar class="task-bar" md-selected-nav-item="currentNavItem" nav-bar-aria-label="navigation links" style="display: flex;height: 38px">
        <md-nav-item md-nav-sref="task.downList" name="download" style="flex: 1;">
            正在下载 {{lenDown>0 ? '('+lenDown+')' : ''}}
        </md-nav-item>
        <md-nav-item md-nav-sref="task.uploadList" name="upload" style="flex: 1;">
            正在上传{{lenUpload>0 ? '('+lenUpload+')' : ''}}
        </md-nav-item>
        <md-nav-item md-nav-sref="task.complete" name="complete" style="flex: 1;">
            传输完成
        </md-nav-item>
    </md-nav-bar>
    <div class="task-container" style="height: calc(100% - 50px);" ui-view>
    </div>

</div>