Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
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
xuqi
9 years ago
Commit
a5fb89db4e3d2b34d13190ae73c042f389e8781a
1 parent
46fd53fd
index page footer.Review by:@梁志锋
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
static/js/common.js
static/js/common.js
View file @
a5fb89d
...
...
@@ -95,11 +95,15 @@ function getShoppingKey() {
//根据页面内容重新设置通用底部的显示
function
rePosFooter
()
{
var
winH
;
if
(
$footer
.
length
===
0
)
{
return
;
}
if
(
$
(
'body'
).
height
()
<=
window
.
screen
.
availHeight
-
parseInt
(
$footer
.
css
(
'height'
),
0
))
{
winH
=
Math
.
min
(
$
(
window
).
height
(),
window
.
screen
.
availHeight
);
if
(
$
(
'body'
).
height
()
<=
winH
-
parseInt
(
$footer
.
css
(
'height'
),
0
))
{
$footer
.
addClass
(
'bottom'
);
}
else
{
$footer
.
removeClass
(
'bottom'
);
...
...
Please
register
or
login
to post a comment