Toggle navigation
Toggle navigation
This project
Loading...
Sign in
wangshusheng
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to dashboard
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
Lynnic
2015-11-27 10:28:01 +0800
Commit
0d147a02b38247655f06e25f01796d3eb31a0e94
2 parents
741daeac
1b2f6f9f
Merge branch 'develop' of git.dev.yoho.cn:web/yohobuy into develop
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
static/js/common.js
static/js/me/address.js
static/js/product/recommend-for-you.js
static/js/common.js
View file @
0d147a0
...
...
@@ -99,7 +99,7 @@ function rePosFooter() {
return
;
}
if
(
$
(
'body'
).
height
()
<=
$
(
window
).
height
())
{
if
(
$
(
'body'
).
height
()
<=
$
(
window
).
height
()
-
122
)
{
$footer
.
addClass
(
'bottom'
);
}
else
{
$footer
.
removeClass
(
'bottom'
);
...
...
static/js/me/address.js
View file @
0d147a0
...
...
@@ -26,6 +26,8 @@ var $action = $('.action'),
// 清除原有链接
$backBtn
.
attr
(
'href'
,
'javascript:void(0);'
);
window
.
rePosFooter
();
// 自定义事件
$backBtn
.
on
(
'touchend'
,
function
(
e
)
{
if
(
currentPage
===
'edit'
)
{
...
...
static/js/product/recommend-for-you.js
View file @
0d147a0
...
...
@@ -12,7 +12,7 @@ var recommendSwiper,
$recommendForYou
=
$
(
'.recommend-for-you'
);
$
.
get
(
'/home/preference'
).
then
(
function
(
html
)
{
$recommendForYou
.
html
(
html
);
$recommendForYou
.
html
(
html
)
.
show
()
;
if
(
$
(
'#swiper-recommend'
).
length
)
{
recommendSwiper
=
new
Swiper
(
'#swiper-recommend'
,
{
slidesPerView
:
'auto'
,
...
...
Please
register
or
login
to post a comment