diff --git a/src/pages/PublicNotice/Details_Public/ApplicationDetailCard.js b/src/pages/PublicNotice/Details_Public/ApplicationDetailCard.js index 1b193f2..2e44798 100644 --- a/src/pages/PublicNotice/Details_Public/ApplicationDetailCard.js +++ b/src/pages/PublicNotice/Details_Public/ApplicationDetailCard.js @@ -168,8 +168,9 @@ const ApplicationDetailCard = ( color="edit" disabled={currentApplicationDetailData.status !== "submitted"} title={"取消"} + startIcon={} > - + 取消 @@ -526,8 +527,8 @@ const ApplicationDetailCard = ( onClick={onDownloadClick()} title="下載" color="save" + startIcon={} > - 下載 diff --git a/src/pages/PublicNotice/ListPanel/PendingPaymentTab.js b/src/pages/PublicNotice/ListPanel/PendingPaymentTab.js index 1328f0a..4608213 100644 --- a/src/pages/PublicNotice/ListPanel/PendingPaymentTab.js +++ b/src/pages/PublicNotice/ListPanel/PendingPaymentTab.js @@ -19,7 +19,8 @@ import { useNavigate } from "react-router-dom"; import { isORGLoggedIn, } from "utils/Utils"; -import {useTheme} from "@emotion/react"; +import {ThemeProvider, useTheme} from "@emotion/react"; +import {PNSPS_BUTTON_THEME} from "../../../themes/buttonConst"; // ==============================|| EVENT TABLE ||============================== // export default function SubmittedTab({ rows }) { @@ -306,14 +307,34 @@ export default function SubmittedTab({ rows }) { onRowDoubleClick={handleRowDoubleClick} getRowHeight={() => 'auto'} /> -
- + + + +
- setIsPopUp(false)} > - - 確認付款 + setIsPopUp(false)} + PaperProps={{ + sx: { + minWidth: '40vw', + maxWidth: { xs: '90vw', s: '90vw', m: '70vw', lg: '30vw' }, + maxHeight: { xs: '90vh', s: '70vh', m: '70vh', lg: '50vh' } + } + }} + > + + 確認付款 + {getWindowContent()} diff --git a/src/pages/PublicNotice/ListPanel/SearchPublicNoticeTab.js b/src/pages/PublicNotice/ListPanel/SearchPublicNoticeTab.js index 4723a7a..288731a 100644 --- a/src/pages/PublicNotice/ListPanel/SearchPublicNoticeTab.js +++ b/src/pages/PublicNotice/ListPanel/SearchPublicNoticeTab.js @@ -47,17 +47,18 @@ const UserSearchPage_Individual = () => { return ( {/*row 1*/} - + {/*row 2*/} - + { - + diff --git a/src/themes/buttonConst.js b/src/themes/buttonConst.js index 8fd3068..07a00d7 100644 --- a/src/themes/buttonConst.js +++ b/src/themes/buttonConst.js @@ -52,6 +52,14 @@ export const PNSPS_BUTTON_THEME = createTheme({ }, MuiButton: { styleOverrides: { + startIcon:{ + display: 'flex', + alignItems: 'center', + justifyContent: 'center', + '& > *:nth-of-type(1)': { + fontSize: '28px', + }, + }, root: { fontSize: '1.2rem', fontWeight: '600', @@ -67,9 +75,7 @@ export const PNSPS_BUTTON_THEME = createTheme({ width: '9vw', }, textTransform: "none", - display: 'flex', - alignItems: 'center', - justifyContent: 'center', + alignItems: 'normal', }, }, }, @@ -128,6 +134,14 @@ export const PNSPS_LONG_BUTTON_THEME = createTheme({ }, MuiButton: { styleOverrides: { + startIcon:{ + display: 'flex', + alignItems: 'center', + justifyContent: 'center', + '& > *:nth-of-type(1)': { + fontSize: '28px', + }, + }, root: { fontSize: '1.2rem', fontWeight: '600', @@ -143,9 +157,7 @@ export const PNSPS_LONG_BUTTON_THEME = createTheme({ width: '16vw', }, textTransform: "none", - display: 'flex', - alignItems: 'center', - justifyContent: 'center', + alignItems: 'normal', }, }, },