지급 대행

This commit is contained in:
focp212@naver.com
2025-09-09 11:07:45 +09:00
parent 337ac1bf97
commit 3cfc45a244
5 changed files with 274 additions and 4 deletions

View File

@@ -0,0 +1,107 @@
import { motion } from 'framer-motion';
import { SettlementAgencyBottomAgreeProps } from '../model/types';
import { IMAGE_ROOT } from '@/shared/constants/common';
export const SettlementAgencyBottomAgree = ({
bottomAgreeOn,
setBottomAgreeOn
}: SettlementAgencyBottomAgreeProps) => {
const variants = {
hidden: { y: '100%' },
visible: { y: '0%' },
};
const onClickToClose = () => {
setBottomAgreeOn(false);
};
const onClickToSaveSettlementAgencyAgree = () => {
};
return (
<>
{bottomAgreeOn &&
<div className="bg-dim"></div>
}
<motion.div
className="bottomsheet"
initial="hidden"
animate={ (bottomAgreeOn)? 'visible': 'hidden' }
variants={ variants }
transition={{ duration: 0.5 }}
>
<div className="bottomsheet-header">
<div className="bottomsheet-title">
<h2> </h2>
<button
className="close-btn"
type="button"
>
<img
src={ IMAGE_ROOT + '/ico_close.svg' }
alt="닫기"
onClick={ () => onClickToClose() }
/>
</button>
</div>
</div>
<div className="agree-section">
<div className="agree-desc pb10"> <br/>.</div>
<div className="agree-desc pb10"> , .</div>
<div className="agree-desc pb16"> · <br/> .</div>
<div className="agree-desc pb16"> // , (10 ·) .</div>
<div className="agree-desc pb16"> (, ) · .</div>
<div className="sheet-divider"></div>
<div className="agree-radio-group">
<div className="check_box">
<input
id="r1"
className="checkbox"
type="radio"
name="r"
/>
<label
className="gtr"
htmlFor="r1"
></label>
</div>
<div className="check_box">
<input
id="r2"
className="checkbox"
type="radio"
name="r"
/>
<label
className="gtr"
htmlFor="r2"
></label>
</div>
<div className="check_box">
<input
className="checkbox"
id="r3"
type="radio"
name="r"
/>
<label
className="gtr"
htmlFor="r3"
></label>
</div>
</div>
</div>
<div className="bottomsheet-footer">
<button
className="btn-50 btn-blue flex-1"
type="button"
onClick={ () => onClickToSaveSettlementAgencyAgree() }
></button>
</div>
</motion.div>
</>
);
};

View File

@@ -8,6 +8,9 @@ export const SettlementAgencyManageWrap = () => {
const onClickToRegister = () => {
navigate(PATHS.additionalService.settlementAgency.register);
};
const onClickToDetail = () => {
navigate(PATHS.additionalService.settlementAgency.detail);
};
return (
<>
@@ -107,7 +110,10 @@ export const SettlementAgencyManageWrap = () => {
</section>
<section className="transaction-list">
<div className="date-header">25.06.08()</div>
<div className="transaction-item approved">
<div
className="transaction-item approved"
onClick={ () => onClickToDetail() }
>
<div className="transaction-status">
<div className="status-dot blue"></div>
</div>