"use client";
import React from "react";
import Container from "@mui/material/Container";
import Typography from "@mui/material/Typography";
import Box from "@mui/material/Box";
import Card from "@mui/material/Card";
import CardContent from "@mui/material/CardContent";
import CardHeader from "@mui/material/CardHeader";
import Button from "@mui/material/Button";
import MailIcon from "@mui/icons-material/Mail";
import SupportIcon from "@mui/icons-material/SupportAgent";
import CodeIcon from "@mui/icons-material/Code";
import WorkIcon from "@mui/icons-material/Work";
import useMediaQuery from "@mui/material/useMediaQuery";
import { useTheme } from "@mui/material/styles";
import ClientLayout from "../components/ClientLayout";
export default function SupportPage() {
const theme = useTheme();
const isMobile = useMediaQuery(theme.breakpoints.down('sm'));
const isMedium = useMediaQuery(theme.breakpoints.down('md'));
const handleEmailClick = () => {
window.location.href = 'mailto:leonmmcoset@outlook.com';
};
return (
{/* 页面标题 */}
技术支持服务
如果您在使用开源项目时遇到问题,或者需要外包项目开发,我们随时为您提供专业的技术支持
{/* 服务介绍卡片 */}
*': {
opacity: 0,
transform: 'translateY(30px)',
animation: 'fadeInUp 0.6s ease-out forwards'
},
'& > *:nth-child(1)': { animationDelay: '0.2s' },
'& > *:nth-child(2)': { animationDelay: '0.4s' },
'& > *:nth-child(3)': { animationDelay: '0.6s' }
}}
>
{/* 支持介绍卡片 */}
}
title="我们的服务"
titleTypographyProps={{
variant: 'h6',
fontWeight: 600
}}
/>
如果您在使用一些开源项目遇到问题,需要帮助或者是外包项目,欢迎联系我们。
我们将提供最优质的服务,确保您的问题得到及时解决。
{/* 价格卡片 */}
}
title="支持价格"
titleTypographyProps={{
variant: 'h6',
fontWeight: 600
}}
/>
普通技术支持:¥20每次
外包项目:¥40/项目(大型项目¥70/项目)
{/* 联系卡片 */}
}
title="联系我们"
titleTypographyProps={{
variant: 'h6',
fontWeight: 600
}}
/>
如有需求请通过以下方式联系我们,我们会尽快回复您的咨询。
}
onClick={handleEmailClick}
fullWidth
sx={{
py: 1.5,
borderRadius: '8px',
fontWeight: 600,
transition: 'all 0.3s ease',
'&:hover': {
transform: 'translateY(-2px)',
boxShadow: '0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)',
}
}}
>
发送邮件咨询
leonmmcoset@outlook.com
{/* 服务流程部分 */}
服务流程
*': {
opacity: 0,
transform: 'translateY(30px)',
animation: 'fadeInUp 0.6s ease-out forwards'
},
'& > *:nth-child(1)': { animationDelay: '0.2s' },
'& > *:nth-child(2)': { animationDelay: '0.4s' },
'& > *:nth-child(3)': { animationDelay: '0.6s' },
'& > *:nth-child(4)': { animationDelay: '0.8s' }
}}
>
{[1, 2, 3, 4].map((step) => {
// 确保stepData始终有值
const getStepData = (stepNum: number) => {
const data = {
1: { title: '提交需求', icon: },
2: { title: '确认方案', icon: },
3: { title: '执行服务', icon: },
4: { title: '完成交付', icon: }
};
return data[stepNum as keyof typeof data] || { title: '', icon: };
};
const stepData = getStepData(step);
return (
{React.cloneElement(stepData.icon as React.ReactElement<{ fontSize?: 'small' | 'medium' | 'large', color?: 'primary' | 'secondary' }>, {
fontSize: "large",
color: "primary"
})}
{stepData.title}
{step === 1 && '通过邮件描述您的技术问题或外包需求'}
{step === 2 && '我们确认服务细节和价格'}
{step === 3 && '专业团队为您提供技术支持或开发服务'}
{step === 4 && '完成服务并确保您满意'}
);
})}
{/* CTA 区域 */}
准备好获取技术支持了吗?
联系我们,让专业的技术团队为您解决问题
}
onClick={handleEmailClick}
sx={{
bgcolor: 'white',
color: theme.palette.primary.main,
px: 6,
py: 1.5,
borderRadius: '8px',
fontWeight: 700,
fontSize: '1.1rem',
transition: 'all 0.3s ease',
'&:hover': {
bgcolor: 'rgba(255,255,255,0.9)',
transform: 'translateY(-3px)',
boxShadow: '0 10px 25px -5px rgba(0, 0, 0, 0.2)'
}
}}
>
立即联系
);
}