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
Plain Diff
Browse Files
Authored by
周少峰
2016-01-20 11:19:49 +0800
Commit
200bfb3a30a72a5925f0bdeb08373116a5d710d1
2 parents
48752ed1
8ffae9a0
Merge branch 'develop' of git.dev.yoho.cn:web/yohobuy into feature/web-list
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
3 deletions
static/js/me/address.js
static/js/me/currency.js
static/sass/me/_address.scss
static/js/me/address.js
View file @
200bfb3
...
...
@@ -73,3 +73,9 @@ $action.on('touchend', '.del', function() {
$confim
.
fadeIn
();
return
false
;
});
$action
.
on
(
'touchstart'
,
'a,span'
,
function
()
{
$
(
this
).
css
(
'background'
,
'#eee'
);
}).
on
(
'touchend touchcancel'
,
'a,span'
,
function
()
{
$
(
this
).
css
(
'background'
,
'transparent'
);
});
...
...
static/js/me/currency.js
View file @
200bfb3
...
...
@@ -16,12 +16,16 @@ function ajaxCurrencyDetail(page) {
});
}
$
(
window
).
scroll
(
function
()
{
if
(
$
(
window
).
scrollTop
()
+
$
(
window
).
height
()
>
$
(
'body'
).
height
()
-
1
)
{
function
scrollHandler
()
{
if
(
$
(
window
).
scrollTop
()
+
$
(
window
).
height
()
>
$
(
'body'
).
height
()
-
100
)
{
page
++
;
ajaxCurrencyDetail
(
page
);
return
;
}
}
$
(
window
).
scroll
(
function
()
{
window
.
requestAnimationFrame
(
scrollHandler
);
});
ajaxCurrencyDetail
(
page
);
...
...
static/sass/me/_address.scss
View file @
200bfb3
...
...
@@ -56,7 +56,7 @@
}
.edit
{
padding
-right
:
pxToRem
(
20px
);
margin
-right
:
pxToRem
(
20px
);
}
}
}
...
...
Please
register
or
login
to post a comment