- 부가서비스 스크롤 중 필터 체크 마크 추가
- 자금이체,알림톡 스크롤 중 DateGroup 누락 수정
This commit is contained in:
@@ -28,6 +28,7 @@ export interface AccountHolderAuthListProps {
|
|||||||
listItems: Array<AccountHolderAuthItem>;
|
listItems: Array<AccountHolderAuthItem>;
|
||||||
mid: string;
|
mid: string;
|
||||||
setDetailData: (detailData: DetailData) => void;
|
setDetailData: (detailData: DetailData) => void;
|
||||||
|
filterUsed: boolean;
|
||||||
onClickToOpenFilter: () => void;
|
onClickToOpenFilter: () => void;
|
||||||
onClickToOpenDownloadBottomSheet: () => void;
|
onClickToOpenDownloadBottomSheet: () => void;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ export interface AccountHolderSearchListProps {
|
|||||||
listItems: Array<AccountHolderSearchListItem>;
|
listItems: Array<AccountHolderSearchListItem>;
|
||||||
mid: string;
|
mid: string;
|
||||||
setDetailData: (detailData: DetailData) => void;
|
setDetailData: (detailData: DetailData) => void;
|
||||||
|
filterUsed: boolean;
|
||||||
onClickToOpenFilter: () => void;
|
onClickToOpenFilter: () => void;
|
||||||
onClickToOpenDownloadBottomSheet: () => void;
|
onClickToOpenDownloadBottomSheet: () => void;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ export interface ArsListProps {
|
|||||||
listItems: Array<ListItemProps>;
|
listItems: Array<ListItemProps>;
|
||||||
mid: string;
|
mid: string;
|
||||||
setDetailData: (detailData: DetailData) => void;
|
setDetailData: (detailData: DetailData) => void;
|
||||||
|
filterUsed: boolean;
|
||||||
onClickToOpenFilter: () => void;
|
onClickToOpenFilter: () => void;
|
||||||
onClickToOpenDownloadBottomSheet: () => void;
|
onClickToOpenDownloadBottomSheet: () => void;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -34,6 +34,7 @@ export interface KeyInPaymentListProps {
|
|||||||
additionalServiceCategory: AdditionalServiceCategory;
|
additionalServiceCategory: AdditionalServiceCategory;
|
||||||
listItems: Array<KeyInPaymentListItem>;
|
listItems: Array<KeyInPaymentListItem>;
|
||||||
mid?: string;
|
mid?: string;
|
||||||
|
filterUsed: boolean;
|
||||||
onClickToOpenFilter: () => void;
|
onClickToOpenFilter: () => void;
|
||||||
onClickToOpenDownloadBottomSheet: () => void;
|
onClickToOpenDownloadBottomSheet: () => void;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -105,6 +105,7 @@ export interface LinkPaymentHistoryListProps {
|
|||||||
listItems: Array<LinkPaymentHistoryListItem>;
|
listItems: Array<LinkPaymentHistoryListItem>;
|
||||||
mid: string;
|
mid: string;
|
||||||
setDetailData: (detailData: DetailData) => void;
|
setDetailData: (detailData: DetailData) => void;
|
||||||
|
filterUsed: boolean;
|
||||||
onClickToOpenFilter: () => void;
|
onClickToOpenFilter: () => void;
|
||||||
onClickToOpenDownloadBottomSheet: () => void;
|
onClickToOpenDownloadBottomSheet: () => void;
|
||||||
};
|
};
|
||||||
@@ -114,6 +115,7 @@ export interface LinkPaymentWaitListProps {
|
|||||||
listItems: Array<LinkPaymentWaitListItem>;
|
listItems: Array<LinkPaymentWaitListItem>;
|
||||||
mid: string;
|
mid: string;
|
||||||
setDetailData: (detailData: DetailData) => void;
|
setDetailData: (detailData: DetailData) => void;
|
||||||
|
filterUsed: boolean;
|
||||||
onClickToOpenFilter: () => void;
|
onClickToOpenFilter: () => void;
|
||||||
onClickToOpenDownloadBottomSheet: () => void;
|
onClickToOpenDownloadBottomSheet: () => void;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ export interface PayoutListProps {
|
|||||||
searchDateType: PayoutSearchDateType
|
searchDateType: PayoutSearchDateType
|
||||||
mid: string;
|
mid: string;
|
||||||
setDetailData: (detailData: DetailData) => void;
|
setDetailData: (detailData: DetailData) => void;
|
||||||
|
filterUsed: boolean;
|
||||||
onClickToOpenFilter: () => void;
|
onClickToOpenFilter: () => void;
|
||||||
onClickToOpenDownloadBottomSheet: () => void;
|
onClickToOpenDownloadBottomSheet: () => void;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -30,6 +30,7 @@ export interface SmsPaymentListProps {
|
|||||||
additionalServiceCategory: AdditionalServiceCategory;
|
additionalServiceCategory: AdditionalServiceCategory;
|
||||||
mid: string;
|
mid: string;
|
||||||
onResendClick?: (seq: number) => void;
|
onResendClick?: (seq: number) => void;
|
||||||
|
filterUsed: boolean;
|
||||||
onClickToOpenFilter: () => void;
|
onClickToOpenFilter: () => void;
|
||||||
onClickToOpenDownloadBottomSheet: () => void;
|
onClickToOpenDownloadBottomSheet: () => void;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ export const AccountHolderAuthList = ({
|
|||||||
listItems,
|
listItems,
|
||||||
mid,
|
mid,
|
||||||
setDetailData,
|
setDetailData,
|
||||||
|
filterUsed,
|
||||||
onClickToOpenFilter,
|
onClickToOpenFilter,
|
||||||
onClickToOpenDownloadBottomSheet
|
onClickToOpenDownloadBottomSheet
|
||||||
}: AccountHolderAuthListProps) => {
|
}: AccountHolderAuthListProps) => {
|
||||||
@@ -98,6 +99,9 @@ export const AccountHolderAuthList = ({
|
|||||||
alt={t('transaction.searchOptions')}
|
alt={t('transaction.searchOptions')}
|
||||||
onClick={onClickToOpenFilter}
|
onClick={onClickToOpenFilter}
|
||||||
/>
|
/>
|
||||||
|
{filterUsed &&
|
||||||
|
<span className="notification-badge2"></span>
|
||||||
|
}
|
||||||
</button>
|
</button>
|
||||||
<button className="download-btn">
|
<button className="download-btn">
|
||||||
<img
|
<img
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ export const AccountHolderSearchList = ({
|
|||||||
listItems,
|
listItems,
|
||||||
mid,
|
mid,
|
||||||
setDetailData,
|
setDetailData,
|
||||||
|
filterUsed,
|
||||||
onClickToOpenFilter,
|
onClickToOpenFilter,
|
||||||
onClickToOpenDownloadBottomSheet
|
onClickToOpenDownloadBottomSheet
|
||||||
}: AccountHolderSearchListProps) => {
|
}: AccountHolderSearchListProps) => {
|
||||||
@@ -111,6 +112,9 @@ export const AccountHolderSearchList = ({
|
|||||||
alt={t('transaction.searchOptions')}
|
alt={t('transaction.searchOptions')}
|
||||||
onClick={ onClickToOpenFilter }
|
onClick={ onClickToOpenFilter }
|
||||||
/>
|
/>
|
||||||
|
{ filterUsed &&
|
||||||
|
<span className="notification-badge2"></span>
|
||||||
|
}
|
||||||
</button>
|
</button>
|
||||||
<button className="download-btn">
|
<button className="download-btn">
|
||||||
<img
|
<img
|
||||||
@@ -124,7 +128,6 @@ export const AccountHolderSearchList = ({
|
|||||||
}
|
}
|
||||||
<section
|
<section
|
||||||
className="transaction-list"
|
className="transaction-list"
|
||||||
style={{ height: (listHeight > 0)? listHeight + 'px': 'unset' }}
|
|
||||||
>
|
>
|
||||||
{ getListDateGroup() }
|
{ getListDateGroup() }
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ export const ArsList = ({
|
|||||||
listItems,
|
listItems,
|
||||||
mid,
|
mid,
|
||||||
setDetailData,
|
setDetailData,
|
||||||
|
filterUsed,
|
||||||
onClickToOpenFilter,
|
onClickToOpenFilter,
|
||||||
onClickToOpenDownloadBottomSheet
|
onClickToOpenDownloadBottomSheet
|
||||||
}: ArsListProps) => {
|
}: ArsListProps) => {
|
||||||
@@ -98,6 +99,9 @@ export const ArsList = ({
|
|||||||
alt={t('transaction.searchOptions')}
|
alt={t('transaction.searchOptions')}
|
||||||
onClick={onClickToOpenFilter}
|
onClick={onClickToOpenFilter}
|
||||||
/>
|
/>
|
||||||
|
{ filterUsed &&
|
||||||
|
<span className="notification-badge2"></span>
|
||||||
|
}
|
||||||
</button>
|
</button>
|
||||||
<button className="download-btn">
|
<button className="download-btn">
|
||||||
<img
|
<img
|
||||||
|
|||||||
@@ -296,16 +296,24 @@ export const FundAccountResultListWrap = () => {
|
|||||||
let heightList = GetListHeight();
|
let heightList = GetListHeight();
|
||||||
setListHeight(heightList.listHeight);
|
setListHeight(heightList.listHeight);
|
||||||
|
|
||||||
|
// DOM이 렌더링된 후에 이벤트 리스너 등록
|
||||||
|
const timer = setTimeout(() => {
|
||||||
let tabContent = document.querySelector('.tab-content');
|
let tabContent = document.querySelector('.tab-content');
|
||||||
tabContent?.addEventListener('scroll', (e: Event) => {
|
|
||||||
|
const handleScroll = (e: Event) => {
|
||||||
setScrollAction(e, setGroupDate, setGroupDateOn);
|
setScrollAction(e, setGroupDate, setGroupDateOn);
|
||||||
});
|
};
|
||||||
|
|
||||||
|
tabContent?.addEventListener('scroll', handleScroll);
|
||||||
|
|
||||||
|
return () => {
|
||||||
|
tabContent?.removeEventListener('scroll', handleScroll);
|
||||||
|
};
|
||||||
|
}, 100);
|
||||||
|
|
||||||
return () => {
|
return () => {
|
||||||
ListScrollOn(false);
|
ListScrollOn(false);
|
||||||
tabContent?.removeEventListener('scroll', (e: Event) => {
|
clearTimeout(timer);
|
||||||
setScrollAction(e, setGroupDate, setGroupDateOn);
|
|
||||||
});
|
|
||||||
};
|
};
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
@@ -425,6 +433,9 @@ export const FundAccountResultListWrap = () => {
|
|||||||
alt={t('transaction.searchOptions')}
|
alt={t('transaction.searchOptions')}
|
||||||
onClick={onClickToOpenFilter}
|
onClick={onClickToOpenFilter}
|
||||||
/>
|
/>
|
||||||
|
{filterUsed &&
|
||||||
|
<span className="notification-badge2"></span>
|
||||||
|
}
|
||||||
</button>
|
</button>
|
||||||
<button className="download-btn">
|
<button className="download-btn">
|
||||||
<img
|
<img
|
||||||
@@ -438,7 +449,6 @@ export const FundAccountResultListWrap = () => {
|
|||||||
}
|
}
|
||||||
<section
|
<section
|
||||||
className="transaction-list"
|
className="transaction-list"
|
||||||
style={{ height: (listHeight > 0) ? listHeight + 'px' : 'unset' }}
|
|
||||||
>
|
>
|
||||||
{getListDateGroup()}
|
{getListDateGroup()}
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@@ -303,16 +303,24 @@ export const FundAccountTransferListWrap = () => {
|
|||||||
let heightList = GetListHeight();
|
let heightList = GetListHeight();
|
||||||
setListHeight(heightList.listHeight);
|
setListHeight(heightList.listHeight);
|
||||||
|
|
||||||
|
// DOM이 렌더링된 후에 이벤트 리스너 등록
|
||||||
|
const timer = setTimeout(() => {
|
||||||
let tabContent = document.querySelector('.tab-content');
|
let tabContent = document.querySelector('.tab-content');
|
||||||
tabContent?.addEventListener('scroll', (e: Event) => {
|
|
||||||
|
const handleScroll = (e: Event) => {
|
||||||
setScrollAction(e, setGroupDate, setGroupDateOn);
|
setScrollAction(e, setGroupDate, setGroupDateOn);
|
||||||
});
|
};
|
||||||
|
|
||||||
|
tabContent?.addEventListener('scroll', handleScroll);
|
||||||
|
|
||||||
|
return () => {
|
||||||
|
tabContent?.removeEventListener('scroll', handleScroll);
|
||||||
|
};
|
||||||
|
}, 100);
|
||||||
|
|
||||||
return () => {
|
return () => {
|
||||||
ListScrollOn(false);
|
ListScrollOn(false);
|
||||||
tabContent?.removeEventListener('scroll', (e: Event) => {
|
clearTimeout(timer);
|
||||||
setScrollAction(e, setGroupDate, setGroupDateOn);
|
|
||||||
});
|
|
||||||
};
|
};
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
@@ -396,6 +404,9 @@ export const FundAccountTransferListWrap = () => {
|
|||||||
alt={t('transaction.searchOptions')}
|
alt={t('transaction.searchOptions')}
|
||||||
onClick={onClickToOpenFilter}
|
onClick={onClickToOpenFilter}
|
||||||
/>
|
/>
|
||||||
|
{filterUsed &&
|
||||||
|
<span className="notification-badge2"></span>
|
||||||
|
}
|
||||||
</button>
|
</button>
|
||||||
<button className="download-btn">
|
<button className="download-btn">
|
||||||
<img
|
<img
|
||||||
@@ -409,7 +420,6 @@ export const FundAccountTransferListWrap = () => {
|
|||||||
}
|
}
|
||||||
<section
|
<section
|
||||||
className="transaction-list pb-86"
|
className="transaction-list pb-86"
|
||||||
style={{ height: (listHeight > 0)? listHeight + 'px': 'unset' }}
|
|
||||||
>
|
>
|
||||||
{getListDateGroup()}
|
{getListDateGroup()}
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ export const KeyInPaymentList = ({
|
|||||||
additionalServiceCategory,
|
additionalServiceCategory,
|
||||||
listItems,
|
listItems,
|
||||||
mid,
|
mid,
|
||||||
|
filterUsed,
|
||||||
onClickToOpenFilter,
|
onClickToOpenFilter,
|
||||||
onClickToOpenDownloadBottomSheet
|
onClickToOpenDownloadBottomSheet
|
||||||
}: KeyInPaymentListProps) => {
|
}: KeyInPaymentListProps) => {
|
||||||
@@ -106,6 +107,9 @@ export const KeyInPaymentList = ({
|
|||||||
alt={t('transaction.searchOptions')}
|
alt={t('transaction.searchOptions')}
|
||||||
onClick={onClickToOpenFilter}
|
onClick={onClickToOpenFilter}
|
||||||
/>
|
/>
|
||||||
|
{filterUsed &&
|
||||||
|
<span className="notification-badge2"></span>
|
||||||
|
}
|
||||||
</button>
|
</button>
|
||||||
<button className="download-btn">
|
<button className="download-btn">
|
||||||
<img
|
<img
|
||||||
@@ -119,7 +123,6 @@ export const KeyInPaymentList = ({
|
|||||||
}
|
}
|
||||||
<section
|
<section
|
||||||
className="transaction-list"
|
className="transaction-list"
|
||||||
style={{ height: (listHeight > 0)? listHeight + 'px': 'unset' }}
|
|
||||||
>
|
>
|
||||||
{getListDateGroup()}
|
{getListDateGroup()}
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ export const LinkPaymentHistoryList = ({
|
|||||||
listItems,
|
listItems,
|
||||||
mid,
|
mid,
|
||||||
setDetailData,
|
setDetailData,
|
||||||
|
filterUsed,
|
||||||
onClickToOpenFilter,
|
onClickToOpenFilter,
|
||||||
onClickToOpenDownloadBottomSheet
|
onClickToOpenDownloadBottomSheet
|
||||||
}: LinkPaymentHistoryListProps) => {
|
}: LinkPaymentHistoryListProps) => {
|
||||||
@@ -97,6 +98,9 @@ export const LinkPaymentHistoryList = ({
|
|||||||
alt={t('transaction.searchOptions')}
|
alt={t('transaction.searchOptions')}
|
||||||
onClick={onClickToOpenFilter}
|
onClick={onClickToOpenFilter}
|
||||||
/>
|
/>
|
||||||
|
{filterUsed &&
|
||||||
|
<span className="notification-badge2"></span>
|
||||||
|
}
|
||||||
</button>
|
</button>
|
||||||
<button className="download-btn">
|
<button className="download-btn">
|
||||||
<img
|
<img
|
||||||
@@ -110,7 +114,6 @@ export const LinkPaymentHistoryList = ({
|
|||||||
}
|
}
|
||||||
<div
|
<div
|
||||||
className="transaction-list"
|
className="transaction-list"
|
||||||
style={{ height: (listHeight > 0)? listHeight + 'px': 'unset' }}
|
|
||||||
>
|
>
|
||||||
{getListDateGroup()}
|
{getListDateGroup()}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -316,6 +316,7 @@ export const LinkPaymentHistoryWrap = () => {
|
|||||||
additionalServiceCategory={AdditionalServiceCategory.LinkPaymentHistory}
|
additionalServiceCategory={AdditionalServiceCategory.LinkPaymentHistory}
|
||||||
mid={mid}
|
mid={mid}
|
||||||
setDetailData={setDetailData}
|
setDetailData={setDetailData}
|
||||||
|
filterUsed={filterUsed}
|
||||||
onClickToOpenFilter={onClickToOpenFilter}
|
onClickToOpenFilter={onClickToOpenFilter}
|
||||||
onClickToOpenDownloadBottomSheet={onClickToOpenDownloadBottomSheet}
|
onClickToOpenDownloadBottomSheet={onClickToOpenDownloadBottomSheet}
|
||||||
></LinkPaymentHistoryList>
|
></LinkPaymentHistoryList>
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ export const LinkPaymentWaitList = ({
|
|||||||
listItems,
|
listItems,
|
||||||
mid,
|
mid,
|
||||||
setDetailData,
|
setDetailData,
|
||||||
|
filterUsed,
|
||||||
onClickToOpenFilter,
|
onClickToOpenFilter,
|
||||||
onClickToOpenDownloadBottomSheet
|
onClickToOpenDownloadBottomSheet
|
||||||
}: LinkPaymentWaitListProps) => {
|
}: LinkPaymentWaitListProps) => {
|
||||||
@@ -97,6 +98,9 @@ export const LinkPaymentWaitList = ({
|
|||||||
alt={t('transaction.searchOptions')}
|
alt={t('transaction.searchOptions')}
|
||||||
onClick={onClickToOpenFilter}
|
onClick={onClickToOpenFilter}
|
||||||
/>
|
/>
|
||||||
|
{filterUsed &&
|
||||||
|
<span className="notification-badge2"></span>
|
||||||
|
}
|
||||||
</button>
|
</button>
|
||||||
<button className="download-btn">
|
<button className="download-btn">
|
||||||
<img
|
<img
|
||||||
@@ -110,7 +114,6 @@ export const LinkPaymentWaitList = ({
|
|||||||
}
|
}
|
||||||
<div
|
<div
|
||||||
className="transaction-list"
|
className="transaction-list"
|
||||||
style={{ height: (listHeight > 0)? listHeight + 'px': 'unset' }}
|
|
||||||
>
|
>
|
||||||
{getListDateGroup()}
|
{getListDateGroup()}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -281,6 +281,7 @@ export const LinkPaymentWaitSendWrap = () => {
|
|||||||
additionalServiceCategory={AdditionalServiceCategory.LinkPaymentWait}
|
additionalServiceCategory={AdditionalServiceCategory.LinkPaymentWait}
|
||||||
mid={mid}
|
mid={mid}
|
||||||
setDetailData={setDetailData}
|
setDetailData={setDetailData}
|
||||||
|
filterUsed={filterUsed}
|
||||||
onClickToOpenFilter={onClickToOpenFilter}
|
onClickToOpenFilter={onClickToOpenFilter}
|
||||||
onClickToOpenDownloadBottomSheet={onClickToOpenDownloadBottomSheet}
|
onClickToOpenDownloadBottomSheet={onClickToOpenDownloadBottomSheet}
|
||||||
></LinkPaymentWaitList>
|
></LinkPaymentWaitList>
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ export const PayoutList = ({
|
|||||||
searchDateType,
|
searchDateType,
|
||||||
mid,
|
mid,
|
||||||
setDetailData,
|
setDetailData,
|
||||||
|
filterUsed,
|
||||||
onClickToOpenFilter,
|
onClickToOpenFilter,
|
||||||
onClickToOpenDownloadBottomSheet
|
onClickToOpenDownloadBottomSheet
|
||||||
}: PayoutListProps) => {
|
}: PayoutListProps) => {
|
||||||
@@ -99,6 +100,9 @@ export const PayoutList = ({
|
|||||||
alt={t('transaction.searchOptions')}
|
alt={t('transaction.searchOptions')}
|
||||||
onClick={onClickToOpenFilter}
|
onClick={onClickToOpenFilter}
|
||||||
/>
|
/>
|
||||||
|
{filterUsed &&
|
||||||
|
<span className="notification-badge2"></span>
|
||||||
|
}
|
||||||
</button>
|
</button>
|
||||||
<button className="download-btn">
|
<button className="download-btn">
|
||||||
<img
|
<img
|
||||||
@@ -112,7 +116,6 @@ export const PayoutList = ({
|
|||||||
}
|
}
|
||||||
<section
|
<section
|
||||||
className="transaction-list"
|
className="transaction-list"
|
||||||
style={{ height: (listHeight > 0)? listHeight + 'px': 'unset' }}
|
|
||||||
>
|
>
|
||||||
{getListDateGroup()}
|
{getListDateGroup()}
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ export const SmsPaymentList = ({
|
|||||||
additionalServiceCategory,
|
additionalServiceCategory,
|
||||||
mid,
|
mid,
|
||||||
onResendClick,
|
onResendClick,
|
||||||
|
filterUsed,
|
||||||
onClickToOpenFilter,
|
onClickToOpenFilter,
|
||||||
onClickToOpenDownloadBottomSheet
|
onClickToOpenDownloadBottomSheet
|
||||||
}: SmsPaymentListProps) => {
|
}: SmsPaymentListProps) => {
|
||||||
@@ -97,6 +98,9 @@ export const SmsPaymentList = ({
|
|||||||
alt={t('transaction.searchOptions')}
|
alt={t('transaction.searchOptions')}
|
||||||
onClick={onClickToOpenFilter}
|
onClick={onClickToOpenFilter}
|
||||||
/>
|
/>
|
||||||
|
{filterUsed &&
|
||||||
|
<span className="notification-badge2"></span>
|
||||||
|
}
|
||||||
</button>
|
</button>
|
||||||
<button className="download-btn">
|
<button className="download-btn">
|
||||||
<img
|
<img
|
||||||
@@ -110,7 +114,6 @@ export const SmsPaymentList = ({
|
|||||||
}
|
}
|
||||||
<section
|
<section
|
||||||
className="transaction-list"
|
className="transaction-list"
|
||||||
style={{ height: (listHeight > 0)? listHeight + 'px': 'unset' }}
|
|
||||||
>
|
>
|
||||||
{getListDateGroup()}
|
{getListDateGroup()}
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@@ -291,6 +291,7 @@ export const AccountHolderAuthPage = () => {
|
|||||||
listItems={listItems}
|
listItems={listItems}
|
||||||
mid={mid}
|
mid={mid}
|
||||||
setDetailData={setDetailData}
|
setDetailData={setDetailData}
|
||||||
|
filterUsed={ filterUsed }
|
||||||
onClickToOpenFilter={ onClickToOpenFilter }
|
onClickToOpenFilter={ onClickToOpenFilter }
|
||||||
onClickToOpenDownloadBottomSheet={ onClickToOpenDownloadBottomSheet }
|
onClickToOpenDownloadBottomSheet={ onClickToOpenDownloadBottomSheet }
|
||||||
></AccountHolderAuthList>
|
></AccountHolderAuthList>
|
||||||
|
|||||||
@@ -311,6 +311,7 @@ export const AccountHolderSearchPage = () => {
|
|||||||
listItems={listItems}
|
listItems={listItems}
|
||||||
mid={mid}
|
mid={mid}
|
||||||
setDetailData={setDetailData}
|
setDetailData={setDetailData}
|
||||||
|
filterUsed={filterUsed}
|
||||||
onClickToOpenFilter={ onClickToOpenFilter }
|
onClickToOpenFilter={ onClickToOpenFilter }
|
||||||
onClickToOpenDownloadBottomSheet={ onClickToOpenDownloadBottomSheet }
|
onClickToOpenDownloadBottomSheet={ onClickToOpenDownloadBottomSheet }
|
||||||
></AccountHolderSearchList>
|
></AccountHolderSearchList>
|
||||||
|
|||||||
@@ -324,16 +324,24 @@ export const AlimtalkListPage = () => {
|
|||||||
let heightList = GetListHeight();
|
let heightList = GetListHeight();
|
||||||
setListHeight(heightList.listHeight);
|
setListHeight(heightList.listHeight);
|
||||||
|
|
||||||
|
// DOM이 렌더링된 후에 이벤트 리스너 등록
|
||||||
|
const timer = setTimeout(() => {
|
||||||
let tabContent = document.querySelector('.tab-content');
|
let tabContent = document.querySelector('.tab-content');
|
||||||
tabContent?.addEventListener('scroll', (e: Event) => {
|
|
||||||
|
const handleScroll = (e: Event) => {
|
||||||
setScrollAction(e, setGroupDate, setGroupDateOn);
|
setScrollAction(e, setGroupDate, setGroupDateOn);
|
||||||
});
|
};
|
||||||
|
|
||||||
|
tabContent?.addEventListener('scroll', handleScroll);
|
||||||
|
|
||||||
|
return () => {
|
||||||
|
tabContent?.removeEventListener('scroll', handleScroll);
|
||||||
|
};
|
||||||
|
}, 100);
|
||||||
|
|
||||||
return () => {
|
return () => {
|
||||||
ListScrollOn(false);
|
ListScrollOn(false);
|
||||||
tabContent?.removeEventListener('scroll', (e: Event) => {
|
clearTimeout(timer);
|
||||||
setScrollAction(e, setGroupDate, setGroupDateOn);
|
|
||||||
});
|
|
||||||
};
|
};
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
@@ -393,6 +401,9 @@ export const AlimtalkListPage = () => {
|
|||||||
alt={t('transaction.searchOptions')}
|
alt={t('transaction.searchOptions')}
|
||||||
onClick={ onClickToOpenFilter }
|
onClick={ onClickToOpenFilter }
|
||||||
/>
|
/>
|
||||||
|
{ filterUsed &&
|
||||||
|
<span className="notification-badge2"></span>
|
||||||
|
}
|
||||||
</button>
|
</button>
|
||||||
<button className="download-btn">
|
<button className="download-btn">
|
||||||
<img
|
<img
|
||||||
|
|||||||
@@ -321,6 +321,7 @@ export const ArsListPage = () => {
|
|||||||
listItems={listItems}
|
listItems={listItems}
|
||||||
mid={mid}
|
mid={mid}
|
||||||
setDetailData={setDetailData}
|
setDetailData={setDetailData}
|
||||||
|
filterUsed={filterUsed}
|
||||||
onClickToOpenFilter={onClickToOpenFilter}
|
onClickToOpenFilter={onClickToOpenFilter}
|
||||||
onClickToOpenDownloadBottomSheet={onClickToOpenDownloadBottomSheet}
|
onClickToOpenDownloadBottomSheet={onClickToOpenDownloadBottomSheet}
|
||||||
></ArsList>
|
></ArsList>
|
||||||
|
|||||||
@@ -356,6 +356,9 @@ export const FaceAuthPage = () => {
|
|||||||
alt={t('transaction.searchOptions')}
|
alt={t('transaction.searchOptions')}
|
||||||
onClick={onClickToOpenFilter}
|
onClick={onClickToOpenFilter}
|
||||||
/>
|
/>
|
||||||
|
{ filterUsed &&
|
||||||
|
<span className="notification-badge2"></span>
|
||||||
|
}
|
||||||
</button>
|
</button>
|
||||||
<button className="download-btn">
|
<button className="download-btn">
|
||||||
<img
|
<img
|
||||||
|
|||||||
@@ -289,6 +289,7 @@ export const KeyInPaymentPage = () => {
|
|||||||
listItems={listItems}
|
listItems={listItems}
|
||||||
additionalServiceCategory={AdditionalServiceCategory.KeyInPayment}
|
additionalServiceCategory={AdditionalServiceCategory.KeyInPayment}
|
||||||
mid={mid}
|
mid={mid}
|
||||||
|
filterUsed={filterUsed}
|
||||||
onClickToOpenFilter={ onClickToOpenFilter }
|
onClickToOpenFilter={ onClickToOpenFilter }
|
||||||
onClickToOpenDownloadBottomSheet={ onClickToOpenDownloadBottomSheet }
|
onClickToOpenDownloadBottomSheet={ onClickToOpenDownloadBottomSheet }
|
||||||
></KeyInPaymentList>
|
></KeyInPaymentList>
|
||||||
|
|||||||
@@ -331,6 +331,7 @@ export const PayoutListPage = () => {
|
|||||||
searchDateType={searchDateType}
|
searchDateType={searchDateType}
|
||||||
mid={mid}
|
mid={mid}
|
||||||
setDetailData={setDetailData}
|
setDetailData={setDetailData}
|
||||||
|
filterUsed={filterUsed}
|
||||||
onClickToOpenFilter={onClickToOpenFilter}
|
onClickToOpenFilter={onClickToOpenFilter}
|
||||||
onClickToOpenDownloadBottomSheet={onClickToOpenDownloadBottomSheet}
|
onClickToOpenDownloadBottomSheet={onClickToOpenDownloadBottomSheet}
|
||||||
></PayoutList>
|
></PayoutList>
|
||||||
|
|||||||
@@ -278,6 +278,7 @@ export const SmsPaymentPage = () => {
|
|||||||
additionalServiceCategory={AdditionalServiceCategory.SMSPayment}
|
additionalServiceCategory={AdditionalServiceCategory.SMSPayment}
|
||||||
mid={mid}
|
mid={mid}
|
||||||
onResendClick={onClickToShowDetail}
|
onResendClick={onClickToShowDetail}
|
||||||
|
filterUsed={filterUsed}
|
||||||
onClickToOpenFilter={ onClickToOpenFilter }
|
onClickToOpenFilter={ onClickToOpenFilter }
|
||||||
onClickToOpenDownloadBottomSheet={ onClickToOpenDownloadBottomSheet }
|
onClickToOpenDownloadBottomSheet={ onClickToOpenDownloadBottomSheet }
|
||||||
></SmsPaymentList>
|
></SmsPaymentList>
|
||||||
|
|||||||
Reference in New Issue
Block a user