Pārlūkot izejas kodu

修复表单提交按钮loading状态出错bug

jqh 5 gadi atpakaļ
vecāks
revīzija
4b53a0ab58

+ 1 - 1
resources/assets/dcat/js/extensions/Form.js

@@ -50,7 +50,7 @@ class Form {
             _this = this,
             $form = _this.$form,
             options = _this.options,
-            $submitButton = $form.find(':submit');
+            $submitButton = $form.find('[type="submit"],.submit');
 
         // 移除所有错误信息
         _this.removeErrors();

+ 1 - 1
resources/dist/css/plugins/loaders/animations/ball-grid-beat.css

@@ -1 +1 @@
-@-webkit-keyframes ball-grid-beat{50%{opacity:.7}to{opacity:1}}@keyframes ball-grid-beat{50%{opacity:.7}to{opacity:1}}.ball-grid-beat{width:57px}.ball-grid-beat>div:first-child{-webkit-animation-delay:.77s;animation-delay:.77s;-webkit-animation-duration:.99s;animation-duration:.99s}.ball-grid-beat>div:nth-child(2){-webkit-animation-delay:.12s;animation-delay:.12s;-webkit-animation-duration:1.17s;animation-duration:1.17s}.ball-grid-beat>div:nth-child(3){-webkit-animation-delay:.53s;animation-delay:.53s;-webkit-animation-duration:1.45s;animation-duration:1.45s}.ball-grid-beat>div:nth-child(4){-webkit-animation-delay:-.05s;animation-delay:-.05s;-webkit-animation-duration:1.58s;animation-duration:1.58s}.ball-grid-beat>div:nth-child(5){-webkit-animation-delay:.1s;animation-delay:.1s;-webkit-animation-duration:1.11s;animation-duration:1.11s}.ball-grid-beat>div:nth-child(6){-webkit-animation-delay:.07s;animation-delay:.07s;-webkit-animation-duration:.85s;animation-duration:.85s}.ball-grid-beat>div:nth-child(7){-webkit-animation-delay:-.1s;animation-delay:-.1s;-webkit-animation-duration:.97s;animation-duration:.97s}.ball-grid-beat>div:nth-child(8){-webkit-animation-delay:-.07s;animation-delay:-.07s;-webkit-animation-duration:.64s;animation-duration:.64s}.ball-grid-beat>div:nth-child(9){-webkit-animation-delay:-.19s;animation-delay:-.19s;-webkit-animation-duration:.68s;animation-duration:.68s}.ball-grid-beat>div{background-color:#b8c2cc;width:15px;height:15px;border-radius:100%;margin:2px;-webkit-animation-fill-mode:both;animation-fill-mode:both;display:inline-block;float:left;-webkit-animation-name:ball-grid-beat;animation-name:ball-grid-beat;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-delay:0;animation-delay:0}
+@-webkit-keyframes ball-grid-beat{50%{opacity:.7}to{opacity:1}}@keyframes ball-grid-beat{50%{opacity:.7}to{opacity:1}}.ball-grid-beat{width:57px}.ball-grid-beat>div:first-child{-webkit-animation-delay:-.12s;animation-delay:-.12s;-webkit-animation-duration:.65s;animation-duration:.65s}.ball-grid-beat>div:nth-child(2){-webkit-animation-delay:.16s;animation-delay:.16s;-webkit-animation-duration:1.09s;animation-duration:1.09s}.ball-grid-beat>div:nth-child(3){-webkit-animation-delay:-.14s;animation-delay:-.14s;-webkit-animation-duration:.95s;animation-duration:.95s}.ball-grid-beat>div:nth-child(4){-webkit-animation-delay:-.15s;animation-delay:-.15s;-webkit-animation-duration:.94s;animation-duration:.94s}.ball-grid-beat>div:nth-child(5){-webkit-animation-delay:.06s;animation-delay:.06s;-webkit-animation-duration:1.31s;animation-duration:1.31s}.ball-grid-beat>div:nth-child(6){-webkit-animation-delay:.51s;animation-delay:.51s;-webkit-animation-duration:.81s;animation-duration:.81s}.ball-grid-beat>div:nth-child(7){-webkit-animation-delay:-.11s;animation-delay:-.11s;-webkit-animation-duration:1.52s;animation-duration:1.52s}.ball-grid-beat>div:nth-child(8){-webkit-animation-delay:.63s;animation-delay:.63s;-webkit-animation-duration:1.31s;animation-duration:1.31s}.ball-grid-beat>div:nth-child(9){-webkit-animation-delay:.68s;animation-delay:.68s;-webkit-animation-duration:1.37s;animation-duration:1.37s}.ball-grid-beat>div{background-color:#b8c2cc;width:15px;height:15px;border-radius:100%;margin:2px;-webkit-animation-fill-mode:both;animation-fill-mode:both;display:inline-block;float:left;-webkit-animation-name:ball-grid-beat;animation-name:ball-grid-beat;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-delay:0;animation-delay:0}

+ 1 - 1
resources/dist/css/plugins/loaders/animations/ball-grid-pulse.css

@@ -1 +1 @@
-@-webkit-keyframes ball-grid-pulse{0%{transform:scale(1)}50%{transform:scale(.5);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes ball-grid-pulse{0%{transform:scale(1)}50%{transform:scale(.5);opacity:.7}to{transform:scale(1);opacity:1}}.ball-grid-pulse{width:57px}.ball-grid-pulse>div:first-child{-webkit-animation-delay:-.09s;animation-delay:-.09s;-webkit-animation-duration:.74s;animation-duration:.74s}.ball-grid-pulse>div:nth-child(2){-webkit-animation-delay:.21s;animation-delay:.21s;-webkit-animation-duration:1.23s;animation-duration:1.23s}.ball-grid-pulse>div:nth-child(3){-webkit-animation-delay:.24s;animation-delay:.24s;-webkit-animation-duration:1.25s;animation-duration:1.25s}.ball-grid-pulse>div:nth-child(4){-webkit-animation-delay:-.12s;animation-delay:-.12s;-webkit-animation-duration:.78s;animation-duration:.78s}.ball-grid-pulse>div:nth-child(5){-webkit-animation-delay:.64s;animation-delay:.64s;-webkit-animation-duration:.92s;animation-duration:.92s}.ball-grid-pulse>div:nth-child(6){-webkit-animation-delay:-.17s;animation-delay:-.17s;-webkit-animation-duration:1.28s;animation-duration:1.28s}.ball-grid-pulse>div:nth-child(7){-webkit-animation-delay:.5s;animation-delay:.5s;-webkit-animation-duration:.69s;animation-duration:.69s}.ball-grid-pulse>div:nth-child(8){-webkit-animation-delay:.43s;animation-delay:.43s;-webkit-animation-duration:.8s;animation-duration:.8s}.ball-grid-pulse>div:nth-child(9){-webkit-animation-delay:-.12s;animation-delay:-.12s;-webkit-animation-duration:1.47s;animation-duration:1.47s}.ball-grid-pulse>div{background-color:#b8c2cc;width:15px;height:15px;border-radius:100%;margin:2px;-webkit-animation-fill-mode:both;animation-fill-mode:both;display:inline-block;float:left;-webkit-animation-name:ball-grid-pulse;animation-name:ball-grid-pulse;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-delay:0;animation-delay:0}
+@-webkit-keyframes ball-grid-pulse{0%{transform:scale(1)}50%{transform:scale(.5);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes ball-grid-pulse{0%{transform:scale(1)}50%{transform:scale(.5);opacity:.7}to{transform:scale(1);opacity:1}}.ball-grid-pulse{width:57px}.ball-grid-pulse>div:first-child{-webkit-animation-delay:.8s;animation-delay:.8s;-webkit-animation-duration:.96s;animation-duration:.96s}.ball-grid-pulse>div:nth-child(2){-webkit-animation-delay:.55s;animation-delay:.55s;-webkit-animation-duration:.87s;animation-duration:.87s}.ball-grid-pulse>div:nth-child(3){-webkit-animation-delay:.3s;animation-delay:.3s;-webkit-animation-duration:1.01s;animation-duration:1.01s}.ball-grid-pulse>div:nth-child(4){-webkit-animation-delay:.28s;animation-delay:.28s;-webkit-animation-duration:1.06s;animation-duration:1.06s}.ball-grid-pulse>div:nth-child(5){-webkit-animation-delay:.58s;animation-delay:.58s;-webkit-animation-duration:1.44s;animation-duration:1.44s}.ball-grid-pulse>div:nth-child(6){-webkit-animation-delay:-.13s;animation-delay:-.13s;-webkit-animation-duration:.87s;animation-duration:.87s}.ball-grid-pulse>div:nth-child(7){-webkit-animation-delay:-.13s;animation-delay:-.13s;-webkit-animation-duration:1.55s;animation-duration:1.55s}.ball-grid-pulse>div:nth-child(8){-webkit-animation-delay:.23s;animation-delay:.23s;-webkit-animation-duration:1.4s;animation-duration:1.4s}.ball-grid-pulse>div:nth-child(9){-webkit-animation-delay:.78s;animation-delay:.78s;-webkit-animation-duration:1.08s;animation-duration:1.08s}.ball-grid-pulse>div{background-color:#b8c2cc;width:15px;height:15px;border-radius:100%;margin:2px;-webkit-animation-fill-mode:both;animation-fill-mode:both;display:inline-block;float:left;-webkit-animation-name:ball-grid-pulse;animation-name:ball-grid-pulse;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-delay:0;animation-delay:0}

+ 1 - 1
resources/dist/css/plugins/loaders/animations/line-scale-random.css

@@ -1 +1 @@
-@-webkit-keyframes line-scale-party{0%{transform:scale(1)}50%{transform:scale(.5)}to{transform:scale(1)}}@keyframes line-scale-party{0%{transform:scale(1)}50%{transform:scale(.5)}to{transform:scale(1)}}.line-scale-party>div:first-child{-webkit-animation-delay:.27s;animation-delay:.27s;-webkit-animation-duration:.35s;animation-duration:.35s}.line-scale-party>div:nth-child(2){-webkit-animation-delay:.29s;animation-delay:.29s;-webkit-animation-duration:.71s;animation-duration:.71s}.line-scale-party>div:nth-child(3){-webkit-animation-delay:.12s;animation-delay:.12s;-webkit-animation-duration:.85s;animation-duration:.85s}.line-scale-party>div:nth-child(4){-webkit-animation-delay:.18s;animation-delay:.18s;-webkit-animation-duration:.58s;animation-duration:.58s}.line-scale-party>div{background-color:#b8c2cc;width:4px;height:3.45rem;border-radius:2px;margin:2px;-webkit-animation-fill-mode:both;animation-fill-mode:both;display:inline-block;-webkit-animation-name:line-scale-party;animation-name:line-scale-party;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-delay:0;animation-delay:0}
+@-webkit-keyframes line-scale-party{0%{transform:scale(1)}50%{transform:scale(.5)}to{transform:scale(1)}}@keyframes line-scale-party{0%{transform:scale(1)}50%{transform:scale(.5)}to{transform:scale(1)}}.line-scale-party>div:first-child{-webkit-animation-delay:.42s;animation-delay:.42s;-webkit-animation-duration:.74s;animation-duration:.74s}.line-scale-party>div:nth-child(2){-webkit-animation-delay:.53s;animation-delay:.53s;-webkit-animation-duration:1.13s;animation-duration:1.13s}.line-scale-party>div:nth-child(3){-webkit-animation-delay:.8s;animation-delay:.8s;-webkit-animation-duration:.38s;animation-duration:.38s}.line-scale-party>div:nth-child(4){-webkit-animation-delay:.8s;animation-delay:.8s;-webkit-animation-duration:1.29s;animation-duration:1.29s}.line-scale-party>div{background-color:#b8c2cc;width:4px;height:3.45rem;border-radius:2px;margin:2px;-webkit-animation-fill-mode:both;animation-fill-mode:both;display:inline-block;-webkit-animation-name:line-scale-party;animation-name:line-scale-party;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-delay:0;animation-delay:0}

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
resources/dist/css/plugins/loaders/loaders.css


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
resources/dist/dcat/css/dcat-app.css


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
resources/dist/dcat/js/dcat-app.js


Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels