This commit is contained in:
limqhz
2022-05-11 22:47:44 +08:00
parent 03d805641a
commit 4eadfe16f3
30 changed files with 2252 additions and 119 deletions

View 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;
}

File diff suppressed because it is too large Load Diff

View File

@@ -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: ['好吧穷鬼'],