fixed: ios 商品列表页顶部缝隙颜色
Showing
4 changed files
with
10 additions
and
6 deletions
@@ -20,7 +20,7 @@ module.exports = { | @@ -20,7 +20,7 @@ module.exports = { | ||
20 | domains: { | 20 | domains: { |
21 | api: 'http://api-test3.yohops.com:9999/', | 21 | api: 'http://api-test3.yohops.com:9999/', |
22 | service: 'http://service-test3.yohops.com:9999/', | 22 | service: 'http://service-test3.yohops.com:9999/', |
23 | - singleApi: 'http://api-test3.yohops.com:9999/', | 23 | + singleApi: 'http://api-test3.yohops.com:9999/' |
24 | 24 | ||
25 | // api: 'http://api-test2.yohops.com:9999/', | 25 | // api: 'http://api-test2.yohops.com:9999/', |
26 | // service: 'http://service-test2.yohops.com:9999/', | 26 | // service: 'http://service-test2.yohops.com:9999/', |
1 | <template> | 1 | <template> |
2 | <div> | 2 | <div> |
3 | <cheader title="新品抢先看"></cheader> | 3 | <cheader title="新品抢先看"></cheader> |
4 | - <filter-box :val="order" :filter="filterConfig" v-if="enableOrder"></filter-box> | 4 | + <filter-box :val="order" :filter="filterConfig" v-if="enableOrder" :fix-ios-top="needFix"></filter-box> |
5 | <product-list :data="productList" :state="listState" class="list-items"></product-list> | 5 | <product-list :data="productList" :state="listState" class="list-items"></product-list> |
6 | <shopping-bag :cart-count="cartCount" v-if="isApp"></shopping-bag> | 6 | <shopping-bag :cart-count="cartCount" v-if="isApp"></shopping-bag> |
7 | </div> | 7 | </div> |
@@ -47,7 +47,8 @@ | @@ -47,7 +47,8 @@ | ||
47 | inSearching: false, // 请求中 | 47 | inSearching: false, // 请求中 |
48 | enableOrder: false, | 48 | enableOrder: false, |
49 | order: '', | 49 | order: '', |
50 | - cartCount: 0 | 50 | + cartCount: 0, |
51 | + needFix: yoho.isiOS | ||
51 | }; | 52 | }; |
52 | }, | 53 | }, |
53 | computed: { | 54 | computed: { |
@@ -171,6 +172,7 @@ | @@ -171,6 +172,7 @@ | ||
171 | </script> | 172 | </script> |
172 | <style> | 173 | <style> |
173 | .list-items { | 174 | .list-items { |
174 | - padding-top: 111px; | 175 | + background-color: #fff; |
176 | + padding-top: 105px; | ||
175 | } | 177 | } |
176 | </style> | 178 | </style> |
-
Please register or login to post a comment