Authored by 孙凯

add 双11 优化 review by hongmo

... ... @@ -52,7 +52,14 @@ export default class CouponCell extends React.Component {
let nameSize;
let statesTitleStyle;
let states;
let statesTitle = rowData.status ? '立即领取':'已领取';
let statesTitle = '';
if (rowData.status == 1) {
statesTitle = '立即领取';
}else if (rowData.status == 2) {
statesTitle = '已领取';
}else {
statesTitle = '已抢光';
}
if (yh_exposureData) {
yh_exposureData = {
I_INDEX: rowID,
... ...
... ... @@ -213,6 +213,7 @@ export function setFilterMoreView(show) {
payload: show
}
}
/*
* 店铺信息
*/
... ... @@ -236,6 +237,9 @@ export function getShopInfo() {
}
dispatch(shopDataExposure('YB_SHOW_CLASSICAL_SHOP_INFO', params));
ReactNative.NativeModules.YH_CommonHelper.logEvent('YB_BRAND_SHOP_L', {SHOP_ID: brandStore.shopId, TEMPLATE_TYPE:json.shop_template_type, IS_RED: 0});
ReactNative.NativeModules.YH_CommonHelper.setShopIntro(json);
})
.catch(error => {
dispatch(shopInfoFailure(error));
... ...
... ... @@ -647,7 +647,6 @@ export function getIntroFailure(error) {
}
}
export function getIntro() {
return (dispatch, getState) => {
... ... @@ -659,6 +658,7 @@ export function getIntro() {
.then(json => {
dispatch(getIntroSuccess(json));
ReactNative.NativeModules.YH_CommonHelper.logEvent('YB_BRAND_SHOP_L', {SHOP_ID: redBrand.shopId, TEMPLATE_TYPE:json.shop_template_type, IS_RED: 1});
ReactNative.NativeModules.YH_CommonHelper.setShopIntro(json);
})
.catch(error => {
dispatch(getIntroFailure(error));
... ...