Merge branch 'hotfix/brand-url' into 'master'
Hotfix/brand url See merge request !383
Showing
2 changed files
with
3 additions
and
2 deletions
@@ -352,7 +352,7 @@ const _formShopData = (data, shopId, isApp) => { | @@ -352,7 +352,7 @@ const _formShopData = (data, shopId, isApp) => { | ||
352 | _.forEach(resData, (item) => { | 352 | _.forEach(resData, (item) => { |
353 | if (item.brandDomain) { | 353 | if (item.brandDomain) { |
354 | brand.list.push({ | 354 | brand.list.push({ |
355 | - url: helpers.urlFormat('', '', item.brandDomain) + (isApp ? `?openby:yohobuy={"action":"go.brand","params":{"shop_id":${shopId},"brand_id":${item.id}}}` : ''), //eslint-disable-line | 355 | + url: helpers.urlFormat('/', {brand: item.id, shop_id: shopId}, 'list') + (isApp ? `?openby:yohobuy={"action":"go.brand","params":{"shop_id":${shopId},"brand_id":${item.id}}}` : ''), //eslint-disable-line |
356 | img: helpers.image(item.brandIco, 640, 400), | 356 | img: helpers.image(item.brandIco, 640, 400), |
357 | brandName: item.brandName | 357 | brandName: item.brandName |
358 | }); | 358 | }); |
@@ -186,13 +186,14 @@ | @@ -186,13 +186,14 @@ | ||
186 | 186 | ||
187 | .multi-brands { | 187 | .multi-brands { |
188 | width: 100%; | 188 | width: 100%; |
189 | - height: 270px; | 189 | + height: 290px; |
190 | background: #fff; | 190 | background: #fff; |
191 | border: 1px solid #e0e0e0; | 191 | border: 1px solid #e0e0e0; |
192 | border-top: none; | 192 | border-top: none; |
193 | font-size: 20px; | 193 | font-size: 20px; |
194 | text-align: center; | 194 | text-align: center; |
195 | padding-top: 25px; | 195 | padding-top: 25px; |
196 | + padding-bottom: 20px; | ||
196 | margin-bottom: 30px; | 197 | margin-bottom: 30px; |
197 | overflow: hidden; | 198 | overflow: hidden; |
198 | 199 |
-
Please register or login to post a comment