diff --git a/com.twin.app.shoptime/src/views/FeaturedBrandsPanel/RecommendedShows/RecommendedShowsContents/RecommendedShowsProductList/RecommendedShowsProductList.jsx b/com.twin.app.shoptime/src/views/FeaturedBrandsPanel/RecommendedShows/RecommendedShowsContents/RecommendedShowsProductList/RecommendedShowsProductList.jsx index b331623c..bcedccec 100644 --- a/com.twin.app.shoptime/src/views/FeaturedBrandsPanel/RecommendedShows/RecommendedShowsContents/RecommendedShowsProductList/RecommendedShowsProductList.jsx +++ b/com.twin.app.shoptime/src/views/FeaturedBrandsPanel/RecommendedShows/RecommendedShowsContents/RecommendedShowsProductList/RecommendedShowsProductList.jsx @@ -5,8 +5,8 @@ import { useDispatch, useSelector } from "react-redux"; import { Job } from "@enact/core/util"; import Spotlight from "@enact/spotlight"; -import { updatePanel } from "../../../../../actions/panelActions"; -import { startVideoPlayer } from "../../../../../actions/playActions"; +import { pushPanel, updatePanel } from "../../../../../actions/panelActions"; +// import { startVideoPlayer } from "../../../../../actions/playActions"; import TItemCard, { removeDotAndColon, } from "../../../../../components/TItemCard/TItemCard"; @@ -113,27 +113,36 @@ export default function RecommendedShowsProductList({ ); } - let y = - index < 2 - ? 0 - : index === 2 - ? scaleH(208) - : scaleH(index * 248 - 248 - 40); - + // 🆕 DetailPanel로 이동 (ShopByShow 방식) dispatch( - startVideoPlayer({ - modal: false, - patnrId, - prdtId, - showId, - shptmBanrTpNm: "VOD", - thumbnail: videoThumbnail, - targetId: "spotlightId-" + prdtId, - y, + pushPanel({ + name: panel_names.DETAIL_PANEL, + panelInfo: { patnrId, prdtId }, }) ); + + // 🔴 기존 PlayerPanel 로직 (주석처리) + // let y = + // index < 2 + // ? 0 + // : index === 2 + // ? scaleH(208) + // : scaleH(index * 248 - 248 - 40); + // + // dispatch( + // startVideoPlayer({ + // modal: false, + // patnrId, + // prdtId, + // showId, + // shptmBanrTpNm: "VOD", + // thumbnail: videoThumbnail, + // targetId: "spotlightId-" + prdtId, + // y, + // }) + // ); }, - [catCd, dispatch, patnrId, showId, videoThumbnail] + [catCd, dispatch, patnrId] ); const handleFocus = useCallback(() => {