Authored by yyq

购物车滚动方法前端报错

... ... @@ -138,10 +138,10 @@ function scrollToFirst() {
if ($selected.length > 0) {
$selected = $selected.eq(0);
top = $selected.offset().top - 36;
$('html,body').scrollTop(top);
}
top = $selected.offset().top - 36;
$('html,body').scrollTop(top);
return false;
}
function isCheck(obj, className) {
... ...