feat: implement Redux store with slices for user, order, file, and printer management

- Added Redux store configuration in `src/store/index.ts`.
- Created slices for user, order, file, and printer with respective reducers and actions.
- Implemented custom hooks `useAppDispatch` and `useAppSelector` for typed Redux usage.
- Defined types for file, order, printer, and user in `src/types`.
- Added utility functions for formatting prices, file sizes, and dates in `src/utils`.
- Created common styles and animations in `src/styles` for consistent UI design.
- Integrated API request handling with token management in `src/utils/request.ts`.
- Implemented local storage management for user token and info in `src/utils/storage.ts`.
This commit is contained in:
Mikuisnotavailable
2026-03-30 23:19:43 +08:00
parent 96cfc609b2
commit a424d06731
69 changed files with 5555 additions and 106 deletions

10
src/pages/print/index.css Normal file
View File

@@ -0,0 +1,10 @@
page {
background-color: #f5f5f5;
}
.print-page {
padding: 30px;
text-align: center;
color: #666;
font-size: 28px;
}