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) {
tab_num = 2;
}
let pageName = 'iFP_StoreBase';
let pageName = 'iFP_BrandStore';
if (Platform.OS === 'android') {
pageName = 'aFP_StoreBase';
pageName = 'aFP_BrandStore';
}
let channelStr = 'boy';
if (channel == '1') {
... ...
... ... @@ -87,7 +87,7 @@ class BrandContainer extends Component {
action = 'go.productDetail';
}
let url = `http://m.yohobuy.com?openby:yohobuy={"action":"${action}","params":{"product_skn":"${productSkn}","from_page_name":"${Platform.OS === 'ios'?'iFP_BrandFavor':'aFP_BrandFavor'}"}}`;
let url = `http://m.yohobuy.com?openby:yohobuy={"action":"${action}","params":{"product_skn":"${productSkn}","from_page_name":"${Platform.OS === 'ios'?'iFP_MineCollectionBrand':'aFP_MineCollectionBrand'}"}}`;
ReactNative.NativeModules.YH_CommonHelper.jumpWithUrl(url);
}
... ... @@ -99,7 +99,7 @@ class BrandContainer extends Component {
if (!brand) {
return;
}
brand = brand.toJS();
brand.id = brand.brand_id;
ReactNative.NativeModules.YH_CommonHelper.pushBrandVC(brand);
... ...
... ... @@ -101,7 +101,7 @@ class ProductContainer extends Component {
}
let {currentTab} = this.props.product;
if (currentTab == 'common') {
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'}"}}`;
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'}"}}`;
ReactNative.NativeModules.YH_CommonHelper.jumpWithUrl(url);
}
if (currentTab == 'global') {
... ...