...
|
...
|
@@ -14,6 +14,9 @@ var recommendSwiper, |
|
|
|
|
|
if (preferenceUrl) {
|
|
|
$.get(preferenceUrl).then(function(html) {
|
|
|
if (html.length < 5) {
|
|
|
$recommendForYou.css('display', 'none');
|
|
|
} else {
|
|
|
$recommendForYou.html(html).show();
|
|
|
if ($('#swiper-recommend').length) {
|
|
|
recommendSwiper = new Swiper('#swiper-recommend', {
|
...
|
...
|
@@ -24,6 +27,7 @@ if (preferenceUrl) { |
|
|
watchSlidesVisibility: true
|
|
|
});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
window.rePosFooter();
|
|
|
|
...
|
...
|
|