<div class="task downfile">
    <!--<div class="transfer_recoded recode" ng-if="!!file_list.length">-->
        <!--共传输完成{{file_list.length}}个文件！-->
        <!--<button ng-click='empty_recode()'>清除所有记录</button>-->
    <!--</div>-->
    <div class="transfer_recode" ng-if="!!file_list.length">
        <div class="transfer_header">
            <i class="recode_img"></i>
            <span>共传输完成{{file_list.length}}个文件！</span>
        </div>
        <div class="transfer_operator">
            <span ng-click='empty_recode()' style="width: auto;position: absolute;right: 60px"><i class="img_delete"></i>清除所有记录</span>
        </div>
    </div>
    <ul class="complete_list list-list task" ng-show="!!file_list.length" style="    position: relative;">
        <md-virtual-repeat-container id="complete_list-container" >

            <li md-virtual-repeat="file in file_list"  md-item-size="20">
                <div layout="row"  title="{{::file.name}}">
                    <div flex="55" class="file_show_header" >
                        <div class="file_icon">
                            <span class="ico ico_1  ico-{{file.ext||'file'}}"></span>
                        </div>
                        <div class="file_name">{{::file.name}}</div>
                        <div class="file_size"> {{ file.size | formByteLength}}</div>
                    </div>
                    <div flex="15" class="file_time">{{file.cdate |date : 'yyyy-MM-dd'}}</div>
                    <div flex="15" class="file_status">
                        <svg ng-if="file.type==1" class="icon" aria-hidden="true">
                            <use xlink:href="#icon-img_download"></use>
                        </svg>
                        <svg ng-if="file.type==2" class="icon" aria-hidden="true">
                            <use xlink:href="#icon-img_fold"></use>
                        </svg>
                        {{file.type==1?"下载完成":"上传成功"}}
                    </div>

                    <div flex="15" class="file_operation opt downlist_btn">
                        <i flex="4" title="打开文件">
                        <svg ng-click="open(file,false)"  class="icon" aria-hidden="true"> 
                           <use xlink:href="#icon-file1"></use>
                        </svg> 
                    </i>
                        <i flex="4" title="打开文件所在目录">
                        <svg  ng-click="open(file ,true)" title="" class="icon" aria-hidden="true">    
                          <use xlink:href="#icon-folder1"></use>
                        </svg> 
                    </i>
                        <i flex="4" title="清除记录">
                        <svg   ng-click="delete(file,$index)" title=""  class="icon" aria-hidden="true"> 
                          <use xlink:href="#icon-recycle"></use>
                        </svg> 
                    </i>
                    </div>
                </div>

            </li>

        </md-virtual-repeat-container>
    </ul>
    <div ng-if="!file_list.length" class="transfer-empty">

    </div>
</div>