Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
biao
9 years ago
Commit
cf39de9a524254f46be419a056a2e2d2ec2ab024
1 parent
638d92a7
update
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
apps/channel/models/index.js
public/scss/index/_index-pliffy.css
apps/channel/models/index.js
View file @
cf39de9
...
...
@@ -240,16 +240,14 @@ const getSingleHotFloorData = args => {
let
obj
=
{};
if
(
i
===
1
)
{
// val = data[index + 1].data[0]; // 第二个是大图
val
=
args
[
0
].
data
[
0
];
// 第二个是大图
}
else
if
(
i
===
len
-
1
)
{
// val = data[index + 1
].data[1]; // 最后一个是大图
val
=
args
[
0
].
data
[
1
];
// 最后一个是大图
}
else
{
if
(
pos
>
1
)
{
// 小图
pos
=
pos
-
1
;
}
// val = data[index + 2].data[pos];
val
=
args
[
1
].
data
[
pos
];
}
obj
.
href
=
val
.
url
;
...
...
public/scss/index/_index-pliffy.css
View file @
cf39de9
...
...
@@ -254,8 +254,7 @@
}
}
.min-screen
,
.home-page
{
.min-screen
.home-page
{
.singlehot
{
li
a
{
width
:
158px
;
...
...
Please
register
or
login
to post a comment