|
|
|
@ -461,7 +461,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
<input type="hidden" id="video_url" name="flooring_page_video" value="{$data['flooring_page_video']}"/>
|
|
|
|
|
</span>
|
|
|
|
|
<span class="notice-text">视频大小不能超过20M,支持格式:mp4,3gp,wmv,asf,asx,mov,m4v,avi,flv,qlv</span>
|
|
|
|
|
<span class="notice-text">视频大小不能超过50M,支持格式:mp4,3gp,wmv,asf,asx,mov,m4v,avi,flv,qlv</span>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
@ -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");
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|