基板
This commit is contained in:
@@ -1,31 +0,0 @@
|
||||
/**
|
||||
* BootstrapValidator (http://bootstrapvalidator.com)
|
||||
* The best jQuery plugin to validate form fields. Designed to use with Bootstrap 3
|
||||
*
|
||||
* @author http://twitter.com/nghuuphuoc
|
||||
* @copyright (c) 2013 - 2014 Nguyen Huu Phuoc
|
||||
* @license Commercial: http://bootstrapvalidator.com/license/
|
||||
* Non-commercial: http://creativecommons.org/licenses/by-nc-nd/3.0/
|
||||
*/
|
||||
|
||||
.bv-form .help-block {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.bv-form .tooltip-inner {
|
||||
text-align: left;
|
||||
}
|
||||
.nav-tabs li.bv-tab-success > a {
|
||||
color: #3c763d;
|
||||
}
|
||||
.nav-tabs li.bv-tab-error > a {
|
||||
color: #a94442;
|
||||
}
|
||||
|
||||
.bv-form .bv-icon-no-label {
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.bv-form .bv-icon-input-group {
|
||||
top: 0;
|
||||
z-index: 100;
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
BIN
src/main/resources/static/images/menu/wxbg.png
Normal file
BIN
src/main/resources/static/images/menu/wxbg.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 603 KiB |
@@ -1,6 +1,6 @@
|
||||
/* 如果使用该初始化方法,请一定要在html放三个标签,或者直接看代码修改内容
|
||||
* <div id="editor-toolbar"></div>
|
||||
* <div id="editor-text-area" style="height: 400px;border: 1px solid lightgrey"></div>
|
||||
* <div id="editor-text-area" style="height: 600px;border: 1px solid lightgrey"></div>
|
||||
* <textarea id="content-textarea" name="content" style="display: none;"></textarea>
|
||||
* 另外此方法依赖layer.js & axios.js 做遮罩弹框,
|
||||
* 也可以重写 uploadImage:onFailed | onError 自定义提示
|
||||
@@ -28,21 +28,7 @@ const editorConfig = {
|
||||
},
|
||||
// 上传错误,或者触发 timeout 超时
|
||||
onError(file, err, res) {
|
||||
layer.open({
|
||||
type: 1, //1:自定义内容 2:iframe
|
||||
title: '图片超过1MB',
|
||||
// area: ['500px', '170px'],
|
||||
content: '资源有限,大佬请使用网络图片╮(╯▽╰)╭',
|
||||
btn: ['好吧穷鬼'],
|
||||
skin: 'layui-layer-hui',
|
||||
yes: function(){
|
||||
layer.closeAll(); //关闭所有弹出框
|
||||
},
|
||||
cancel: function(){
|
||||
//右上角关闭回调
|
||||
//return false 开启该代码可禁止点击该按钮关闭
|
||||
}
|
||||
});
|
||||
layer.open({ content: '穷╮(╯▽╰)╭,图片不能超过1M', skin: 'msg', time: 2 });
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/* 如果使用该初始化方法,请一定要在html放三个标签,或者直接看代码修改内容
|
||||
* <div id="editor-toolbar"></div>
|
||||
* <div id="editor-text-area" style="height: 400px;border: 1px solid lightgrey"></div>
|
||||
* <div id="editor-text-area" style="height: 600px;border: 1px solid lightgrey"></div>
|
||||
* <textarea id="content-textarea" name="content" style="display: none;"></textarea>
|
||||
* 另外此方法依赖layer.js & axios.js 做遮罩弹框,
|
||||
* 也可以重写 uploadImage:onFailed | onError 自定义提示
|
||||
|
||||
Reference in New Issue
Block a user