작업중

This commit is contained in:
focp212@naver.com
2025-09-29 16:59:26 +09:00
parent 74ab29f80a
commit 0a747469a6
18 changed files with 313 additions and 111 deletions

View File

@@ -33,4 +33,66 @@ export const BottomSheetMotionVaiants = {
};
export const BottomSheetMotionDuration = {
duration: 0.3
};
};
export const MenuItems = [
{menuId: '30', parent: '30', menuName: '거래조회', subMenu:
[
{menuId: '31', parent: '30', menuName: '거래내역조회'},
{menuId: '32', parent: '30', menuName: '현금영수증 발행'},
{menuId: '33', parent: '30', menuName: '에스크로'},
{menuId: '34', parent: '30', menuName: '빌링'}
]
},
{menuId: '35', parent: '35', menuName: '정산조회', subMenu:
[
{menuId: '36', parent: '35', menuName: '정산달력'},
{menuId: '37', parent: '35', menuName: '정산내역'},
]
},
{menuId: '38', parent: '38', menuName: '가맹점 관리', subMenu:
[
{menuId: '39', parent: '38', menuName: '가맹점 정보'},
{menuId: '40', parent: '38', menuName: '등록 현황'},
]
},
{menuId: '41', parent: '41', menuName: '결제 관리', subMenu:
[
{menuId: '42', parent: '41', menuName: '결제 정보'},
{menuId: '43', parent: '41', menuName: '결제데이터통보'},
]
},
{menuId: '44', parent: '44', menuName: '계정관리', subMenu:
[
{menuId: '45', parent: '44', menuName: '사용자관리'},
{menuId: '46', parent: '44', menuName: '비밀번호관리'},
]
},
{menuId: '47', parent: '47', menuName: '부가세신고자료', subMenu:
[
{menuId: '48', parent: '47', menuName: '부가세신고자료'},
{menuId: '49', parent: '47', menuName: '부가세참고'},
]
},
{menuId: '50', parent: '50', menuName: '부가서비스', subMenu:
[
{menuId: '51', parent: '50', menuName: '부가서비스소개'},
{menuId: '52', parent: '50', menuName: '신용카드ARS카드결제'},
{menuId: '53', parent: '50', menuName: '계좌이체ARS카드결제'},
{menuId: '54', parent: '50', menuName: '가상계좌ARS카드결제'},
{menuId: '55', parent: '50', menuName: '휴대폰ARS카드결제'},
{menuId: '56', parent: '50', menuName: '계좌간편결제ARS카드결제'},
{menuId: '57', parent: '50', menuName: 'SSG머니ARS카드결제'},
{menuId: '58', parent: '50', menuName: 'SSG은행계좌ARS카드결제'},
{menuId: '59', parent: '50', menuName: '문화상품권ARS카드결제'},
{menuId: '60', parent: '50', menuName: '티머니페이ARS카드결제'},
]
},
{menuId: '61', parent: '61', menuName: '고객지원', subMenu:
[
{menuId: '62', parent: '61', menuName: '공지사항'},
{menuId: '63', parent: '61', menuName: '자주묻는질문'},
{menuId: '64', parent: '61', menuName: '1:1문의'},
]
},
]

View File

@@ -7,18 +7,22 @@ export interface BannerInfoState {
setBannerInfo: (update: SetStateAction<Partial<BannerInfo>>) => void;
};
const initialState = {
const initialBannerInfoState = {
bannerInfo: {} as BannerInfo,
} as BannerInfoState;
export const createBannerInfoStore = lens<BannerInfoState>((set, get) => ({
...initialState,
...initialBannerInfoState,
setBannerInfo: (update) => {
set((state: BannerInfoState) => {
const newBannerInfo = typeof update === 'function' ? update(state.bannerInfo) : update;
const newBannerInfo = (typeof update === 'function')
? update(state.bannerInfo): update;
return {
...state,
bannerInfo: { ...state.bannerInfo, ...newBannerInfo },
bannerInfo: {
...state.bannerInfo,
...newBannerInfo
},
};
});
},

View File

@@ -69,11 +69,13 @@ export interface HeaderNavigationProps {
menuOn: boolean;
headerType: HeaderType;
setMenuOn: (menuOn: boolean) => void;
favoriteEdit?: boolean;
};
export interface FooterProps {
setMenuOn: (menuOn: boolean) => void;
footerCurrentPage?: string | null;
setFavoriteEdit: (favoriteEdit: boolean) => void;
};
export enum FooterItemActiveKey {
Home = 'Home',