Authored by 陈峰

Merge branch 'hotfix/brand-url' into 'master'

店铺品牌一览链接增加title



See merge request !384
@@ -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('/', {brand: item.id, shop_id: shopId}, 'list') + (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, title: item.brandName}, '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 });