Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
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
ccbikai
2016-06-24 17:34:16 +0800
Commit
a18649a4d28cb3c6e12f93b1d7e9e7e9a400319b
1 parent
a4d6e572
首页图标入口资源位修改
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
36 additions
and
86 deletions
apps/channel/views/partial/channel/content-lifestyle.hbs
doraemon/views/partial/resources/icons-enter.hbs
public/scss/channel/_icons-enter.css
apps/channel/views/partial/channel/content-lifestyle.hbs
deleted
100644 → 0
View file @
a4d6e57
{{#
content
}}
{{! 头部banner}}
{{#if
focus
}}
{{>
resources
/
banner-top
}}
{{/if}}
{{! 图标入口}}
{{#if
appIconList
}}
{{>
resources
/
icons-enter
}}
{{/if}}
{{! 中间banner}}
{{#if
singleImage
}}
{{>
resources
/
banner
}}
{{/if}}
{{! 两个小图}}
{{#if
smallPic
}}
{{>
resources
/
thumb-row
}}
{{/if}}
{{! 热门品类}}
{{#if
recommendContentFive
}}
{{>
resources
/
hot-category
}}
{{/if}}
{{! 热门品牌}}
{{#if
appHotBrands
}}
{{>
resources
/
hot-brands-list
}}
{{/if}}
{{! 热门品牌可滑动}}
{{#if
customBrands
}}
{{>
resources
/
hot-brands-swipe
}}
{{/if}}
{{! 潮人搭配}}
{{#if
trendsetterCollocation
}}
{{>
resources
/
trendsetter-collocation
}}
{{/if}}
{{! 潮流话题}}
{{#if
trendgoodsTopic
}}
{{>
resources
/
trend-topics
}}
{{/if}}
{{! 潮流时装/经典裤裙/时尚靴履/潮人配饰/潮流上装}}
{{#if
recommendContentOne
}}
{{>
resources
/
goods-category
}}
{{/if}}
{{! 新入住品牌/品味生活/创意生活}}
{{#if
recommendContentTwo
}}
{{>
resources
/
creative-life
}}
{{/if}}
{{! PLUS}}
{{#if
singleNameImage
}}
{{>
resources
/
plus-star
}}
{{/if}}
{{! 新人专享}}
{{#if
newUserFloor
}}
{{>
resources
/
fresh-only
}}
{{/if}}
{{/
content
}}
doraemon/views/partial/resources/icons-enter.hbs
View file @
a18649a
<div
class=
"icons-wrapper"
>
<ul
class=
"icons-list clearfix"
>
{{#
data
}}
<li
class=
"icons-item"
><a
href=
"
{{
url
}}
"
class=
"imagebar"
><img
src=
"
{{
image
src
98
98
}}
"
alt=
""
></a><a
href=
"
{{
url
}}
"
class=
"linkbar"
>
{{
title
}}
</a></li>
<li
class=
"icons-item
item-
{{
..
/
data
.
length
}}
"
><a
href=
"
{{
url
}}
"
class=
"imagebar"
><img
src=
"
{{
image
src
98
98
}}
"
alt=
""
></a><a
href=
"
{{
url
}}
"
class=
"linkbar"
>
{{
title
}}
</a></li>
{{/
data
}}
</ul>
</div>
...
...
public/scss/channel/_icons-enter.css
View file @
a18649a
...
...
@@ -3,42 +3,46 @@
padding
:
30px
0
16px
;
background
:
#fff
;
border-bottom
:
1px
solid
#e0e0e0
;
}
.icons-item
{
float
:
left
;
margin-bottom
:
10px
;
width
:
25%
;
height
:
146px
;
text-align
:
center
;
}
.imagebar
{
display
:
block
;
margin
:
0
auto
;
text-align
:
center
;
width
:
98px
;
height
:
98px
;
line-height
:
98px
;
box-sizing
:
border-box
;
overflow
:
hidden
;
.icons-item
{
float
:
left
;
margin-bottom
:
10px
;
width
:
20%
;
height
:
146px
;
text-align
:
center
;
img
{
width
:
100%
;
height
:
100%
;
&.item-8
{
width
:
25%
;
}
}
}
.linkbar
{
display
:
block
;
line-height
:
44px
;
font-size
:
24px
;
color
:
#444
;
.imagebar
{
display
:
block
;
margin
:
0
auto
;
text-align
:
center
;
width
:
98px
;
height
:
98px
;
line-height
:
98px
;
box-sizing
:
border-box
;
overflow
:
hidden
;
img
{
width
:
100%
;
height
:
100%
;
}
}
&:visited,
&:link,
&:active,
&:hover
{
.linkbar
{
display
:
block
;
line-height
:
44px
;
font-size
:
24px
;
color
:
#444
;
&:visited,
&:link,
&:active,
&:hover
{
color
:
#444
;
}
}
}
...
...
Please
register
or
login
to post a comment