[에러수정]
- Pickforyou titemcard -> titemcardnew 변경
This commit is contained in:
@@ -16,12 +16,9 @@ import {
|
|||||||
} from '@enact/spotlight/SpotlightContainerDecorator';
|
} from '@enact/spotlight/SpotlightContainerDecorator';
|
||||||
import Spottable from '@enact/spotlight/Spottable';
|
import Spottable from '@enact/spotlight/Spottable';
|
||||||
|
|
||||||
import {
|
import { pushPanel } from '../../../actions/panelActions';
|
||||||
pushPanel,
|
|
||||||
updatePanel,
|
|
||||||
} from '../../../actions/panelActions';
|
|
||||||
import SectionTitle from '../../../components/SectionTitle/SectionTitle';
|
import SectionTitle from '../../../components/SectionTitle/SectionTitle';
|
||||||
import TItemCard from '../../../components/TItemCard/TItemCard';
|
import TItemCardNew from '../../../components/TItemCard/TItemCard.new';
|
||||||
import TScroller from '../../../components/TScroller/TScroller';
|
import TScroller from '../../../components/TScroller/TScroller';
|
||||||
import useScrollReset from '../../../hooks/useScrollReset';
|
import useScrollReset from '../../../hooks/useScrollReset';
|
||||||
import useScrollTo from '../../../hooks/useScrollTo';
|
import useScrollTo from '../../../hooks/useScrollTo';
|
||||||
@@ -30,10 +27,7 @@ import {
|
|||||||
LOG_MESSAGE_ID,
|
LOG_MESSAGE_ID,
|
||||||
panel_names,
|
panel_names,
|
||||||
} from '../../../utils/Config';
|
} from '../../../utils/Config';
|
||||||
import {
|
import { $L } from '../../../utils/helperMethods';
|
||||||
$L,
|
|
||||||
scaleW,
|
|
||||||
} from '../../../utils/helperMethods';
|
|
||||||
import { SpotlightIds } from '../../../utils/SpotlightIds';
|
import { SpotlightIds } from '../../../utils/SpotlightIds';
|
||||||
import css from './PickedForYou.module.less';
|
import css from './PickedForYou.module.less';
|
||||||
|
|
||||||
@@ -204,25 +198,25 @@ const PickedForYou = ({
|
|||||||
noScrollByWheel
|
noScrollByWheel
|
||||||
>
|
>
|
||||||
{pickedForYou &&
|
{pickedForYou &&
|
||||||
|
pickedForYou?.[0] &&
|
||||||
pickedForYou?.[0].productInfos.map(
|
pickedForYou?.[0].productInfos.map(
|
||||||
(
|
(
|
||||||
{
|
{
|
||||||
prdtId,
|
prdtId,
|
||||||
imgUrl,
|
imgUrl,
|
||||||
priceInfo,
|
priceInfo,
|
||||||
prdtNm,
|
prdtNm,
|
||||||
rankOrd,
|
|
||||||
patnrId,
|
patnrId,
|
||||||
offerInfo,
|
offerInfo,
|
||||||
brndNm,
|
brndNm,
|
||||||
patncNm,
|
patncNm,
|
||||||
catNm,
|
catNm,
|
||||||
euEnrgLblInfos,
|
euEnrgLblInfos
|
||||||
},
|
},
|
||||||
itemIndex
|
itemIndex
|
||||||
) => {
|
) => {
|
||||||
return (
|
return (
|
||||||
<TItemCard
|
<TItemCardNew
|
||||||
key={"subItem" + itemIndex}
|
key={"subItem" + itemIndex}
|
||||||
contextName={LOG_CONTEXT_NAME.HOME}
|
contextName={LOG_CONTEXT_NAME.HOME}
|
||||||
messageId={LOG_MESSAGE_ID.SHELF_CLICK}
|
messageId={LOG_MESSAGE_ID.SHELF_CLICK}
|
||||||
@@ -236,8 +230,7 @@ const PickedForYou = ({
|
|||||||
imageAlt={prdtId}
|
imageAlt={prdtId}
|
||||||
imageSource={imgUrl}
|
imageSource={imgUrl}
|
||||||
priceInfo={priceInfo}
|
priceInfo={priceInfo}
|
||||||
productName={prdtNm}
|
productName={prdtNm}
|
||||||
isBestSeller={true}
|
|
||||||
productId={prdtId}
|
productId={prdtId}
|
||||||
onFocus={handleFocus(itemIndex)}
|
onFocus={handleFocus(itemIndex)}
|
||||||
onBlur={handleBlur(itemIndex)}
|
onBlur={handleBlur(itemIndex)}
|
||||||
|
|||||||
Reference in New Issue
Block a user