diff --git a/Bootstrap.Admin/Bootstrap.Admin.csproj b/Bootstrap.Admin/Bootstrap.Admin.csproj index 7611442b..85e7ad8b 100644 --- a/Bootstrap.Admin/Bootstrap.Admin.csproj +++ b/Bootstrap.Admin/Bootstrap.Admin.csproj @@ -169,7 +169,7 @@ - + diff --git a/Bootstrap.Admin/Content/js/zh.js b/Bootstrap.Admin/Content/js/fileinput.zh.js similarity index 95% rename from Bootstrap.Admin/Content/js/zh.js rename to Bootstrap.Admin/Content/js/fileinput.zh.js index 75161cd8..f6a2f8b6 100644 --- a/Bootstrap.Admin/Content/js/zh.js +++ b/Bootstrap.Admin/Content/js/fileinput.zh.js @@ -51,7 +51,7 @@ msgImageHeightLarge: '图像文件"{name}"的高度不能超过{size}像素.', msgImageResizeError: '无法获取的图像尺寸调整。', msgImageResizeException: '错误而调整图像大小。
{errors}
', - dropZoneTitle: '请选择一个文件', + dropZoneTitle: '拖拽文件到这里 …
支持多文件同时上传', dropZoneClickTitle: '
(或点击{files}按钮选择文件)', fileActionSettings: { removeTitle: '删除文件', diff --git a/Bootstrap.Admin/Scripts/Infos.js b/Bootstrap.Admin/Scripts/Infos.js index 1734b555..ccd6ece8 100644 --- a/Bootstrap.Admin/Scripts/Infos.js +++ b/Bootstrap.Admin/Scripts/Infos.js @@ -13,6 +13,7 @@ ], initialPreviewAsData: true, overwriteInitial: true, + dropZoneTitle: "请选择头像" }).on('fileuploaded', function (event, data, previewId, index) { var url = data.response; if (!!url) $headerIcon.attr('src', url); diff --git a/Bootstrap.Admin/Scripts/_references.js b/Bootstrap.Admin/Scripts/_references.js index e21f3ee6..10236e9d 100644 Binary files a/Bootstrap.Admin/Scripts/_references.js and b/Bootstrap.Admin/Scripts/_references.js differ diff --git a/Bootstrap.Admin/Views/Admin/Infos.cshtml b/Bootstrap.Admin/Views/Admin/Infos.cshtml index c61ef658..b91902e7 100644 --- a/Bootstrap.Admin/Views/Admin/Infos.cshtml +++ b/Bootstrap.Admin/Views/Admin/Infos.cshtml @@ -7,7 +7,7 @@ - + } @section css {