Showing
3 changed files
with
14 additions
and
2 deletions
static/img/yohologo.png
0 → 100644
5.23 KB
@@ -10,13 +10,23 @@ | @@ -10,13 +10,23 @@ | ||
10 | line-height: 96rem / $pxConvertRem; | 10 | line-height: 96rem / $pxConvertRem; |
11 | 11 | ||
12 | .index-logo { | 12 | .index-logo { |
13 | + display: table-cell; | ||
13 | float: left; | 14 | float: left; |
14 | font-size: 50rem / $pxConvertRem; | 15 | font-size: 50rem / $pxConvertRem; |
15 | width: 216rem / $pxConvertRem; | 16 | width: 216rem / $pxConvertRem; |
17 | + height: 96rem / $pxConvertRem; | ||
16 | color: #343434; | 18 | color: #343434; |
19 | + vertical-align: middle; | ||
17 | opacity: 1; | 20 | opacity: 1; |
18 | transition: all 400ms; | 21 | transition: all 400ms; |
19 | 22 | ||
23 | + img { | ||
24 | + display: inline; | ||
25 | + vertical-align: middle; | ||
26 | + width: 207rem / $pxConvertRem; | ||
27 | + height: 49rem / $pxConvertRem; | ||
28 | + } | ||
29 | + | ||
20 | &.action { | 30 | &.action { |
21 | opacity: 0; | 31 | opacity: 0; |
22 | width: 0; | 32 | width: 0; |
@@ -82,7 +92,7 @@ | @@ -82,7 +92,7 @@ | ||
82 | } | 92 | } |
83 | .search-icon { | 93 | .search-icon { |
84 | right: 10rem / $pxConvertRem; | 94 | right: 10rem / $pxConvertRem; |
85 | - color: #000; | 95 | + color: #666; |
86 | 96 | ||
87 | &.empty { | 97 | &.empty { |
88 | color: #e6e6e6; | 98 | color: #e6e6e6; |
@@ -2,7 +2,9 @@ | @@ -2,7 +2,9 @@ | ||
2 | <div class="index-page yoho-page"> | 2 | <div class="index-page yoho-page"> |
3 | <div class="index-container"> | 3 | <div class="index-container"> |
4 | <div class="index-header clearfix"> | 4 | <div class="index-header clearfix"> |
5 | - <div class="iconfont index-logo"></div> | 5 | + <div class="index-logo"> |
6 | + <img src="http://static.dev.yohobuy.com/img/yohologo.png"> | ||
7 | + </div> | ||
6 | <div class="box"> | 8 | <div class="box"> |
7 | <a href="javascript:void(0);" class="no-search">取消</a> | 9 | <a href="javascript:void(0);" class="no-search">取消</a> |
8 | <form action="{{searchUrl}}" class="index-search"> | 10 | <form action="{{searchUrl}}" class="index-search"> |
-
Please register or login to post a comment