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
Email Patches
Plain Diff
Browse Files
Authored by
王水玲
9 years ago
Commit
400a18a3b38fa39e48027ce13668ca54f40217a2
1 parent
76786e27
店铺装修 搜索页入口修改
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
web-static/js/product/product.js
web-static/js/product/product.js
View file @
400a18a
...
...
@@ -29,16 +29,16 @@ exports.init = function(num) {
shopEntryLen
=
$shopEntry
.
length
;
if
(
shopEntryLen
>
0
)
{
if
(
shopEntryLen
%
3
===
1
)
{
$shopEntry
.
eq
(
shopEntryLen
-
1
).
css
({
if
(
shopEntryLen
%
3
===
1
)
{
$shopEntry
.
eq
(
shopEntryLen
-
1
).
css
({
width
:
'100%'
});
}
else
if
(
shopEntryLen
%
3
===
2
)
{
$shopEntry
.
eq
(
shopEntryLen
-
1
).
css
({
$shopEntry
.
eq
(
shopEntryLen
-
1
).
css
({
width
:
'49%'
});
$shopEntry
.
eq
(
shopEntryLen
-
2
).
css
({
$shopEntry
.
eq
(
shopEntryLen
-
2
).
css
({
width
:
'49%'
});
}
...
...
Please
register
or
login
to post a comment