Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-blk
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
1
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
biao
9 years ago
Commit
e211d48981566d2be0bf4c9e79316874f640d87c
2 parents
f81099f8
fcf64208
Merge branch 'release/1.0' of
http://git.yoho.cn/fe/yoho-blk
into release/1.0
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
10 deletions
apps/brand/views/partial/list.hbs
apps/editorial/models/editorial.js
doraemon/views/partial/nav-menu.hbs
public/scss/components/_header.css
apps/brand/views/partial/list.hbs
View file @
e211d48
...
...
@@ -7,7 +7,7 @@
<li>
<a
data-key=
"
{{
key
}}
"
href=
"
{{
brandDomain
}}
"
target=
"_blank"
>
<img
class=
"lazy"
data-original=
"
{{
image
brandIco
270
190
}}
"
>
<span>
{{
brandNameEn
}}
</span>
<span>
{{
#if
brandNameEn
}}{{
brandNameEn
}}{{else}}{{
brandNameCn
}}{{/if
}}
</span>
</a>
</li>
{{/
each
}}
...
...
apps/editorial/models/editorial.js
View file @
e211d48
...
...
@@ -246,6 +246,7 @@ const _getRelatedData = (idList) => {
const
_processContentData
=
(
list
)
=>
{
list
=
list
||
[];
list
=
camelCase
(
list
);
// console.log(list)
let
contentData
=
{
...
...
@@ -285,7 +286,7 @@ const _processContentData = (list) => {
let
idList
=
''
;
let
recoLength
=
''
;
let
related
=
{
relatedReco
:
[],
relatedGroup
:
[]
...
...
@@ -366,7 +367,7 @@ const _processContentData = (list) => {
return
null
;
}
else
{
return
related
;
}
}
}).
then
((
result
)
=>
{
...
...
doraemon/views/partial/nav-menu.hbs
View file @
e211d48
...
...
@@ -35,14 +35,14 @@
<dt>
<a
href=
"
{{
link
}}
"
>
{{
name
}}
</a>
{{#if
hot
}}
<span
class=
"hot
"
>
</span>
<span
class=
"hot
iconfont"
>

</span>
{{/if}}
</dt>
{{^}}
<dd>
<a
href=
"
{{
link
}}
"
>
{{
name
}}
</a>
{{#if
hot
}}
<span
class=
"hot
"
>
</span>
<span
class=
"hot
iconfont"
>

</span>
{{/if}}
</dd>
{{/if}}
...
...
public/scss/components/_header.css
View file @
e211d48
...
...
@@ -433,11 +433,9 @@
}
.hot
{
width
:
26px
;
height
:
12px
;
display
:
inline-block
;
background
:
url("/layout/hot.png")
;
margin-left
:
4px
;
color
:
#fc0d1b
;
font-size
:
16px
;
margin-left
:
10px
;
}
.show-detail
{
...
...
Please
register
or
login
to post a comment