Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHO-ACTIVITY-PHP
·
Commits
Go to a project
GitLab
Go to group
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
Email Patches
Plain Diff
Browse Files
Authored by
biao
9 years ago
Commit
b73159605fa3ddd08b81b6a489f4b451713abddb
1 parent
508294e7
update to show footer. code review by XWG
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
3 deletions
static/js/product/detail/detail.js
static/js/product/detail/detail.js
View file @
b731596
...
...
@@ -19,11 +19,21 @@ require('./desc');
require
(
'./comments-consults'
);
//add extra marign-bottom for footer to show the yoho copyright
function
showFooter
()
{
window
.
reMarginFooter
(
'.cart-bar'
);
var
$cartBar
=
$
(
'.cart-bar'
);
var
timer
=
setInterval
(
function
()
{
if
(
$cartBar
)
{
window
.
reMarginFooter
(
'.cart-bar'
);
clearInterval
(
timer
);
}
else
{
$cartBar
=
$
(
'.cart-bar'
);
}
},
200
);
}
showFooter
();
lazyLoad
(
$
(
'img.lazy'
));
//顶部swiper
...
...
@@ -57,6 +67,6 @@ if (goodsDiscountHammer) {
});
}
require
(
'./like'
);
$
(
document
).
ready
(
showFooter
);
...
...
Please
register
or
login
to post a comment