Authored by uedxwg

Merge branch 'develop' of http://git.dev.yoho.cn/web/yohobuy into develop

... ... @@ -55,7 +55,7 @@ $addressForm.on('submit', function() {
}
if (security.hasDangerInput(false)) {
return false;
return false;
}
// 简单的表单校验
... ... @@ -164,6 +164,12 @@ $addressListPage.find('.address-last').each(function(i, elem) {
});
});
$addressListPage.on('touchstart', 'li', function() {
$(this).addClass('highlight');
}).on('touchend touchcancel', 'li', function() {
$(this).removeClass('highlight');
});
$('input, textarea').on('focus', function() {
$footer.hide();
}).on('blur', function() {
... ...
... ... @@ -207,10 +207,16 @@
font-size: pxToRem(32px);
line-height: pxToRem(88px);
border-bottom: 1px solid #e0e0e0;
.iconfont {
float: right;
color: #d0d0d0;
}
&.highlight {
background: #eee;
}
ul {
display: none;
position: absolute;
... ...