awa
This commit is contained in:
@@ -72,23 +72,11 @@ const ProDialog = ({ open, onClose }: ProDialogProps) => {
|
|||||||
>
|
>
|
||||||
<DialogContent>
|
<DialogContent>
|
||||||
<Typography variant="body1" color="text.secondary">
|
<Typography variant="body1" color="text.secondary">
|
||||||
{t("pro.description")}
|
Cloudreve的sb pro玩意
|
||||||
</Typography>
|
|
||||||
|
|
||||||
<Typography variant="body1" fontWeight={600} sx={{ mt: 2 }}>
|
|
||||||
{t("pro.proInclude")}
|
|
||||||
</Typography>
|
</Typography>
|
||||||
|
|
||||||
<List dense>
|
<List dense>
|
||||||
{features.map((feature) => (
|
<ListItem>
|
||||||
<ListItem key={feature}>
|
|
||||||
<ListItemIcon
|
|
||||||
sx={{
|
|
||||||
minWidth: "36px",
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
<CheckmarkCircleFilled color="primary" />
|
|
||||||
</ListItemIcon>
|
|
||||||
<ListItemText
|
<ListItemText
|
||||||
slotProps={{
|
slotProps={{
|
||||||
primary: {
|
primary: {
|
||||||
@@ -97,10 +85,21 @@ const ProDialog = ({ open, onClose }: ProDialogProps) => {
|
|||||||
},
|
},
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{t(`pro.${feature}`)}
|
谁用Pro我骂谁
|
||||||
|
</ListItemText>
|
||||||
|
</ListItem>
|
||||||
|
<ListItem>
|
||||||
|
<ListItemText
|
||||||
|
slotProps={{
|
||||||
|
primary: {
|
||||||
|
sx: {},
|
||||||
|
variant: "body1",
|
||||||
|
},
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
写代码程序猿万岁!
|
||||||
</ListItemText>
|
</ListItemText>
|
||||||
</ListItem>
|
</ListItem>
|
||||||
))}
|
|
||||||
</List>
|
</List>
|
||||||
{showPromotion && (
|
{showPromotion && (
|
||||||
<Alert
|
<Alert
|
||||||
@@ -128,11 +127,8 @@ const ProDialog = ({ open, onClose }: ProDialogProps) => {
|
|||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Button variant="outlined" color="primary" onClick={onClose}>
|
<Button variant="outlined" color="primary" onClick={onClose}>
|
||||||
{t("pro.later")}
|
好的,我现在就写代码
|
||||||
</Button>
|
</Button>
|
||||||
<StyledButton onClick={openMore} variant="contained" color="primary">
|
|
||||||
{t("pro.learnMore")}
|
|
||||||
</StyledButton>
|
|
||||||
</StyledDialogActions>
|
</StyledDialogActions>
|
||||||
</DraggableDialog>
|
</DraggableDialog>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user