From 8589cde0614e8521c2b6353fc2ba58e01268e7c2 Mon Sep 17 00:00:00 2001 From: optrader Date: Tue, 16 Dec 2025 17:29:44 +0900 Subject: [PATCH] [251216] fix: FeaturedBrandsPanel TItemCard to DetailPanel MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ๐Ÿ• ์ปค๋ฐ‹ ์‹œ๊ฐ„: 2025. 12. 16. 17:29:43 ๐Ÿ“Š ๋ณ€๊ฒฝ ํ†ต๊ณ„: โ€ข ์ด ํŒŒ์ผ: 1๊ฐœ โ€ข ์ถ”๊ฐ€: +28์ค„ โ€ข ์‚ญ์ œ: -19์ค„ ๐Ÿ“ ์ˆ˜์ •๋œ ํŒŒ์ผ: ~ com.twin.app.shoptime/src/views/FeaturedBrandsPanel/RecommendedShows/RecommendedShowsContents/RecommendedShowsProductList/RecommendedShowsProductList.jsx ๐Ÿ”ง ์ฃผ์š” ๋ณ€๊ฒฝ ๋‚ด์šฉ: โ€ข ์†Œ๊ทœ๋ชจ ๊ธฐ๋Šฅ ๊ฐœ์„  โ€ข ์ฝ”๋“œ ์ •๋ฆฌ ๋ฐ ์ตœ์ ํ™” --- .../RecommendedShowsProductList.jsx | 47 +++++++++++-------- 1 file changed, 28 insertions(+), 19 deletions(-) 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(() => {