12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- {{# layui.each(d.items,function(index,item){}}
- {{# if(d.currId==item.fatherId){}}
- <tr>
- {{# if(item.type==0){}}
- <td onclick="downloadFile(this)" data_url="{{=item.fileUrl}}" data_name="{{=item.name}}" data_pass="{{=item.password}}" style="cursor:pointer">
- {{# if(item.password!=null && item.password!=''){}}
- <a href="###"><i class="iconfont icon-mima"></i></a>
- {{# } }}
- <a href="###"><i class="iconfont icon-wenjian1"></i></a>{{=item.name}} <br />
- {{# if(item.password!=null && item.password!='' && d.role>0){}}
- <span style="color:#00BFFF">[{{ translater('Password') }}:{{=item.password}}]</span>
- {{# } }}
- </td>
- <td>{{=item.fileSize}}{{# if(item.fileSize>0){}} M{{# } }}</td>
- <td>{{=item.creater}}</td>
- <td>{{ dateFormat(item.createTime) }}</td>
- <td>
- <a href="###" onclick="downloadFile(this)" data_url="{{=item.fileUrl}}" data_name="{{=item.name}}" data_pass="{{=item.password}}" title="{{ translater('Download') }}"><i class="iconfont icon-xiazai1"></i></a>
- {{# if(d.role>1){}}
- <a href="###" onclick="editFolderAndFiles(this)" data_id="{{=item.id}}" title="{{ translater('Config') }}"><i class="iconfont icon-peizhi"></i></a>
- <a href="###" onclick="deleteFolderAndFiles(this)" data_id="{{=item.id}}" title="{{ translater('Delete') }}"><i class="iconfont icon-shanchu"></i></a>
- {{# } }}
- </td>
- {{# } else { }}
- <td onclick="enterFolder(this)" data_id="{{=item.id}}" data_pass="{{=item.password}}" style="cursor:pointer">
- {{# if(item.password!=null && item.password!=''){}}
- <a href="###"><i class="iconfont icon-mima"></i></a>
- {{# } }}
- <a href="###"><i class="iconfont icon-wenjianjia1"></i></a>{{=item.name}} <br />
- {{# if(item.password!=null && item.password!='' && d.role>0){}}
- <span style="color:#00BFFF">{{ translater('Password') }}: {{=item.password}}</span>
- {{# } }}
- </td>
- <td>{{=item.fileSize}}{{# if(item.fileSize>0){}} M{{# } }}</td>
- <td>{{=item.creater}}</td>
- <td>{{ dateFormat(item.createTime) }}</td>
- <td>
- {{# if(d.role>1){}}
- <a href="###" onclick="editFolderAndFiles(this)" data_id="{{=item.id}}" title="{{ translater('Config') }}"><i class="iconfont icon-peizhi"></i></a>
- <a href="###" onclick="deleteFolderAndFiles(this)" data_id="{{=item.id}}" title="{{ translater('Delete') }}"><i class="iconfont icon-shanchu"></i></a>
- {{# } }}
- </td>
- {{# } }}
- </tr>
- {{# } }}
- {{# }); }}
|