Showing
3 changed files
with
15 additions
and
10 deletions
@@ -24,7 +24,7 @@ | @@ -24,7 +24,7 @@ | ||
24 | </div> | 24 | </div> |
25 | </div> | 25 | </div> |
26 | {{/if}} | 26 | {{/if}} |
27 | - <div class="search-items"> | 27 | + <div class="search-items clearfix"> |
28 | <div class="search-index"> | 28 | <div class="search-index"> |
29 | <div class="search-group history-search hide"> | 29 | <div class="search-group history-search hide"> |
30 | <div class="search-content-title"> | 30 | <div class="search-content-title"> |
@@ -9,7 +9,8 @@ var $ = require('yoho-jquery'), | @@ -9,7 +9,8 @@ var $ = require('yoho-jquery'), | ||
9 | tip = require('../../plugin/tip'), | 9 | tip = require('../../plugin/tip'), |
10 | Hammer = require('yoho-hammer'), | 10 | Hammer = require('yoho-hammer'), |
11 | dialog = require('../../plugin/dialog'), | 11 | dialog = require('../../plugin/dialog'), |
12 | - Swiper = require('yoho-swiper'); | 12 | + Swiper = require('yoho-swiper'), |
13 | + yohoApp = require('../../yoho-app'); | ||
13 | 14 | ||
14 | var $input = $('#search-input input'); | 15 | var $input = $('#search-input input'); |
15 | 16 | ||
@@ -316,4 +317,7 @@ $search.on('touchend', function() { | @@ -316,4 +317,7 @@ $search.on('touchend', function() { | ||
316 | 317 | ||
317 | window.rePosFooter(); | 318 | window.rePosFooter(); |
318 | 319 | ||
320 | + if(yohoApp.isAndroid) { | ||
321 | + $('.new-hot').css('padding-top', '16px'); | ||
322 | + } | ||
319 | }()); | 323 | }()); |
@@ -18,7 +18,7 @@ | @@ -18,7 +18,7 @@ | ||
18 | 18 | ||
19 | input { | 19 | input { |
20 | height: 56px; | 20 | height: 56px; |
21 | - width: 480px; | 21 | + width: 590px; |
22 | border-radius: 28px; | 22 | border-radius: 28px; |
23 | padding: 0 52px; | 23 | padding: 0 52px; |
24 | font-size: 24px; | 24 | font-size: 24px; |
@@ -50,18 +50,19 @@ | @@ -50,18 +50,19 @@ | ||
50 | white-space: nowrap; | 50 | white-space: nowrap; |
51 | width: 100%; | 51 | width: 100%; |
52 | overflow-x: auto; | 52 | overflow-x: auto; |
53 | - /*background: #f0f0f0;*/ | ||
54 | border-bottom: 1px solid #e0e0e0; | 53 | border-bottom: 1px solid #e0e0e0; |
55 | 54 | ||
56 | .new-hot { | 55 | .new-hot { |
57 | background: #fff; | 56 | background: #fff; |
58 | - padding: 25px 0 0 30px; | 57 | + padding-left: 30px; |
58 | + height: 110px; | ||
59 | + padding-top: 25px; | ||
59 | } | 60 | } |
60 | 61 | ||
61 | .hot-term { | 62 | .hot-term { |
62 | display: inline-block; | 63 | display: inline-block; |
63 | - height: 68px; | ||
64 | - line-height: 70px; | 64 | + height: 62px; |
65 | + line-height: 62px; | ||
65 | padding: 0 20px; | 66 | padding: 0 20px; |
66 | font-size: 28px; | 67 | font-size: 28px; |
67 | color: #000; | 68 | color: #000; |
@@ -73,7 +74,7 @@ | @@ -73,7 +74,7 @@ | ||
73 | background: #fff; | 74 | background: #fff; |
74 | font-size: 0.7rem; | 75 | font-size: 0.7rem; |
75 | width: auto; | 76 | width: auto; |
76 | - margin-right: 15px; | 77 | + margin-right: 15px; |
77 | } | 78 | } |
78 | 79 | ||
79 | .hot-title { | 80 | .hot-title { |
@@ -104,8 +105,8 @@ | @@ -104,8 +105,8 @@ | ||
104 | 105 | ||
105 | a { | 106 | a { |
106 | float: left; | 107 | float: left; |
107 | - height: 68px; | ||
108 | - line-height: 70px; | 108 | + height: 62px; |
109 | + line-height: 62px; | ||
109 | padding: 0 20px; | 110 | padding: 0 20px; |
110 | font-size: 28px; | 111 | font-size: 28px; |
111 | background: #f8f8f8; | 112 | background: #f8f8f8; |
-
Please register or login to post a comment