Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
ccbikai
9 years ago
Commit
c0c3aaa69272b392669f4a50770e51a0321e72e5
1 parent
1df8a257
为您优选 移到产品类
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
20 additions
and
12 deletions
static/js/me/index.js
static/js/product/recommend-for-you.js
static/sass/me/_index.scss
static/sass/product/_index.scss
static/sass/me/_recommend-for-you.scss → static/sass/product/_recommend-for-you.scss
template/m.yohobuy.com/actions/index/home/index.phtml
template/m.yohobuy.com/partials/me/recommend-for-you.phtml → template/m.yohobuy.com/partials/product/recommend-for-you.phtml
static/js/me/index.js
View file @
c0c3aaa
...
...
@@ -4,12 +4,4 @@
* @date: 2015/11/12
*/
var
Swiper
=
require
(
'yoho.iswiper'
);
var
recommendSwiper
;
recommendSwiper
=
new
Swiper
(
'.swiper-recommend'
,
{
lazyLoading
:
true
,
lazyLoadingInPrevNext
:
true
,
slidesPerView
:
'auto'
});
\ No newline at end of file
require
(
'../product/recommend-for-you.js'
);
\ No newline at end of file
...
...
static/js/product/recommend-for-you.js
0 → 100644
View file @
c0c3aaa
/**
* 为您优选
* @author: bikai<kai.bi@yoho.cn>
* @date: 2015/11/16
*/
var
Swiper
=
require
(
'yoho.iswiper'
);
var
recommendSwiper
;
recommendSwiper
=
new
Swiper
(
'.swiper-recommend'
,
{
lazyLoading
:
true
,
lazyLoadingInPrevNext
:
true
,
slidesPerView
:
'auto'
});
\ No newline at end of file
...
...
static/sass/me/_index.scss
View file @
c0c3aaa
@import
"home"
,
"vip-grade"
,
"order"
,
"coupons"
,
"personal-details"
,
"yoho-coin"
,
"recommend-for-you"
,
"fav"
,
"suggest"
,
"address"
,
"online-service"
;
\ No newline at end of file
@import
"home"
,
"vip-grade"
,
"order"
,
"coupons"
,
"personal-details"
,
"yoho-coin"
,
"fav"
,
"suggest"
,
"address"
,
"online-service"
;
\ No newline at end of file
...
...
static/sass/product/_index.scss
View file @
c0c3aaa
@import
"new-arrival"
,
"discount"
,
"list"
,
"detail"
,
"suspend-cart"
,
"hot-rank"
;
\ No newline at end of file
@import
"new-arrival"
,
"discount"
,
"list"
,
"detail"
,
"suspend-cart"
,
"hot-rank"
,
"_recommend-for-you.scss"
;
\ No newline at end of file
...
...
static/sass/
me
/_recommend-for-you.scss → static/sass/
product
/_recommend-for-you.scss
View file @
c0c3aaa
template/m.yohobuy.com/actions/index/home/index.phtml
View file @
c0c3aaa
...
...
@@ -87,6 +87,6 @@
</div>
</div>
{
{>
me
/recommend-for-you
}
}
{
{>
product
/recommend-for-you
}
}
</div>
{
{>
layout/footer
}
}
\ No newline at end of file
...
...
template/m.yohobuy.com/partials/
me
/recommend-for-you.phtml → template/m.yohobuy.com/partials/
product
/recommend-for-you.phtml
View file @
c0c3aaa
Please
register
or
login
to post a comment