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
Email Patches
Plain Diff
Browse Files
Authored by
ccbikai
2015-11-27 10:14:43 +0800
Commit
1b2f6f9fec75a13b8adda55fb37c7394ff9bcef4
1 parent
e8f9a195
地址管理页面计算底部
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
static/js/common.js
static/js/me/address.js
static/js/common.js
View file @
1b2f6f9
...
...
@@ -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 @
1b2f6f9
...
...
@@ -26,6 +26,8 @@ var $action = $('.action'),
// 清除原有链接
$backBtn
.
attr
(
'href'
,
'javascript:void(0);'
);
window
.
rePosFooter
();
// 自定义事件
$backBtn
.
on
(
'touchend'
,
function
(
e
)
{
if
(
currentPage
===
'edit'
)
{
...
...
Please
register
or
login
to post a comment