...
|
...
|
@@ -31,6 +31,8 @@ module.exports = function(specificGender) { |
|
|
|
|
|
var $footer;
|
|
|
|
|
|
var bottomBannerLoaded;
|
|
|
|
|
|
// ajax url
|
|
|
if (kidsType) {
|
|
|
url = '/product/recom/maylikekids';
|
...
|
...
|
@@ -100,6 +102,9 @@ module.exports = function(specificGender) { |
|
|
|
|
|
// 有货币页面不加载底部
|
|
|
if (gender && !specificGender) {
|
|
|
if (bottomBannerLoaded) {
|
|
|
return;
|
|
|
}
|
|
|
url = '/channel/bottomBanner';
|
|
|
$.ajax({
|
|
|
type: 'GET',
|
...
|
...
|
@@ -108,6 +113,8 @@ module.exports = function(specificGender) { |
|
|
gender: gender
|
|
|
},
|
|
|
success: function(res) {
|
|
|
res = res.data;
|
|
|
bottomBannerLoaded = true;
|
|
|
if (res && res.img) {
|
|
|
$('#load-more-img').show();
|
|
|
$('#load-more-img a').attr('href', res.url);
|
...
|
...
|
|