From f93dd4d400aa2ef56f2e6bdf5e8185f44464490d Mon Sep 17 00:00:00 2001 From: elf <360197197@qq.com> Date: Wed, 15 Dec 2021 10:52:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/View/Game/edit.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Application/Admin/View/Game/edit.html b/Application/Admin/View/Game/edit.html index 749676677..75123fb45 100644 --- a/Application/Admin/View/Game/edit.html +++ b/Application/Admin/View/Game/edit.html @@ -461,7 +461,7 @@ - 视频大小不能超过20M,支持格式:mp4,3gp,wmv,asf,asx,mov,m4v,avi,flv,qlv + 视频大小不能超过50M,支持格式:mp4,3gp,wmv,asf,asx,mov,m4v,avi,flv,qlv @@ -1677,7 +1677,7 @@ // 选择文件的按钮。可选。 // 内部根据当前运行是创建,可能是input元素,也可能是flash. pick: {id:'#pickerVideo'}, - fileSingleSizeLimit:20*1024*1024, //设定单个文件大小 + fileSingleSizeLimit:50*1024*1024, //设定单个文件大小 // dnd: true, paste: document.body, accept: { @@ -1751,7 +1751,7 @@ if (type=="Q_TYPE_DENIED"){ layer.msg("不支持该视频格式"); }else if(type=="F_EXCEED_SIZE"){ - layer.msg("视频大小不能超过20M"); + layer.msg("视频大小不能超过50M"); } }); @@ -2287,9 +2287,9 @@ /** * 验证文件格式以及文件大小 */ - uploaderVideo.on("error",function (type){ + uploaderImgScreen.on("error",function (type){ if(type=="F_EXCEED_SIZE"){ - layer.msg("视频大小不能超过3M"); + layer.msg("图片大小不能超过3M"); } });