<div class="tbl-list">
    <div class="th-file">
        <div class="chk-all"><i></i></div>
        <div id="J-sortName" class="fname" ng-click="sort('name')">
            文件名
            <svg ng-if="curSort==='name'&& desc===1" class="icon" aria-hidden="true">
                <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-stab_down"></use>
            </svg>
            <svg  ng-if="curSort==='name'&& desc===0" class="icon" aria-hidden="true">
                <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-stab_up"></use>
            </svg>
        </div>
        <div id="J-sortSize" class="fsize" ng-click="sort('size')">
            大小
            <svg ng-if="curSort==='size'&& desc===1" class="icon" aria-hidden="true">
                <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-stab_down"></use>
            </svg>
            <svg  ng-if="curSort==='size'&& desc===0" class="icon" aria-hidden="true">
                <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-stab_up"></use>
            </svg>
        </div>
        <div id="J-sortTime" class="ftime" ng-click="sort('time')">
            {{::recycle ? '删除时间' : '修改时间'}}
              <svg ng-if="curSort==='time'&& desc===1" class="icon" aria-hidden="true">
                <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-stab_down"></use>
            </svg>
            <svg  ng-if="curSort==='time'&& desc===0" class="icon" aria-hidden="true">
                <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-stab_up"></use>
            </svg>
        </div>
        <div class="etime" ng-show="recycle" ng-click="sort('time')">
            有效时间
              <svg ng-if="curSort==='time'&& desc===1" class="icon" aria-hidden="true">
                <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-stab_down"></use>
            </svg>
            <svg  ng-if="curSort==='time'&& desc===0" class="icon" aria-hidden="true">
                <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-stab_up"></use>
            </svg>
        </div>
    </div>
    <div class="tbody list-list" id="J-tbody">
        <div class="tr-file" ng-repeat="file in files track by file._id" 
        ng-dblclick="fileClick(file,$event)" data-id="{{::file._id}}"
            data-index="{{::$index}}">
            <div class="chk" data-index="{{::$index}}">
                <i></i>
            </div>
            <div class="fname" title="{{file.name}}">
                <i class="ico ico-{{file.isdir==1?'folder':file.ext}} {{::file._id}} "></i>
                <a href="#" ng-click="fileClick(file,$event)"> 
                    {{file.name}} </a>
            </div>
            <div class="fsize">
                <span>{{::file.isdir?'-':(file.size| formByteLength)}}</span>
            </div>
            <div class="ftime">
                {{::recycle ? file.delete_time : file.server_ctime | date: 'yyyy-MM-dd HH:mm'}}
            </div>
            <div class="etime" ng-show="recycle">
                10天
            </div>
        </div>
    </div>
</div>