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
Plain Diff
Browse Files
Authored by
Rock Zhang
2015-12-29 16:56:27 +0800
Commit
224c51a7da92629c9400abb4c835e4807bd2c841
2 parents
ef8062e7
dc2989d7
Merge branch 'feature/wap323' of git.dev.yoho.cn:web/yohobuy into feature/wap323
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
36 additions
and
1 deletions
static/sass/home/_index.scss
static/sass/home/_thumb-row.scss
template/m.yohobuy.com/partials/home/content.phtml
template/m.yohobuy.com/partials/home/thumb_row.phtml
static/sass/home/_index.scss
View file @
224c51a
@import
"header-download"
,
"banner-top"
,
"banner-center"
,
"banner-bottom"
,
"side-nav"
,
"floor-header"
,
"hot-brands"
,
"fine-brands"
,
"creative-life"
,
"plus-star"
,
"maybe-like"
,
"icons-enter"
,
"trendsetter-collocation"
,
"trend-topics"
,
"goods-category"
,
"hot-brands"
,
"hot-category"
,
"home-header"
;
"trend-topics"
,
"goods-category"
,
"hot-brands"
,
"hot-category"
,
"home-header"
,
"thumb-row"
;
.mobile-container
{
width
:
100%
;
...
...
static/sass/home/_thumb-row.scss
0 → 100644
View file @
224c51a
#thumb-row
{
@include
flexbox
((
display
:
box
,
box-pack
:
justify
)
,
$version
:
1
);
@include
flexbox
((
display
:
flex
,
justify-content
:
space-around
)
,
$version
:
3
);
background-color
:
#f0f0f0
;
text-align
:
center
;
padding
:
32rem
/
$pxConvertRem
14rem
/
$pxConvertRem
0
;
.thumb-row-box
{
display
:
inline-block
;
width
:
275rem
/
$pxConvertRem
;
height
:
160rem
/
$pxConvertRem
;
border-radius
:
4px
;
background-size
:
100%
;
background-repeat
:
no-repeat
;
background-position
:
center
;
}
}
...
...
template/m.yohobuy.com/partials/home/content.phtml
View file @
224c51a
...
...
@@ -14,6 +14,11 @@
{
{>
home/banner
}
}
{
{/
banner
}
}
{
{!
两个小图
}
}
{
{#
smallPic
}
}
{
{>
home/thumb_row
}
}
{
{/
smallPic
}
}
{
{!
热门品类
}
}
{
{#
hotCategory
}
}
{
{>
home/hot_category
}
}
...
...
template/m.yohobuy.com/partials/home/thumb_row.phtml
0 → 100644
View file @
224c51a
<div id="thumb-row">
{{# list}}
<a href="{{url}}">
<div class="thumb-row-box" style="background-image:url({{img}})"></div>
</a>
{{/ list}}
</div>
...
...
Please
register
or
login
to post a comment