Merge branch 'release/4.0' into gray
Showing
5 changed files
with
10 additions
and
29 deletions
@@ -18,17 +18,17 @@ module.exports = { | @@ -18,17 +18,17 @@ module.exports = { | ||
18 | app_type: 1 | 18 | app_type: 1 |
19 | }, | 19 | }, |
20 | domains: { | 20 | domains: { |
21 | - api: 'http://api-test3.yohops.com:9999/', | ||
22 | - service: 'http://service-test3.yohops.com:9999/', | ||
23 | - singleApi: 'http://api-test3.yohops.com:9999/' | 21 | + // api: 'http://api-test3.yohops.com:9999/', |
22 | + // service: 'http://service-test3.yohops.com:9999/', | ||
23 | + // singleApi: 'http://api-test3.yohops.com:9999/' | ||
24 | 24 | ||
25 | // api: 'http://dev-api.yohops.com:9999/', | 25 | // api: 'http://dev-api.yohops.com:9999/', |
26 | // service: 'http://dev-service.yohops.com:9999/', | 26 | // service: 'http://dev-service.yohops.com:9999/', |
27 | // singleApi: 'http://192.168.102.27:8092/' | 27 | // singleApi: 'http://192.168.102.27:8092/' |
28 | // // | 28 | // // |
29 | - // api: 'http://api.yoho.cn/', | ||
30 | - // service: 'http://service.yoho.cn/', | ||
31 | - // singleApi: 'http://single.yoho.cn/' | 29 | + api: 'http://api.yoho.cn/', |
30 | + service: 'http://service.yoho.cn/', | ||
31 | + singleApi: 'http://single.yoho.cn/' | ||
32 | }, | 32 | }, |
33 | subDomains: { | 33 | subDomains: { |
34 | host: '.m.yohoblk.com', | 34 | host: '.m.yohoblk.com', |
@@ -169,8 +169,6 @@ | @@ -169,8 +169,6 @@ | ||
169 | text-align: center; | 169 | text-align: center; |
170 | width: 100%; | 170 | width: 100%; |
171 | diplay: flex; | 171 | diplay: flex; |
172 | - height: 24px; | ||
173 | - margin-bottom: 8px; | ||
174 | align-items: center; | 172 | align-items: center; |
175 | 173 | ||
176 | a { | 174 | a { |
@@ -179,6 +177,7 @@ | @@ -179,6 +177,7 @@ | ||
179 | display: inline-block; | 177 | display: inline-block; |
180 | width: 24px; | 178 | width: 24px; |
181 | height: 24px; | 179 | height: 24px; |
180 | + margin: 2px 0; | ||
182 | 181 | ||
183 | &.zoom { | 182 | &.zoom { |
184 | background-color: #000; | 183 | background-color: #000; |
@@ -27,24 +27,6 @@ export default { | @@ -27,24 +27,6 @@ export default { | ||
27 | } | 27 | } |
28 | return this.src; | 28 | return this.src; |
29 | } | 29 | } |
30 | - }, | ||
31 | - mounted() { | ||
32 | -// let timer; | ||
33 | -// let img = new Image(); | ||
34 | -// let maxRetry = 30 * 1000; | ||
35 | -// let start = Date.now(); | ||
36 | -// | ||
37 | -// timer = setInterval(() => { | ||
38 | -// img.src = this.$refs.image.src; | ||
39 | -// | ||
40 | -// if (!img.src) { | ||
41 | -// clearInterval(timer); | ||
42 | -// } | ||
43 | -// | ||
44 | -// if (img.complete || Date.now() - start > maxRetry) { | ||
45 | -// clearInterval(timer); | ||
46 | -// } | ||
47 | -// }, 3000); | ||
48 | } | 30 | } |
49 | }; | 31 | }; |
50 | </script> | 32 | </script> |
@@ -13,7 +13,7 @@ | @@ -13,7 +13,7 @@ | ||
13 | <scroller ref="scroller" @loading="loading" class="channel-scroll"> | 13 | <scroller ref="scroller" @loading="loading" class="channel-scroll"> |
14 | <component | 14 | <component |
15 | :is="component.template_name" | 15 | :is="component.template_name" |
16 | - v-for="(component, index) in floors.filter(c => ['twoPicture', 'goods', 'tfGoodsList', 'focus', 'blkCategory', 'newSingleImage', 'BlkNewProductFloorResource'].some(k => k === c.template_name) )" | 16 | + v-for="(component, index) in (floors || []).filter(c => ['twoPicture', 'goods', 'tfGoodsList', 'focus', 'blkCategory', 'newSingleImage', 'BlkNewProductFloorResource'].some(k => k === c.template_name) )" |
17 | :value="component.data" | 17 | :value="component.data" |
18 | :key="index"></component> | 18 | :key="index"></component> |
19 | </scroller> | 19 | </scroller> |
@@ -29,12 +29,12 @@ export function createChannel() { | @@ -29,12 +29,12 @@ export function createChannel() { | ||
29 | gender: 'men', | 29 | gender: 'men', |
30 | men: { | 30 | men: { |
31 | sort: {}, | 31 | sort: {}, |
32 | - floors: {}, | 32 | + floors: [], |
33 | isFetching: false | 33 | isFetching: false |
34 | }, | 34 | }, |
35 | women: { | 35 | women: { |
36 | sort: {}, | 36 | sort: {}, |
37 | - floors: {}, | 37 | + floors: [], |
38 | isFetching: false | 38 | isFetching: false |
39 | }, | 39 | }, |
40 | fethingHome: false, | 40 | fethingHome: false, |
-
Please register or login to post a comment