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:
10
src/pages/print/index.css
Normal file
10
src/pages/print/index.css
Normal file
@@ -0,0 +1,10 @@
|
||||
page {
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
|
||||
.print-page {
|
||||
padding: 30px;
|
||||
text-align: center;
|
||||
color: #666;
|
||||
font-size: 28px;
|
||||
}
|
||||
Reference in New Issue
Block a user