Authored by 孙凯

add 统一 数据埋点字段: FP_StoreBase—> FP_BrandStore

FP_BrandFavor—>FP_MineCollectionBrand
FP_ProductFavor—>iFP_MineCollectionGoods review by daiqiang
@@ -1106,10 +1106,10 @@ function exposePruductListData(list,order,channel,index,shopId) { @@ -1106,10 +1106,10 @@ function exposePruductListData(list,order,channel,index,shopId) {
1106 tab_num = 2; 1106 tab_num = 2;
1107 } 1107 }
1108 1108
1109 - let pageName = 'iFP_StoreBase'; 1109 + let pageName = 'iFP_BrandStore';
1110 1110
1111 if (Platform.OS === 'android') { 1111 if (Platform.OS === 'android') {
1112 - pageName = 'aFP_StoreBase'; 1112 + pageName = 'aFP_BrandStore';
1113 } 1113 }
1114 let channelStr = 'boy'; 1114 let channelStr = 'boy';
1115 if (channel == '1') { 1115 if (channel == '1') {
@@ -87,7 +87,7 @@ class BrandContainer extends Component { @@ -87,7 +87,7 @@ class BrandContainer extends Component {
87 action = 'go.productDetail'; 87 action = 'go.productDetail';
88 } 88 }
89 89
90 - let url = `http://m.yohobuy.com?openby:yohobuy={"action":"${action}","params":{"product_skn":"${productSkn}","from_page_name":"${Platform.OS === 'ios'?'iFP_BrandFavor':'aFP_BrandFavor'}"}}`; 90 + let url = `http://m.yohobuy.com?openby:yohobuy={"action":"${action}","params":{"product_skn":"${productSkn}","from_page_name":"${Platform.OS === 'ios'?'iFP_MineCollectionBrand':'aFP_MineCollectionBrand'}"}}`;
91 ReactNative.NativeModules.YH_CommonHelper.jumpWithUrl(url); 91 ReactNative.NativeModules.YH_CommonHelper.jumpWithUrl(url);
92 } 92 }
93 93
@@ -99,7 +99,7 @@ class BrandContainer extends Component { @@ -99,7 +99,7 @@ class BrandContainer extends Component {
99 if (!brand) { 99 if (!brand) {
100 return; 100 return;
101 } 101 }
102 - 102 +
103 brand = brand.toJS(); 103 brand = brand.toJS();
104 brand.id = brand.brand_id; 104 brand.id = brand.brand_id;
105 ReactNative.NativeModules.YH_CommonHelper.pushBrandVC(brand); 105 ReactNative.NativeModules.YH_CommonHelper.pushBrandVC(brand);
@@ -101,7 +101,7 @@ class ProductContainer extends Component { @@ -101,7 +101,7 @@ class ProductContainer extends Component {
101 } 101 }
102 let {currentTab} = this.props.product; 102 let {currentTab} = this.props.product;
103 if (currentTab == 'common') { 103 if (currentTab == 'common') {
104 - let url = `http://m.yohobuy.com?openby:yohobuy={"action":"go.productDetail","params":{"product_skn":"${productSkn}","from_page_name":"${Platform.OS === 'ios'?'iFP_ProductFavor':'aFP_ProductFavor'}"}}`; 104 + let url = `http://m.yohobuy.com?openby:yohobuy={"action":"go.productDetail","params":{"product_skn":"${productSkn}","from_page_name":"${Platform.OS === 'ios'?'iFP_MineCollectionGoods':'aFP_MineCollectionGoods'}"}}`;
105 ReactNative.NativeModules.YH_CommonHelper.jumpWithUrl(url); 105 ReactNative.NativeModules.YH_CommonHelper.jumpWithUrl(url);
106 } 106 }
107 if (currentTab == 'global') { 107 if (currentTab == 'global') {