@@ -41,8 +86,8 @@ export default function ItemContents() {
{itemListDatas && itemListDatas.length > 0 && (
state.main.subCategoryData?.categoryShowInfos
);
+ const renderItem = useCallback(
+ ({ index, ...rest }) => {
+ const {
+ catNm,
+ dfltThumbnailImgPath,
+ hstNm,
+ lgCatCd,
+ patncLogoPath,
+ patnrId,
+ showId,
+ showNm,
+ thumbnailUrl,
+ total,
+ vtctpYn,
+ } = showListDatas[index];
+
+ return (
+
+ );
+ },
+ [showListDatas]
+ );
+
return (
{showListDatas && showListDatas.length > 0 && (
{
- dispatch(
- pushPanel({
- name: panel_names.DETAIL_PANEL,
- panelInfo: {
- patnrId: showProductContentDatas.patnrId,
- prdtId: itemData.prdtId,
- },
- })
+ const renderItem = useCallback(
+ ({ index, ...rest }) => {
+ const { prdtId, prdtNm, imgUrl, priceInfo } = productInfos[index];
+
+ const handleItemClick = () => {
+ dispatch(
+ pushPanel({
+ name: panel_names.DETAIL_PANEL,
+ panelInfo: {
+ patnrId: showProductContentDatas.patnrId,
+ prdtId: prdtId,
+ },
+ })
+ );
+ };
+
+ return (
+
);
},
- [dispatch, showProductContentDatas]
+ [showProductContentDatas]
);
return (
@@ -51,13 +68,12 @@ export default function ShowProductContents() {
cbScrollTo={getScrollTo}
spotlightId="showProductBox"
className={css.grid}
- items={productInfos}
+ itemRenderer={renderItem}
dataSize={productInfos.length}
itemWidth={342}
itemHeight={490}
spacing={0}
direction="horizontal"
- onClick={handleItemClick}
/>
)}
diff --git a/com.twin.app.shoptime/src/views/FeaturedBrandsPanel/FeaturedBestSeller/FeaturedBestSellerList/FeaturedBestSellerList.jsx b/com.twin.app.shoptime/src/views/FeaturedBrandsPanel/FeaturedBestSeller/FeaturedBestSellerList/FeaturedBestSellerList.jsx
index 6091bc18..84bcea6f 100644
--- a/com.twin.app.shoptime/src/views/FeaturedBrandsPanel/FeaturedBestSeller/FeaturedBestSellerList/FeaturedBestSellerList.jsx
+++ b/com.twin.app.shoptime/src/views/FeaturedBrandsPanel/FeaturedBestSeller/FeaturedBestSellerList/FeaturedBestSellerList.jsx
@@ -27,16 +27,17 @@ export default memo(function FeaturedBestSellerList({ brandBestSellerInfo }) {
return (
{brandBestSellerInfo && (
-
+ <>>
+ //
)}
);
diff --git a/com.twin.app.shoptime/src/views/FeaturedBrandsPanel/LiveChannels/LiveProductList/LiveProductList.jsx b/com.twin.app.shoptime/src/views/FeaturedBrandsPanel/LiveChannels/LiveProductList/LiveProductList.jsx
index c6da6c1e..10f86b9c 100644
--- a/com.twin.app.shoptime/src/views/FeaturedBrandsPanel/LiveChannels/LiveProductList/LiveProductList.jsx
+++ b/com.twin.app.shoptime/src/views/FeaturedBrandsPanel/LiveChannels/LiveProductList/LiveProductList.jsx
@@ -8,15 +8,16 @@ export default function LiveProductList({ brandProductInfo }) {
return (
{brandProductInfo && (
-
+ <>>
+ //
)}
);
diff --git a/com.twin.app.shoptime/src/views/FeaturedBrandsPanel/UpComing/UpComingList/UpComingList.jsx b/com.twin.app.shoptime/src/views/FeaturedBrandsPanel/UpComing/UpComingList/UpComingList.jsx
index a2a52dec..330110ff 100644
--- a/com.twin.app.shoptime/src/views/FeaturedBrandsPanel/UpComing/UpComingList/UpComingList.jsx
+++ b/com.twin.app.shoptime/src/views/FeaturedBrandsPanel/UpComing/UpComingList/UpComingList.jsx
@@ -8,16 +8,17 @@ export default function UpComingList({ brandLiveChannelUpcoming }) {
return (
{brandLiveChannelUpcoming && (
-
+ <>>
+ //
)}
);
diff --git a/com.twin.app.shoptime/src/views/HomePanel/BestSeller/BestSeller.jsx b/com.twin.app.shoptime/src/views/HomePanel/BestSeller/BestSeller.jsx
index e12bd9bb..73b385f4 100644
--- a/com.twin.app.shoptime/src/views/HomePanel/BestSeller/BestSeller.jsx
+++ b/com.twin.app.shoptime/src/views/HomePanel/BestSeller/BestSeller.jsx
@@ -36,6 +36,7 @@ const BestSeller = () => {
className={css.homeBestSeller}
direction="horizontal"
cbScrollTo={getScrollTo}
+ noScrollByWheel
>
{bestSellerDatas &&
bestSellerDatas.map((item, index) => (
diff --git a/com.twin.app.shoptime/src/views/HomePanel/PopularShow/PopularShow.jsx b/com.twin.app.shoptime/src/views/HomePanel/PopularShow/PopularShow.jsx
index 1eaceb83..aca563f2 100644
--- a/com.twin.app.shoptime/src/views/HomePanel/PopularShow/PopularShow.jsx
+++ b/com.twin.app.shoptime/src/views/HomePanel/PopularShow/PopularShow.jsx
@@ -35,6 +35,7 @@ const PopularShow = ({ ...rest }) => {
className={css.showList}
direction="horizontal"
cbScrollTo={getScrollTo}
+ noScrollByWheel
>
{topInfos &&
topInfos.map((item, index) => (
diff --git a/com.twin.app.shoptime/src/views/HomePanel/SubCategory/SubCategory.jsx b/com.twin.app.shoptime/src/views/HomePanel/SubCategory/SubCategory.jsx
index 417c8721..c08334b1 100644
--- a/com.twin.app.shoptime/src/views/HomePanel/SubCategory/SubCategory.jsx
+++ b/com.twin.app.shoptime/src/views/HomePanel/SubCategory/SubCategory.jsx
@@ -81,6 +81,7 @@ const SubCategory = () => {
className={css.home}
direction="horizontal"
cbScrollTo={getScrollTo}
+ noScrollByWheel
>
{categoryItemInfos &&
categoryItemInfos.map((item, index) => {
diff --git a/com.twin.app.shoptime/src/views/OnSalePanel/OnSaleProductList/OnSaleProductList.jsx b/com.twin.app.shoptime/src/views/OnSalePanel/OnSaleProductList/OnSaleProductList.jsx
index 2a207e61..cadd0c9d 100644
--- a/com.twin.app.shoptime/src/views/OnSalePanel/OnSaleProductList/OnSaleProductList.jsx
+++ b/com.twin.app.shoptime/src/views/OnSalePanel/OnSaleProductList/OnSaleProductList.jsx
@@ -45,7 +45,7 @@ export default function OnSaleProductList({
{saleNm && saleProductInfos && (
<>
-
+ /> */}
>
)}
diff --git a/com.twin.app.shoptime/src/views/SearchPanel/SearchResults/SearchItemResults/SearchItemResults.jsx b/com.twin.app.shoptime/src/views/SearchPanel/SearchResults/SearchItemResults/SearchItemResults.jsx
index 3cfe7f4a..1b47d9d5 100644
--- a/com.twin.app.shoptime/src/views/SearchPanel/SearchResults/SearchItemResults/SearchItemResults.jsx
+++ b/com.twin.app.shoptime/src/views/SearchPanel/SearchResults/SearchItemResults/SearchItemResults.jsx
@@ -27,18 +27,19 @@ export default function SearchItemResults({ itemDatas, itemCount, ...rest }) {
return (