Commit 2cd05ee1 by dhn

按钮点击特效

parent 23e8593c
...@@ -20,6 +20,10 @@ define([ ...@@ -20,6 +20,10 @@ define([
}, },
initStep: function () { initStep: function () {
$(document).on('click', '#next-shipping>span', function () { $(document).on('click', '#next-shipping>span', function () {
$('#next-shipping>span').addClass('pleaseWait');
setTimeout(function(){
$('#next-shipping>span').removeClass("pleaseWait");
}, 600);
var loginForm = $('.form.form-login'); var loginForm = $('.form.form-login');
var addressForm = $('#checkout-step-shipping>#co-shipping-form'); var addressForm = $('#checkout-step-shipping>#co-shipping-form');
......
...@@ -962,6 +962,10 @@ $full_free_ship = $_helper->currency($full_free, true, false); ...@@ -962,6 +962,10 @@ $full_free_ship = $_helper->currency($full_free, true, false);
#shipping .fouse-label{ #shipping .fouse-label{
top:5px!important; top:5px!important;
} }
.pleaseWait{
transition: all .3s ease;
box-shadow: 0 0 50px rgba(0,0,0,0.8);
}
/********************************************address from end****************************************************/ /********************************************address from end****************************************************/
</style> </style>
......
...@@ -226,7 +226,7 @@ ...@@ -226,7 +226,7 @@
rules: {}, rules: {},
errorClass: "error", errorClass: "error",
validClass: "valid", validClass: "valid",
errorElement: "label", errorElement: "",
focusInvalid: true, focusInvalid: true,
errorContainer: $([]), errorContainer: $([]),
errorLabelContainer: $([]), errorLabelContainer: $([]),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment