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
abb909ee99edf715da2b61bb04c55425e1d235db
1 parent
6bb1faab
coupon bug 修改
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
7 deletions
static/js/index/coupon.js
static/sass/home/_coupon.css
template/m.yohobuy.com/actions/index/coupon/index.phtml
static/js/index/coupon.js
View file @
abb909e
...
...
@@ -77,7 +77,7 @@ $('.coupon-floor a, .banner-top a').on('click', function() {
}
});
if
(
$
(
'.banner-swiper'
).
find
(
'li'
).
size
()
>
1
)
{
if
(
$
(
'.banner-swiper'
).
find
(
'li'
).
length
>
1
)
{
bannerSwiper
=
new
Swiper
(
'.banner-swiper'
,
{
lazyLoading
:
true
,
lazyLoadingInPrevNext
:
true
,
...
...
@@ -102,3 +102,8 @@ if ($('#noData').length > 0) {
}
}
$mask
.
on
(
'click'
,
function
()
{
$mask
.
hide
();
$message
.
hide
();
});
...
...
static/sass/home/_coupon.css
View file @
abb909e
.coupon-area
{
.coupon-area
-page
{
max-width
:
640px
;
overflow
:
hidden
;
.banner-top
{
float
:
left
;
}
}
.just-img
{
...
...
template/m.yohobuy.com/actions/index/coupon/index.phtml
View file @
abb909e
{
{>layout/header
}
}
<div
class=
"coupon-area yoho-page"
>
<div
class=
"coupon-area
-page
yoho-page"
>
{
{#
content
}
}
{
{#if
isSingleImage
}
}
<a
href=
"{{url}}"
><img
src=
"{{src}}"
class=
"just-img"
/></a>
...
...
Please
register
or
login
to post a comment