부가서비스

- SMS 결제 통보 리스트 API 연동
This commit is contained in:
HyeonJongKim
2025-09-24 16:54:35 +09:00
parent 9c03a73cc7
commit 69bafcd2c5
19 changed files with 432 additions and 224 deletions

View File

@@ -0,0 +1,59 @@
import { motion } from 'framer-motion';
import { IMAGE_ROOT } from '@/shared/constants/common';
import { SmsPaymentDetailResendProps } from '../../model/types';
export const SmsPaymentDetailResend = ({
bottomSmsPaymentDetailResendOn,
setBottomSmsPaymentDetailResendOn
}: SmsPaymentDetailResendProps) => {
const variants = {
hidden: { y: '100%' },
visible: { y: '0%' },
};
const onClickToClose = () => {
// close
setBottomSmsPaymentDetailResendOn(false);
};
return (
<>
{ bottomSmsPaymentDetailResendOn &&
<div className="bg-dim"></div>
}
<motion.div
className="bottomsheet"
initial="hidden"
animate={ (bottomSmsPaymentDetailResendOn)? 'visible': 'hidden' }
variants={ variants }
transition={{ duration: 0.5 }}
>
<div className="bottomsheet-header">
<div className="bottomsheet-title">
<h2>SMS & </h2>
<button
className="close-btn"
type="button"
>
<img
src={ IMAGE_ROOT + '/ico_close.svg' }
alt="닫기"
onClick={ () => onClickToClose() }
/>
</button>
</div>
</div>
<div className="resend-info">
<div className="resend-row">() : (16610808)</div>
<div className="resend-row">() : *(010****7000)</div>
</div>
<div className="resend-box">
<p className="resend-text">[]*, 110322141414 (300 06/08 )</p>
</div>
<div className="bottomsheet-footer">
<button className="btn-50 btn-blue flex-1" type="button"></button>
</div>
</motion.div>
</>
);
};