Merge branch 'release/5.5' of git.yoho.cn:fe/yohobuy-node into release/5.5
Showing
3 changed files
with
6 additions
and
9 deletions
@@ -65,7 +65,6 @@ const getCouponsList = (uid, type, page, limit)=>{ | @@ -65,7 +65,6 @@ const getCouponsList = (uid, type, page, limit)=>{ | ||
65 | if (limits.indexOf('2') >= 0) { | 65 | if (limits.indexOf('2') >= 0) { |
66 | extra.push('限量'); | 66 | extra.push('限量'); |
67 | } | 67 | } |
68 | - delete item.isNoLimit; | ||
69 | 68 | ||
70 | result[i].extraPro = extra.join('、'); | 69 | result[i].extraPro = extra.join('、'); |
71 | result[i].isNoLimit = item.isNoLimit === 'true' ? true : false; | 70 | result[i].isNoLimit = item.isNoLimit === 'true' ? true : false; |
@@ -928,7 +928,7 @@ function actionAddKeyWords() { | @@ -928,7 +928,7 @@ function actionAddKeyWords() { | ||
928 | function searchSuggestHistory() { | 928 | function searchSuggestHistory() { |
929 | var param = { | 929 | var param = { |
930 | return_type: 'jsonp', | 930 | return_type: 'jsonp', |
931 | - query: encodeURIComponent(window.queryString().query.replace(/\+/ig, ' ')) | 931 | + query: encodeURIComponent((window.queryString().query || '').replace(/\+/ig, ' ')) |
932 | }; | 932 | }; |
933 | 933 | ||
934 | if ($searchKey.attr('alt')) { | 934 | if ($searchKey.attr('alt')) { |
@@ -1014,9 +1014,6 @@ function searchSuggestRecommend(channel, key) { | @@ -1014,9 +1014,6 @@ function searchSuggestRecommend(channel, key) { | ||
1014 | */ | 1014 | */ |
1015 | $(function() { | 1015 | $(function() { |
1016 | searchSuggestRecommend(); | 1016 | searchSuggestRecommend(); |
1017 | - if (location.href.indexOf('www.yohobuy.com') < 0) { | ||
1018 | - searchSuggestHistory(); | ||
1019 | - } | ||
1020 | }); | 1017 | }); |
1021 | 1018 | ||
1022 | actionCover(); | 1019 | actionCover(); |
@@ -14,7 +14,7 @@ | @@ -14,7 +14,7 @@ | ||
14 | .coupons-name { | 14 | .coupons-name { |
15 | width: 240px; | 15 | width: 240px; |
16 | } | 16 | } |
17 | - | 17 | + |
18 | .coupons-info { | 18 | .coupons-info { |
19 | width: 388px; | 19 | width: 388px; |
20 | 20 | ||
@@ -72,7 +72,7 @@ | @@ -72,7 +72,7 @@ | ||
72 | width: 240px; | 72 | width: 240px; |
73 | height: 80px; | 73 | height: 80px; |
74 | color: #fff; | 74 | color: #fff; |
75 | - | 75 | + |
76 | &.coupons-notuse { | 76 | &.coupons-notuse { |
77 | background-image: resolve(home/notuse.png); | 77 | background-image: resolve(home/notuse.png); |
78 | 78 | ||
@@ -95,7 +95,7 @@ | @@ -95,7 +95,7 @@ | ||
95 | 95 | ||
96 | .coupons-num { | 96 | .coupons-num { |
97 | margin-top: 10px; | 97 | margin-top: 10px; |
98 | - | 98 | + |
99 | .coupons-sht { | 99 | .coupons-sht { |
100 | width: 70px; | 100 | width: 70px; |
101 | 101 | ||
@@ -111,6 +111,7 @@ | @@ -111,6 +111,7 @@ | ||
111 | margin-left: 5px; | 111 | margin-left: 5px; |
112 | line-height: 23px; | 112 | line-height: 23px; |
113 | text-align: left; | 113 | text-align: left; |
114 | + overflow: hidden; | ||
114 | } | 115 | } |
115 | } | 116 | } |
116 | } | 117 | } |
@@ -172,4 +173,4 @@ | @@ -172,4 +173,4 @@ | ||
172 | background: #e8044f; | 173 | background: #e8044f; |
173 | } | 174 | } |
174 | } | 175 | } |
175 | -} | ||
176 | +} |
-
Please register or login to post a comment