Authored by 郭成尧

maybe-like

... ... @@ -64,12 +64,11 @@ function getGender() {
require('channel/maybe-like')({gender: getGender()});
// 你可能喜欢没有数据就隐藏
setTimeout(function() {
$(document).on('PAY_SUCCESS_PAGE_MAYBE_LIKE_LOAD', () => {
if ($('#goods-list').find('.good-info').length === 0) {
$('.maybe-like').hide();
}
}, 200);
});
function Marquee() {
prompt.scrollLeft(prompt.scrollLeft() + 1);
... ...
... ... @@ -213,8 +213,13 @@ module.exports = function(likeParameter) {
});
// 为您优选埋点 end
// 支付成功页,请求数据完成
$(document).trigger('PAY_SUCCESS_PAGE_MAYBE_LIKE_LOAD');
},
error: function() {
// 支付成功页,请求数据完成
$(document).trigger('PAY_SUCCESS_PAGE_MAYBE_LIKE_LOAD');
tip.show('网络断开连接了~');
searching = false;
loading.hideLoadingMask();
... ...