...
|
...
|
@@ -12,6 +12,8 @@ var $userAvatar = $('.user-avatar'), |
|
|
var myImage = new Image(),
|
|
|
avatar;
|
|
|
|
|
|
var Swiper = require('yoho-swiper');
|
|
|
|
|
|
require('home/index.page.css');
|
|
|
|
|
|
require('../common');
|
...
|
...
|
@@ -21,6 +23,15 @@ if ($('.recommend-for-you').length) { |
|
|
require('../common/suspend-cart');
|
|
|
require('../common/footer');
|
|
|
|
|
|
new Swiper('.banner-center-swiper', {
|
|
|
pagination: '.swiper-pagination',
|
|
|
lazyLoading: true,
|
|
|
lazyLoadingInPrevNext: true,
|
|
|
paginationClickable: true,
|
|
|
loop: true,
|
|
|
autoplay: 3000
|
|
|
});
|
|
|
|
|
|
window.reMarginFooter('.footer-tab');
|
|
|
|
|
|
// 部分老用户没有头像,显示默认头像
|
...
|
...
|
|