下标
This commit is contained in:
31
src/main/resources/static/bootstrap/css/bootstrapValidator.css
vendored
Executable file
31
src/main/resources/static/bootstrap/css/bootstrapValidator.css
vendored
Executable file
@@ -0,0 +1,31 @@
|
||||
/**
|
||||
* 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;
|
||||
}
|
||||
2003
src/main/resources/static/bootstrap/js/bootstrapValidator.js
vendored
Executable file
2003
src/main/resources/static/bootstrap/js/bootstrapValidator.js
vendored
Executable file
File diff suppressed because it is too large
Load Diff
@@ -18,9 +18,9 @@ const editorConfig = {
|
||||
uploadImage: {
|
||||
fieldName: 'your-fileName',
|
||||
server: '#', // 可以配置上传应用的地址
|
||||
base64LimitSize: 500 * 1024, // 500K 以下插入 base64
|
||||
base64LimitSize: 1 * 1024 * 1024, // 1M 以下插入 base64
|
||||
// 单个文件的最大体积限制,默认为 500K
|
||||
maxFileSize: 500 * 1024,
|
||||
maxFileSize: 1 * 1024 * 1024,
|
||||
// 单个文件上传失败
|
||||
onFailed(file, res) {
|
||||
$('#warn-text').html(res);
|
||||
@@ -30,7 +30,7 @@ const editorConfig = {
|
||||
onError(file, err, res) {
|
||||
layer.open({
|
||||
type: 1, //1:自定义内容 2:iframe
|
||||
title: '图片过大(MAX:500KB)',
|
||||
title: '图片超过1MB',
|
||||
// area: ['500px', '170px'],
|
||||
content: '资源有限,大佬请使用网络图片╮(╯▽╰)╭',
|
||||
btn: ['好吧穷鬼'],
|
||||
|
||||
Reference in New Issue
Block a user