diff --git a/app/admin/view/file/form.html b/app/admin/view/file/form.html index eee0c3a7d..5536ace18 100644 --- a/app/admin/view/file/form.html +++ b/app/admin/view/file/form.html @@ -11,7 +11,7 @@ 文件大小Size - + 存储方式Type diff --git a/app/admin/view/file/index.html b/app/admin/view/file/index.html index 01a6c3352..f227f5241 100644 --- a/app/admin/view/file/index.html +++ b/app/admin/view/file/index.html @@ -25,13 +25,13 @@ {field: 'name', title: '文件名称', width: '12%', align: 'center'}, {field: 'hash', title: '文件哈希', width: '15%', align: 'center', templet: '{{d.hash}}'}, { - field: 'size', title: '文件大小', align: 'center', width: '8%', sort: true, templet: function (d) { + field: 'size', title: '文件大小', align: 'center', width: '7%', sort: true, templet: function (d) { return $.formatFileSize(d.size) } }, - {field: 'xext', title: '文件后缀', align: 'center', width: '8%', sort: true}, + {field: 'xext', title: '文件后缀', align: 'center', width: '7%', sort: true}, { - field: 'xurl', title: '查看文件', width: '8%', align: 'center', templet: function (d) { + field: 'xurl', title: '查看文件', width: '7%', align: 'center', templet: function (d) { if (typeof d.mime === 'string' && /^image\//.test(d.mime)) { return laytpl('').render(d) } else if (typeof d.mime === 'string' && /^(video|audio)\//.test(d.mime)) {
{{d.hash}}