Commit 7af77d29 by dhn

邮箱样式修改,兼容虚拟商品

parent bb8e9d3e
......@@ -47,6 +47,7 @@ define([
email: true
}
},
quoteIsVirtual: quote.isVirtual(),
checkDelay: 2000,
checkRequest: null,
isEmailCheckComplete: null,
......
......@@ -966,9 +966,9 @@ $full_free_ship = $_helper->currency($full_free, true, false);
transition: all .3s ease;
box-shadow: 0 0 50px rgba(0,0,0,0.8);
}
#customer-email-fieldset input[type="email"]{
border:1px solid #ddd;
padding: 0;
#customer-email-fieldset .virtual-email{
border:1px solid #ddd!important;
padding: 0!important;
}
/********************************************address from end****************************************************/
......
......@@ -25,7 +25,8 @@
textInput: email,
hasFocus: emailFocused,
afterRender: emailHasChanged,
mageInit: {'mage/trim-input':{}}"
mageInit: {'mage/trim-input':{}},
css:{'virtual-email': quoteIsVirtual}"
name="username"
data-validate="{required:true, 'validate-email':true}"
id="customer-email" />
......
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