#
luxiaotao1123
2024-10-12 822d9d9494cc575c1bcdbaa51d68da817236c0b8
zy-acs-flow/src/map/settings/CopyDrawer.jsx
@@ -5,11 +5,12 @@
    Grid,
    Typography,
    TextField,
    Slider,
    Card,
    CardContent,
    Button,
    Select,
    MenuItem,
    InputLabel,
    useTheme,
    FormControl,
    Stack,
    Divider,
@@ -79,6 +80,9 @@
    const { open, onCancel, sprite, value, width = PAGE_DRAWER_WIDTH, handleOnCopy } = props;
    const notify = useNotification();
    const translate = useTranslate();
    const theme = useTheme();
    const themeMode = theme.palette.mode;
    const deviceType = sprite?.data?.type;
    const incrementOptions = incrementOptionsMap[deviceType]
@@ -137,6 +141,20 @@
                        </Stack>
                        <Box p={3}>
                            <Card sx={{
                                p: 2,
                                transition: '0.3s',
                                boxShadow: themeMode === 'light'
                                    ? '0px 2px 8px rgba(0, 0, 0, 0.1)'
                                    : '0px 2px 2px rgba(255, 255, 255, 0.1)',
                                '&:hover': {
                                    boxShadow: themeMode === 'light'
                                        ? '0px 4px 16px rgba(0, 0, 0, 0.2)'
                                        : '0px 4px 8px rgba(255, 255, 255, 0.2)',
                                },
                                borderRadius: '8px',
                            }}>
                                <CardContent>
                            <Box component="form" onSubmit={handleSubmit(onFormSubmit)} noValidate sx={{ mt: 0 }}>
                                <Grid container spacing={1.4}>
                                    <Grid item xs={6}>
@@ -304,6 +322,8 @@
                                </Grid>
                            </Box>
                                </CardContent>
                            </Card>
                        </Box>
                    </Box>
                )}