coupon popup css

This commit is contained in:
고동영
2024-04-22 09:50:15 +09:00
parent 89d2f83674
commit 624c4ba782
2 changed files with 13 additions and 8 deletions

View File

@@ -186,6 +186,7 @@ export default function SingleOption({
const handleCouponClick = useCallback(
(idx, promotion) => {
if (promotion === "SPECIAL PROMOTION") {
console.log("#shoptimeCoupon", shoptiemCoupon);
setSelectedCoupon(shoptiemCoupon);
} else if (promotion === "SHOPTIME PROMOTION") {
setSelectedCoupon(partnerCoupon);
@@ -550,7 +551,9 @@ export default function SingleOption({
/>
)}
</div>
<div>{`1/${selectedCoupon?.length}`}</div>
<div
className={css.couponRemain}
>{`1/${selectedCoupon?.length}`}</div>
</TPopUp>
)}
</div>

View File

@@ -236,13 +236,6 @@
background-image: url(../../../../assets/images/icons/ic-heart-nor@3x.png);
.imgElement(54px, 54px, center, center);
}
.couponRemain {
font-size: 24px;
font-weight: bold;
color: #808080;
text-align: center;
}
}
.itemContainer {
@@ -344,3 +337,12 @@
}
}
}
.couponRemain {
font-size: 24px;
font-weight: bold;
color: #808080;
text-align: center;
margin-top: 20px;
}