Authored by zhangxiaoru

search 品牌判断

@@ -43,8 +43,10 @@ const _processBrandNames = (list) => { @@ -43,8 +43,10 @@ const _processBrandNames = (list) => {
43 brandName: obj.brandDomain && obj.brandName.toLowerCase() 43 brandName: obj.brandDomain && obj.brandName.toLowerCase()
44 }); 44 });
45 45
46 - brandDomainMap[obj.brandDomain.toLowerCase()] = obj.brandDomain.toLowerCase();  
47 - brandNameMap[obj.brandName.toLowerCase()] = obj.brandDomain.toLowerCase(); 46 + if (obj.brandDomain) {
  47 + brandDomainMap[obj.brandDomain.toLowerCase()] = obj.brandDomain.toLowerCase();
  48 + brandNameMap[obj.brandName.toLowerCase()] = obj.brandDomain.toLowerCase();
  49 + }
48 }); 50 });
49 }); 51 });
50 52
@@ -16,15 +16,15 @@ module.exports = { @@ -16,15 +16,15 @@ module.exports = {
16 siteUrl: '//m.yohobuy.com', 16 siteUrl: '//m.yohobuy.com',
17 assetUrl: '//localhost:5001', 17 assetUrl: '//localhost:5001',
18 domains: { 18 domains: {
19 - api: 'http://api.yoho.cn/',  
20 - service: 'http://service.yoho.cn/',  
21 - liveApi: 'http://api.live.yoho.cn/',  
22 - singleApi: 'http://single.yoho.cn/' 19 + // api: 'http://api.yoho.cn/',
  20 + // service: 'http://service.yoho.cn/',
  21 + // liveApi: 'http://api.live.yoho.cn/',
  22 + // singleApi: 'http://single.yoho.cn/'
23 23
24 - // api: 'http://api-test3.yohops.com:9999/',  
25 - // service: 'http://service-test3.yohops.com:9999/',  
26 - // liveApi: 'http://testapi.live.yohops.com:9999/',  
27 - // singleApi: 'http://api-test3.yohops.com:9999/' 24 + api: 'http://api-test3.yohops.com:9999/',
  25 + service: 'http://service-test3.yohops.com:9999/',
  26 + liveApi: 'http://testapi.live.yohops.com:9999/',
  27 + singleApi: 'http://api-test3.yohops.com:9999/'
28 28
29 // favApi: 'http://192.168.102.31:8092/brower', 29 // favApi: 'http://192.168.102.31:8092/brower',
30 // api: 'http://192.168.102.205:8080/gateway/', 30 // api: 'http://192.168.102.205:8080/gateway/',
@@ -121,6 +121,7 @@ @@ -121,6 +121,7 @@
121 text-align: center; 121 text-align: center;
122 font-size: 18px; 122 font-size: 18px;
123 line-height: 32px; 123 line-height: 32px;
  124 + z-index: 1;
124 } 125 }
125 126
126 .no-storage { 127 .no-storage {