Files
fe_service_ebtp_frontend/src/pages/BidEvaluation/components/CommitmentModal.tsx
2022-03-10 14:24:13 +08:00

49 lines
3.0 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import React from 'react';
import { Button, Modal } from 'antd';
interface CommitmentModalProps {
modalVisible: boolean;
onCancel: () => void;
}
const modalHeight = (window.innerHeight * 96) / 100;
const CommitmentModal: React.FC<CommitmentModalProps> = (props) => {
const { modalVisible, onCancel } = props;
return (
<Modal
destroyOnClose
visible={modalVisible}
onCancel={() => onCancel()}
title="评标专家承诺书"
width={'60%'}
style={{ maxHeight: modalHeight }}
bodyStyle={{ maxHeight: modalHeight - 107, overflowY: 'auto',padding: '0px 24px 24px' }}
centered
footer={[<Button onClick={() => onCancel()}></Button>]}
>
<div style={{textAlign: 'center'}}>
<h3 style={{ fontSize: 24, fontWeight: 600,lineHeight: '88px'}}></h3>
<p style={{textAlign: 'left'}}>
<p className="CM_span"></p><br />
<p className="CM_span"></p><br />
<p className="CM_span"></p><br />
<p className="CM_span"></p><br />
<p className="CM_span"></p><br />
<p className="CM_span"> </p><br />
<p className="CM_span"></p><br />
<p className="CM_span"></p><br />
<p className="CM_span"> </p><br />
<p className="CM_span">(1)</p><br />
<p className="CM_span">(2)</p><br />
<p className="CM_span">(3)</p><br />
<p className="CM_span">(4)</p><br />
</p>
</div>
</Modal>
);
};
export default CommitmentModal;