탭 모션 적용

This commit is contained in:
2025-07-16 18:38:38 +09:00
parent 943b146496
commit 7fa9abcad4
5 changed files with 15 additions and 33 deletions

View File

@@ -22,6 +22,7 @@ import {
import ExcelExportButton from '../common/button/ExcelExportButton';
import CircularProgress from '../common/CircularProgress';
import { GameCurrencyItemLogExport } from '../../apis';
import { AnimatedPageWrapper } from '../common/Layout';
const CurrencyItemLogContent = ({ active }) => {
const { t } = useTranslation();
@@ -85,7 +86,7 @@ const CurrencyItemLogContent = ({ active }) => {
if(!active) return null;
return (
<>
<AnimatedPageWrapper>
<FormWrapper>
<CurrencyItemLogSearchBar
searchParams={searchParams}
@@ -161,7 +162,7 @@ const CurrencyItemLogContent = ({ active }) => {
<TopButton />
</>
}
</>
</AnimatedPageWrapper>
);
};
export default CurrencyItemLogContent;

View File

@@ -21,6 +21,7 @@ import {
} from '../../assets/data/adminConstants';
import ExcelExportButton from '../common/button/ExcelExportButton';
import CircularProgress from '../common/CircularProgress';
import { AnimatedPageWrapper } from '../common/Layout';
const CurrencyLogContent = ({ active }) => {
const { t } = useTranslation();
@@ -83,7 +84,7 @@ const CurrencyLogContent = ({ active }) => {
if(!active) return null;
return (
<>
<AnimatedPageWrapper>
<FormWrapper>
<CurrencyLogSearchBar
searchParams={searchParams}
@@ -159,7 +160,7 @@ const CurrencyLogContent = ({ active }) => {
<TopButton />
</>
}
</>
</AnimatedPageWrapper>
);
};
export default CurrencyLogContent;

View File

@@ -22,6 +22,7 @@ import {
import ExcelExportButton from '../common/button/ExcelExportButton';
import CircularProgress from '../common/CircularProgress';
import { countDeltaType, itemTypeLarge } from '../../assets/data/options';
import { AnimatedPageWrapper } from '../common/Layout';
const CurrencyLogContent = ({ active }) => {
const { t } = useTranslation();
@@ -86,7 +87,7 @@ const CurrencyLogContent = ({ active }) => {
if(!active) return null;
return (
<>
<AnimatedPageWrapper>
<FormWrapper>
<ItemLogSearchBar
searchParams={searchParams}
@@ -164,7 +165,7 @@ const CurrencyLogContent = ({ active }) => {
<TopButton />
</>
}
</>
</AnimatedPageWrapper>
);
};
export default CurrencyLogContent;

View File

@@ -16,6 +16,7 @@ import CircularProgress from '../common/CircularProgress';
import { useTranslation } from 'react-i18next';
import CurrencyIndexSearchBar from '../searchBar/CurrencyIndexSearchBar';
import { useNavigate } from 'react-router-dom';
import { AnimatedPageWrapper } from '../common/Layout';
const CreditContent = () => {
const { t } = useTranslation();
@@ -112,7 +113,7 @@ const CreditContent = () => {
}
return (
<>
<AnimatedPageWrapper>
<FormWrapper>
<CurrencyIndexSearchBar
searchParams={searchParams}
@@ -214,7 +215,7 @@ const CreditContent = () => {
<TopButton />
</>
}
</>
</AnimatedPageWrapper>
);
};

View File

@@ -10,6 +10,7 @@ import Loading from '../common/Loading';
import { ExcelDownButton } from '../common';
import { useTranslation } from 'react-i18next';
import { formatStringDate } from '../../utils';
import { AnimatedPageWrapper } from '../common/Layout';
const UserContent = () => {
const token = sessionStorage.getItem('token');
@@ -24,20 +25,6 @@ const UserContent = () => {
const [dataList, setDataList] = useState([]);
const [resultData, setResultData] = useState([]);
// const [sendDate, setSendDate] = useState(START_DATE);
// const [finishDate, setFinishDate] = useState(END_DATE);
const headers = [
{key: 'date', label: '일자'},
{key: 'nru', label: 'NRU'},
{key: 'ugqCreate', label: '일자'},
{key: 'dglc', label: '일자'},
{key: 'dau', label: '일자'},
{key: 'mcu', label: '일자'},
{key: 'date', label: '일자'},
{key: 'date', label: '일자'},
]
useEffect(() => {
fetchData(START_DATE, END_DATE);
}, []);
@@ -54,8 +41,6 @@ const UserContent = () => {
setLoading(false);
});
// setSendDate(startDateToLocal);
// setFinishDate(endDateToLocal);
};
// 검색 함수
@@ -63,14 +48,8 @@ const UserContent = () => {
fetchData(send_dt, end_dt);
};
// 엑셀 다운로드
// const handleXlsxExport = () => {
// const fileName = 'Caliverse_User_Index.xlsx';
// userIndexExport(token, fileName, sendDate, finishDate);
// };
return (
<>
<AnimatedPageWrapper>
<DailyDashBoard />
<UserIndexSearchBar setResultData={setResultData} resultData={resultData} handleSearch={handleSearch} fetchData={fetchData} />
<TableInfo>
@@ -125,8 +104,7 @@ const UserContent = () => {
</tbody>
</TableStyle>
</IndexTableWrap>
{loading && <Loading/>}
</>
</AnimatedPageWrapper>
);
};