Resolve merge conflicts in UnableProduct.jsx
This commit is contained in:
@@ -36,8 +36,16 @@ import {
|
|||||||
clearCurationCoupon,
|
clearCurationCoupon,
|
||||||
setEventIssueReq,
|
setEventIssueReq,
|
||||||
} from "../../actions/eventActions";
|
} from "../../actions/eventActions";
|
||||||
import { sendLogShopByMobile, sendLogTotalRecommend } from "../../actions/logActions";
|
import {
|
||||||
import { ACTIVE_POPUP, LOG_CONTEXT_NAME, LOG_MESSAGE_ID, LOG_TP_NO } from "../../utils/Config";
|
sendLogShopByMobile,
|
||||||
|
sendLogTotalRecommend,
|
||||||
|
} from "../../actions/logActions";
|
||||||
|
import {
|
||||||
|
ACTIVE_POPUP,
|
||||||
|
LOG_CONTEXT_NAME,
|
||||||
|
LOG_MESSAGE_ID,
|
||||||
|
LOG_TP_NO,
|
||||||
|
} from "../../utils/Config";
|
||||||
import {
|
import {
|
||||||
$L,
|
$L,
|
||||||
decryptPhoneNumber,
|
decryptPhoneNumber,
|
||||||
@@ -383,9 +391,7 @@ export default function MobileSendPopUp({
|
|||||||
if (smsTpCd === "APP00204") {
|
if (smsTpCd === "APP00204") {
|
||||||
params = { ...params, curationId };
|
params = { ...params, curationId };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
dispatch(sendSms(params));
|
dispatch(sendSms(params));
|
||||||
}
|
}
|
||||||
// EVT00101 & APP00207(welcome) EVT00103 & APP00209 (welcome+Prizes) : smsTpCd 값을 받지 않음
|
// EVT00101 & APP00207(welcome) EVT00103 & APP00209 (welcome+Prizes) : smsTpCd 값을 받지 않음
|
||||||
@@ -436,12 +442,12 @@ export default function MobileSendPopUp({
|
|||||||
curationCouponSuccess === 0
|
curationCouponSuccess === 0
|
||||||
) {
|
) {
|
||||||
const logParams = {
|
const logParams = {
|
||||||
status: 'send',
|
status: "send",
|
||||||
nowMenu: nowMenu,
|
nowMenu: nowMenu,
|
||||||
partner: patncNm,
|
partner: patncNm,
|
||||||
contextName: LOG_CONTEXT_NAME.SHOPBYMOBILE,
|
contextName: LOG_CONTEXT_NAME.SHOPBYMOBILE,
|
||||||
messageId: LOG_MESSAGE_ID.SMB
|
messageId: LOG_MESSAGE_ID.SMB,
|
||||||
}
|
};
|
||||||
dispatch(sendLogTotalRecommend(logParams));
|
dispatch(sendLogTotalRecommend(logParams));
|
||||||
if (shopByMobileLogRef) {
|
if (shopByMobileLogRef) {
|
||||||
let params = {
|
let params = {
|
||||||
@@ -451,7 +457,7 @@ export default function MobileSendPopUp({
|
|||||||
mbphNoFlag: "Y",
|
mbphNoFlag: "Y",
|
||||||
trmsAgrFlag: "Y",
|
trmsAgrFlag: "Y",
|
||||||
};
|
};
|
||||||
|
|
||||||
dispatch(sendLogShopByMobile(params));
|
dispatch(sendLogShopByMobile(params));
|
||||||
shopByMobileLogRef.current = null;
|
shopByMobileLogRef.current = null;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -73,9 +73,10 @@ export default memo(function TItemCard({
|
|||||||
shelfId,
|
shelfId,
|
||||||
shelfLocation,
|
shelfLocation,
|
||||||
shelfTitle,
|
shelfTitle,
|
||||||
contentId,
|
|
||||||
contentTitle,
|
contentTitle,
|
||||||
categoryTitle,
|
categoryTitle,
|
||||||
|
curationId,
|
||||||
|
curationTitle,
|
||||||
...rest
|
...rest
|
||||||
}) {
|
}) {
|
||||||
const dispatch = useDispatch();
|
const dispatch = useDispatch();
|
||||||
@@ -131,8 +132,9 @@ export default memo(function TItemCard({
|
|||||||
discount: discountRate,
|
discount: discountRate,
|
||||||
locaiton: order,
|
locaiton: order,
|
||||||
category: catNm,
|
category: catNm,
|
||||||
contentId: contentId,
|
|
||||||
contentTitle: contentTitle,
|
contentTitle: contentTitle,
|
||||||
|
curationId: curationId,
|
||||||
|
curationTitle: curationTitle,
|
||||||
};
|
};
|
||||||
|
|
||||||
dispatch(sendLogTotalRecommend(params));
|
dispatch(sendLogTotalRecommend(params));
|
||||||
|
|||||||
@@ -144,7 +144,7 @@ let localLaunchParams = {
|
|||||||
// contentTarget: "V3_3000_AD:SR_SR_1",
|
// contentTarget: "V3_3000_AD:SR_SR_1",
|
||||||
// contentTarget: "V3_2006_HOMEBANNER:6241018_HP_1_1307_2",
|
// contentTarget: "V3_2006_HOMEBANNER:6241018_HP_1_1307_2",
|
||||||
// contentTarget: "V3_2004_HOMEBANNER:4241101_HP_9_889",
|
// contentTarget: "V3_2004_HOMEBANNER:4241101_HP_9_889",
|
||||||
// contentTarget: "V3_2001_HOMEBANNER:1240712_TM_10",
|
contentTarget: "V3_2001_HOMEBANNER:1240712_TM_10",
|
||||||
};
|
};
|
||||||
|
|
||||||
export const getLaunchParams = () => {
|
export const getLaunchParams = () => {
|
||||||
|
|||||||
@@ -11,7 +11,12 @@ import {
|
|||||||
sendLogShopByMobile,
|
sendLogShopByMobile,
|
||||||
sendLogTotalRecommend,
|
sendLogTotalRecommend,
|
||||||
} from "../../../actions/logActions";
|
} from "../../../actions/logActions";
|
||||||
import { LOG_CONTEXT_NAME, LOG_MENU, LOG_MESSAGE_ID, LOG_TP_NO } from "../../../utils/Config";
|
import {
|
||||||
|
LOG_CONTEXT_NAME,
|
||||||
|
LOG_MENU,
|
||||||
|
LOG_MESSAGE_ID,
|
||||||
|
LOG_TP_NO,
|
||||||
|
} from "../../../utils/Config";
|
||||||
import {
|
import {
|
||||||
formatGMTString,
|
formatGMTString,
|
||||||
formatLocalDateTime,
|
formatLocalDateTime,
|
||||||
@@ -101,12 +106,14 @@ export default function GroupProduct({
|
|||||||
};
|
};
|
||||||
|
|
||||||
dispatch(sendLogDetail(params));
|
dispatch(sendLogDetail(params));
|
||||||
dispatch(sendLogTotalRecommend({
|
dispatch(
|
||||||
menu: LOG_MENU.DETAIL_PAGE_GROUP_DETAIL,
|
sendLogTotalRecommend({
|
||||||
buttonTitle: 'DESCRIPTION',
|
menu: LOG_MENU.DETAIL_PAGE_GROUP_DETAIL,
|
||||||
contextName: LOG_CONTEXT_NAME.DETAILPAGE,
|
buttonTitle: "DESCRIPTION",
|
||||||
messageId: LOG_MESSAGE_ID.BUTTONCLICK
|
contextName: LOG_CONTEXT_NAME.DETAILPAGE,
|
||||||
}))
|
messageId: LOG_MESSAGE_ID.BUTTONCLICK,
|
||||||
|
})
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}, [productData]);
|
}, [productData]);
|
||||||
|
|
||||||
@@ -116,7 +123,7 @@ export default function GroupProduct({
|
|||||||
const discountPrice = productData?.priceInfo?.split("|")[1];
|
const discountPrice = productData?.priceInfo?.split("|")[1];
|
||||||
const discountRate = productData?.priceInfo?.split("|")[4];
|
const discountRate = productData?.priceInfo?.split("|")[4];
|
||||||
const logParams = {
|
const logParams = {
|
||||||
status: 'open',
|
status: "open",
|
||||||
nowMenu: nowMenu,
|
nowMenu: nowMenu,
|
||||||
partner: productData?.patncNm,
|
partner: productData?.patncNm,
|
||||||
productId: productData?.prdtId,
|
productId: productData?.prdtId,
|
||||||
@@ -126,15 +133,17 @@ export default function GroupProduct({
|
|||||||
discount: discountRate,
|
discount: discountRate,
|
||||||
category: productData?.catNm,
|
category: productData?.catNm,
|
||||||
contextName: LOG_CONTEXT_NAME.SHOPBYMOBILE,
|
contextName: LOG_CONTEXT_NAME.SHOPBYMOBILE,
|
||||||
messageId: LOG_MESSAGE_ID.SMB
|
messageId: LOG_MESSAGE_ID.SMB,
|
||||||
}
|
};
|
||||||
dispatch(sendLogTotalRecommend(logParams))
|
dispatch(sendLogTotalRecommend(logParams));
|
||||||
dispatch(sendLogTotalRecommend({
|
dispatch(
|
||||||
menu: LOG_MENU.DETAIL_PAGE_GROUP_DETAIL,
|
sendLogTotalRecommend({
|
||||||
buttonTitle: 'Shop By Mobile',
|
menu: LOG_MENU.DETAIL_PAGE_GROUP_DETAIL,
|
||||||
contextName: LOG_CONTEXT_NAME.DETAILPAGE,
|
buttonTitle: "Shop By Mobile",
|
||||||
messageId: LOG_MESSAGE_ID.BUTTONCLICK
|
contextName: LOG_CONTEXT_NAME.DETAILPAGE,
|
||||||
}))
|
messageId: LOG_MESSAGE_ID.BUTTONCLICK,
|
||||||
|
})
|
||||||
|
);
|
||||||
}
|
}
|
||||||
if (productData && Object.keys(productData).length > 0) {
|
if (productData && Object.keys(productData).length > 0) {
|
||||||
const params = {
|
const params = {
|
||||||
|
|||||||
@@ -104,7 +104,6 @@ export default function UnableProduct({
|
|||||||
patncNm: productData?.patncNm ?? "",
|
patncNm: productData?.patncNm ?? "",
|
||||||
patnrId: productData?.patnrId ?? "",
|
patnrId: productData?.patnrId ?? "",
|
||||||
};
|
};
|
||||||
|
|
||||||
dispatch(sendLogDetail(params));
|
dispatch(sendLogDetail(params));
|
||||||
dispatch(
|
dispatch(
|
||||||
sendLogTotalRecommend({
|
sendLogTotalRecommend({
|
||||||
|
|||||||
@@ -175,6 +175,7 @@ function Indicator({
|
|||||||
}, [selectedIndex, isLoading]);
|
}, [selectedIndex, isLoading]);
|
||||||
|
|
||||||
const handleVideoOnClick = useCallback(() => {
|
const handleVideoOnClick = useCallback(() => {
|
||||||
|
console.log("###productInfo", productInfo);
|
||||||
if (canPlayVideo) {
|
if (canPlayVideo) {
|
||||||
dispatch(
|
dispatch(
|
||||||
startVideoPlayer({
|
startVideoPlayer({
|
||||||
|
|||||||
@@ -152,7 +152,6 @@ export default function ThemeCurationProductListItem({
|
|||||||
offerInfo={offerInfo}
|
offerInfo={offerInfo}
|
||||||
curationId={themeMenuShelfInfo?.curationId}
|
curationId={themeMenuShelfInfo?.curationId}
|
||||||
curationTitle={themeMenuShelfInfo?.curationNm}
|
curationTitle={themeMenuShelfInfo?.curationNm}
|
||||||
contentId={prdtId}
|
|
||||||
contentTitle={prdtNm}
|
contentTitle={prdtNm}
|
||||||
shelfId={themeMenuShelfInfo?.shelfInfos[contentsIndex]?.shelfId}
|
shelfId={themeMenuShelfInfo?.shelfInfos[contentsIndex]?.shelfId}
|
||||||
shelfLocation={
|
shelfLocation={
|
||||||
|
|||||||
@@ -236,6 +236,7 @@ export default function ThemeCurationPanel({ panelInfo, spotlightId }) {
|
|||||||
contextName: LOG_CONTEXT_NAME.THEME_CURATION,
|
contextName: LOG_CONTEXT_NAME.THEME_CURATION,
|
||||||
messageId: LOG_MESSAGE_ID.SHELF,
|
messageId: LOG_MESSAGE_ID.SHELF,
|
||||||
};
|
};
|
||||||
|
console.log("###params", params);
|
||||||
dispatch(sendLogTotalRecommend(params));
|
dispatch(sendLogTotalRecommend(params));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user