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
bcdbe2720de3ccc796f4d6a5f4efc6a5894db3cc
1 parent
82a7cf8a
h5 plus star 明星潮品 bug修改
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
5 deletions
static/js/guang/plus-star/list.js
static/sass/guang/_plus-star.css
template/m.yohobuy.com/partials/guang/ps_item.phtml
static/js/guang/plus-star/list.js
View file @
bcdbe27
...
...
@@ -15,10 +15,15 @@ var mySwiper;
lazyLoad
(
$
(
'img.lazy'
));
mySwiper
=
new
Swiper
(
'.swiper-container'
,
{
lazyLoading
:
true
,
pagination
:
'.swiper-pagination'
$
(
'.star-content li'
).
each
(
function
(
key
,
item
)
{
$
(
item
).
find
(
'.swiper-container'
).
addClass
(
'swiper-'
+
key
);
mySwiper
=
new
Swiper
(
'.swiper-'
+
key
,
{
lazyLoading
:
true
,
pagination
:
'.swiper-'
+
key
+
' .pagination-inner'
});
});
$
(
'#nav-tab'
).
bind
(
'contextmenu'
,
function
(
e
)
{
return
false
;
});
...
...
static/sass/guang/_plus-star.css
View file @
bcdbe27
...
...
@@ -189,7 +189,7 @@
color
:
#000
;
text-decoration
:
none
;
display
:
block
;
font-size
:
16
px
;
font-size
:
28
px
;
}
.more-prods
{
...
...
template/m.yohobuy.com/partials/guang/ps_item.phtml
View file @
bcdbe27
...
...
@@ -10,7 +10,10 @@
</div>
{{/ imgs}}
</div>
<div class="swiper-pagination"></div>
<div class="swiper-pagination">
<div class="pagination-inner">
</div>
</div>
</div>
{{^}}
<a href={{url}}>
...
...
Please
register
or
login
to post a comment