- 메인 bestseller쪽 금액표시부분 수정

- mainSlice부분 오기입 수정
- onsale,popularshow부분 수정
This commit is contained in:
junghoon86.park
2024-01-30 15:48:07 +09:00
parent 5203dba8f6
commit 39fe396d60
7 changed files with 29 additions and 24 deletions

View File

@@ -17,15 +17,13 @@ import { getOnSaleInfo } from "../../../features/onSale/onSaleSlice";
import css from "./OnSale.module.less";
const SpottableComponent = Spottable("div");
const Container = SpotlightContainerDecorator(
{
enterTo: "default-element",
},
{ leaveFor: { left: "", right: "" }, enterTo: "last-focused" },
"div"
);
const SpottableComponent = Spottable("li");
const OnSale = ({
isOnTop,
spotlightId,
@@ -59,7 +57,7 @@ const OnSale = ({
}
item.priceInfo.split("|")[0];
return (
<li key={index} className={css.onSaleItemList}>
<SpottableComponent key={index} className={css.onSaleItemList}>
<img src={item.imgUrl} className={css.onSaleItemListImg} />
<div className={css.onSaleItemListBox}>
<div className={css.onSaleItemListBoxTitle}>
@@ -81,7 +79,7 @@ const OnSale = ({
</span>
</div>
</div>
</li>
</SpottableComponent>
);
})}
</ul>