Merge branch 'feature/wap323' of git.dev.yoho.cn:web/yohobuy into feature/wap323
Showing
4 changed files
with
36 additions
and
1 deletions
1 | @import "header-download", "banner-top","banner-center","banner-bottom", "side-nav", "floor-header", "hot-brands", "fine-brands", "creative-life", "plus-star", "maybe-like", | 1 | @import "header-download", "banner-top","banner-center","banner-bottom", "side-nav", "floor-header", "hot-brands", "fine-brands", "creative-life", "plus-star", "maybe-like", |
2 | "icons-enter","trendsetter-collocation", | 2 | "icons-enter","trendsetter-collocation", |
3 | -"trend-topics","goods-category","hot-brands", "hot-category", "home-header"; | 3 | +"trend-topics","goods-category","hot-brands", "hot-category", "home-header", "thumb-row"; |
4 | 4 | ||
5 | .mobile-container{ | 5 | .mobile-container{ |
6 | width: 100%; | 6 | width: 100%; |
static/sass/home/_thumb-row.scss
0 → 100644
1 | +#thumb-row { | ||
2 | + @include flexbox(( | ||
3 | + display: box, | ||
4 | + box-pack: justify | ||
5 | + ), $version: 1); | ||
6 | + @include flexbox(( | ||
7 | + display: flex, | ||
8 | + justify-content: space-around | ||
9 | + ), $version: 3); | ||
10 | + background-color: #f0f0f0; | ||
11 | + text-align: center; | ||
12 | + padding: 32rem/$pxConvertRem 14rem/$pxConvertRem 0; | ||
13 | + | ||
14 | + .thumb-row-box { | ||
15 | + display: inline-block; | ||
16 | + width: 275rem/$pxConvertRem; | ||
17 | + height: 160rem/$pxConvertRem; | ||
18 | + border-radius: 4px; | ||
19 | + background-size: 100%; | ||
20 | + background-repeat: no-repeat; | ||
21 | + background-position: center; | ||
22 | + } | ||
23 | +} |
@@ -14,6 +14,11 @@ | @@ -14,6 +14,11 @@ | ||
14 | {{> home/banner}} | 14 | {{> home/banner}} |
15 | {{/ banner}} | 15 | {{/ banner}} |
16 | 16 | ||
17 | + {{! 两个小图}} | ||
18 | + {{# smallPic}} | ||
19 | + {{> home/thumb_row}} | ||
20 | + {{/ smallPic}} | ||
21 | + | ||
17 | {{! 热门品类}} | 22 | {{! 热门品类}} |
18 | {{# hotCategory}} | 23 | {{# hotCategory}} |
19 | {{> home/hot_category}} | 24 | {{> home/hot_category}} |
-
Please register or login to post a comment