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
毕凯
9 years ago
Commit
21f407a022f536dc5b4f43c06fb4c1cef7934d04
1 parent
004ac423
选择优惠券优化
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
static/js/cart/select-coupon.js
static/sass/cart/_select-coupon.scss
static/js/cart/select-coupon.js
View file @
21f407a
...
...
@@ -191,8 +191,8 @@ function getCouponDate() {
getCouponDate
();
$
(
window
).
scroll
(
function
()
{
if
(
$
(
window
).
scrollTop
()
+
$
(
window
).
height
()
>
$
(
'body'
).
height
()
*
0.9
)
{
getCouponDate
();
}
});
// $(window).scroll(function() {
// if ($(window).scrollTop() + $(window).height() > $('body').height() * 0.9) {
// getCouponDate();
// }
// });
...
...
static/sass/cart/_select-coupon.scss
View file @
21f407a
...
...
@@ -61,7 +61,7 @@
position
:
relative
;
margin-top
:
pxToRem
(
30px
);
margin-bottom
:
pxToRem
(
30px
);
font-size
:
pxToRem
(
14
px
);
font-size
:
pxToRem
(
28
px
);
line-height
:
2
;
color
:
#b0b0b0
;
text-align
:
center
;
...
...
Please
register
or
login
to post a comment