Authored by 李奇

fixed: ios 商品列表页顶部缝隙颜色

@@ -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/',
@@ -195,6 +195,7 @@ @@ -195,6 +195,7 @@
195 } 195 }
196 196
197 .list-items { 197 .list-items {
198 - padding-top: 111px; 198 + background-color: #fff;
  199 + padding-top: 105px;
199 } 200 }
200 </style> 201 </style>
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>
@@ -149,6 +149,7 @@ @@ -149,6 +149,7 @@
149 </script> 149 </script>
150 <style> 150 <style>
151 .list-items { 151 .list-items {
152 - padding-top: 111px; 152 + background-color: #fff;
  153 + padding-top: 105px;
153 } 154 }
154 </style> 155 </style>