同步后台样式

This commit is contained in:
Anyon 2021-12-24 10:21:44 +08:00
parent a8e8a5526c
commit 12d8139af0
4 changed files with 15 additions and 15 deletions

View File

@ -487,10 +487,10 @@ $(function () {
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 () {
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])');
/* 检查所有表单元素是否通过H5的规则验证 */
if (that.checkAllInput() && typeof callable === 'function') {

View File

@ -27,8 +27,8 @@
}
.headimg {
width: 35px;
height: 35px;
width: 32px;
height: 32px;
display: inline-block;
overflow: hidden;
text-align: center;
@ -43,27 +43,27 @@
&-no {
border: none;
box-shadow: none;
border-radius: 0;
border-radius: 2px;
}
&-xs {
width: 28px;
height: 28px;
width: 26px;
height: 26px;
}
&-sm {
width: 38px;
height: 38px;
width: 36px;
height: 36px;
}
&-md {
width: 58px;
height: 58px;
width: 52px;
height: 52px;
}
&-lg {
width: 88px;
height: 88px;
width: 82px;
height: 82px;
}
> img {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long