Showing
7 changed files
with
20 additions
and
12 deletions
@@ -4,12 +4,4 @@ | @@ -4,12 +4,4 @@ | ||
4 | * @date: 2015/11/12 | 4 | * @date: 2015/11/12 |
5 | */ | 5 | */ |
6 | 6 | ||
7 | -var Swiper = require('yoho.iswiper'); | ||
8 | - | ||
9 | -var recommendSwiper; | ||
10 | - | ||
11 | -recommendSwiper = new Swiper('.swiper-recommend', { | ||
12 | - lazyLoading: true, | ||
13 | - lazyLoadingInPrevNext: true, | ||
14 | - slidesPerView: 'auto' | ||
15 | -}); | ||
7 | +require('../product/recommend-for-you.js'); |
static/js/product/recommend-for-you.js
0 → 100644
1 | +/** | ||
2 | + * 为您优选 | ||
3 | + * @author: bikai<kai.bi@yoho.cn> | ||
4 | + * @date: 2015/11/16 | ||
5 | + */ | ||
6 | + | ||
7 | + | ||
8 | +var Swiper = require('yoho.iswiper'); | ||
9 | + | ||
10 | +var recommendSwiper; | ||
11 | + | ||
12 | +recommendSwiper = new Swiper('.swiper-recommend', { | ||
13 | + lazyLoading: true, | ||
14 | + lazyLoadingInPrevNext: true, | ||
15 | + slidesPerView: 'auto' | ||
16 | +}); |
-
Please register or login to post a comment