Authored by yyq

基础店铺名显示异常问题修复

@@ -897,6 +897,7 @@ const getBaseShopData = (params, extra, channel, shopId) => { @@ -897,6 +897,7 @@ const getBaseShopData = (params, extra, channel, shopId) => {
897 shopIntro: `/about?shopId=${shopId}`, 897 shopIntro: `/about?shopId=${shopId}`,
898 coled: _.get(result[2], 'data.is_favorite', 'N') === 'Y' 898 coled: _.get(result[2], 'data.is_favorite', 'N') === 'Y'
899 }); 899 });
  900 +
900 _.set(resData, 'brand.shopBanner', decorator.shopTopBannerBase); 901 _.set(resData, 'brand.shopBanner', decorator.shopTopBannerBase);
901 _.unset(resData, 'brand.brandBanner'); 902 _.unset(resData, 'brand.brandBanner');
902 903
@@ -909,6 +910,7 @@ const getBaseShopData = (params, extra, channel, shopId) => { @@ -909,6 +910,7 @@ const getBaseShopData = (params, extra, channel, shopId) => {
909 if (result[2].code === 200) { 910 if (result[2].code === 200) {
910 let shopName = _.get(result[2], 'data.shop_name', ''); 911 let shopName = _.get(result[2], 'data.shop_name', '');
911 912
  913 + _.set(resData, 'brand.shopBanner.shopName', shopName);
912 _.set(resData, 'brand.pathNav[2]', { 914 _.set(resData, 'brand.pathNav[2]', {
913 name: shopName, 915 name: shopName,
914 pathTitle: shopName 916 pathTitle: shopName
@@ -57,6 +57,13 @@ @@ -57,6 +57,13 @@
57 width: 1150px; 57 width: 1150px;
58 margin: 0 auto; 58 margin: 0 auto;
59 59
  60 + .shop-name {
  61 + margin-left: 60px;
  62 + font-size: 32px;
  63 + float: left;
  64 + border: none;
  65 + }
  66 +
60 .shop-favor { 67 .shop-favor {
61 margin-right: 60px; 68 margin-right: 60px;
62 } 69 }