Authored by zhangxiaoru

店铺首页

... ... @@ -699,6 +699,8 @@ function collectClick() {
collectClick();
function postCollect(info) {
var url = '';
if (searching) {
return;
}
... ... @@ -719,6 +721,13 @@ function postCollect(info) {
}
}
if (data.code === 401) {
url = data.url + '?refer=' + location.href;
$('body').append('<a href="' + url + '"><span class="jump-login"><span></a>');
$('.jump-login').click();
}
setTimeout(function () {
myScroll.refresh();
scH = $('#scroller').outerHeight();
... ...