mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
同步后台样式
This commit is contained in:
parent
a8e8a5526c
commit
12d8139af0
@ -487,10 +487,10 @@ $(function () {
|
|||||||
return $(ele).data('input-info', $html.css(style).insertAfter(ele)), $html;
|
return $(ele).data('input-info', $html.css(style).insertAfter(ele)), $html;
|
||||||
};
|
};
|
||||||
/*! 表单元素验证 */
|
/*! 表单元素验证 */
|
||||||
this.form.attr({onsubmit: 'return false;', novalidate: 'novalidate', autocomplete: 'off'});
|
this.form.attr({onsubmit: 'return false;', novalidate: 'novalidate'});
|
||||||
this.form.off(this.evts, this.tags).on(this.evts, this.tags, function () {
|
this.form.off(this.evts, this.tags).on(this.evts, this.tags, function () {
|
||||||
that.checkInput(this);
|
that.checkInput(this);
|
||||||
}).data('validate', this).bind("submit", function (evt) {
|
}).attr('novalidate', 'novalidate').data('validate', this).bind("submit", function (evt) {
|
||||||
evt.button = that.form.find('button[type=submit],button:not([type=button])');
|
evt.button = that.form.find('button[type=submit],button:not([type=button])');
|
||||||
/* 检查所有表单元素是否通过H5的规则验证 */
|
/* 检查所有表单元素是否通过H5的规则验证 */
|
||||||
if (that.checkAllInput() && typeof callable === 'function') {
|
if (that.checkAllInput() && typeof callable === 'function') {
|
||||||
|
@ -27,8 +27,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.headimg {
|
.headimg {
|
||||||
width: 35px;
|
width: 32px;
|
||||||
height: 35px;
|
height: 32px;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@ -43,27 +43,27 @@
|
|||||||
&-no {
|
&-no {
|
||||||
border: none;
|
border: none;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
border-radius: 0;
|
border-radius: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&-xs {
|
&-xs {
|
||||||
width: 28px;
|
width: 26px;
|
||||||
height: 28px;
|
height: 26px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&-sm {
|
&-sm {
|
||||||
width: 38px;
|
width: 36px;
|
||||||
height: 38px;
|
height: 36px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&-md {
|
&-md {
|
||||||
width: 58px;
|
width: 52px;
|
||||||
height: 58px;
|
height: 52px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&-lg {
|
&-lg {
|
||||||
width: 88px;
|
width: 82px;
|
||||||
height: 88px;
|
height: 82px;
|
||||||
}
|
}
|
||||||
|
|
||||||
> img {
|
> img {
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user