Sfoglia il codice sorgente

同步后台样式

Anyon 3 anni fa
parent
commit
12d8139af0

+ 2 - 2
public/static/admin.js

@@ -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') {

+ 11 - 11
public/static/theme/css/_custom.less

@@ -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 it is too large
+ 0 - 0
public/static/theme/css/console.css


File diff suppressed because it is too large
+ 0 - 0
public/static/theme/css/console.css.map


Some files were not shown because too many files changed in this diff