39 lines
1.3 KiB
JavaScript
39 lines
1.3 KiB
JavaScript
import React from 'react';
|
|
import DpTab from '../../../../layouts/mui/DpTab';
|
|
import Dialog from '@material-ui/core/Dialog';
|
|
import DialogContent from '@material-ui/core/DialogContent';
|
|
import DpPaperComponent from '../../../../layouts/mui/DpPaperCompanent';
|
|
import DpTabs from '../../../../layouts/mui/DpTabs';
|
|
import DpAppBar from '../../../../layouts/mui/DpAppBar';
|
|
import DpBackgroundDrop from '../../../../layouts/mui/DpBackdrop';
|
|
import DpCloseButton from '../../../../layouts/mui/DpCloseButton';
|
|
|
|
function HDStDlg({ record, onClose }) {
|
|
const [value, setValue] = React.useState(0);
|
|
|
|
return (
|
|
<Dialog
|
|
open={true}
|
|
onClose={onClose}
|
|
maxWidth="xl"
|
|
style={{ borderRadius: 0 }}
|
|
PaperComponent={DpPaperComponent}
|
|
BackdropComponent={DpBackgroundDrop}
|
|
>
|
|
<div className="boxhead"></div>
|
|
<DialogContent style={{ padding: 0, overflow:'hidden'}}>
|
|
<DpAppBar position="sticky">
|
|
<DpTabs value={value} indicatorColor="primary" onChange={(_, v) => setValue(v)}>
|
|
<DpTab label="明山水库" />
|
|
</DpTabs>
|
|
<DpCloseButton onClick={onClose} />
|
|
</DpAppBar>
|
|
<img src='/assets/ddcg.jpg' style={{width:'95vw', height:'90vh'}}/>
|
|
</DialogContent>
|
|
<div className="boxfoot"></div>
|
|
</Dialog>
|
|
)
|
|
}
|
|
|
|
export default React.memo(HDStDlg);
|