-
-
-
+function HomePage({ t }) {
+ return (
+
+ {/* Hero Section */}
+
+
+
{t.hero.title}
+
{t.hero.subtitle}
+
+ {t.hero.cta}
+
+
+
+
+ {/* Services Section */}
+
+
+
{t.services.title}
+
+
+
+
{t.services.taxService}
+
高新技术企业认定、税收筹划等
+
+
+
+
{t.services.innovationPlatform}
+
国家企业技术中心、国家重点实验室等
+
+
+
+
{t.services.honorAwards}
+
科技进步奖、中国专利奖等
+
+
+
+
{t.services.specialFunds}
+
污染治理、节能减碳专项资金
+
+
+
+
{t.services.nationalRD}
+
科技部国家重点研发计划
+
+
+
+
{t.services.constructionQualification}
+
建筑业特级资质业务
+
+
+
+
+
+ );
+}
+
+function DigitalHumanPage({ t, language }) {
+ const [currentVideoIndex, setCurrentVideoIndex] = useState(0);
+ const [isPlaying, setIsPlaying] = useState(false);
+ const video = digitalHumanVideos[currentVideoIndex];
+
+ const handleNext = () => {
+ setCurrentVideoIndex((prev) => (prev + 1) % digitalHumanVideos.length);
+ setIsPlaying(false);
+ };
+
+ const handlePrev = () => {
+ setCurrentVideoIndex((prev) => (prev - 1 + digitalHumanVideos.length) % digitalHumanVideos.length);
+ setIsPlaying(false);
+ };
+
+ return (
+
+
+
{t.digitalHuman.title}
+
{t.digitalHuman.subtitle}
+
+
+
+ {isPlaying ? (
+
+
+
+
{video.title[language]}
+
{video.description[language]}
+
+
+
+
+
+ {digitalHumanVideos.map((_, index) => (
+
+ ))}
+
+
+
+
+
- {/* 欢迎语 */}
-
- 欢迎使用 TuringFlow
-
-
-
-
- {/* 按钮 */}
-
-
+
+ {digitalHumanVideos.map((v, index) => (
+
{
+ setCurrentVideoIndex(index);
+ setIsPlaying(false);
+ }}
+ >
+
![{v.title[language]}]({v.thumbnail})
+
+
{v.title[language]}
+
{v.description[language]}
+
+
+ ))}
+
);
}
+function AIAssistantPage({ t, language }) {
+ const [messages, setMessages] = useState([]);
+ const [inputMessage, setInputMessage] = useState('');
+ const [showContactForm, setShowContactForm] = useState(false);
+ const [contactInfo, setContactInfo] = useState({ name: '', phone: '', email: '' });
+
+ const handleSendMessage = () => {
+ if (!inputMessage.trim()) return;
+
+ const userMessage = { type: 'user', text: inputMessage };
+ setMessages([...messages, userMessage]);
+
+ // Simulate AI response
+ setTimeout(() => {
+ const responseKey = Object.keys(aiResponses[language]).find(key =>
+ inputMessage.toLowerCase().includes(key.toLowerCase()) ||
+ key.toLowerCase().includes(inputMessage.toLowerCase().split(' ')[0])
+ );
+
+ let aiResponse;
+ if (responseKey) {
+ aiResponse = aiResponses[language][responseKey];
+ } else {
+ aiResponse = language === 'zh' ? '抱歉,我暂时无法回答这个问题。您可以留下联系方式,我们的诚裕专业顾问会尽快与您联系。' :
+ language === 'en' ? 'Sorry, I cannot answer this question at the moment. You can leave your contact information and our Chengyu experts will contact you soon.' :
+ 'Xin lỗi, tôi không thể trả lời câu hỏi này ngay lúc này. Bạn có thể để lại thông tin liên hệ và chuyên gia Chengyu sẽ liên hệ với bạn sớm.';
+ setShowContactForm(true);
+ }
+
+ setMessages(prev => [...prev, { type: 'ai', text: aiResponse }]);
+ }, 1000);
+
+ setInputMessage('');
+ };
+
+ const handleContactSubmit = (e) => {
+ e.preventDefault();
+ alert(language === 'zh' ? '提交成功!诚裕专业顾问会尽快与您联系。' :
+ language === 'en' ? 'Submitted successfully! Chengyu experts will contact you soon.' :
+ 'Đã gửi thành công! Chuyên gia Chengyu sẽ liên hệ với bạn sớm.');
+ setContactInfo({ name: '', phone: '', email: '' });
+ setShowContactForm(false);
+ };
+
+ return (
+
+
+
{t.aiAssistant.title}
+
{t.aiAssistant.subtitle}
+
+
+
+ {messages.length === 0 && (
+
+
+
{t.aiAssistant.placeholder}
+
+ )}
+
+ {messages.map((message, index) => (
+
+ ))}
+
+
+
+
+ setInputMessage(e.target.value)}
+ onKeyPress={(e) => e.key === 'Enter' && handleSendMessage()}
+ placeholder={t.aiAssistant.placeholder}
+ className="flex-1 border border-gray-300 rounded-lg px-4 py-2 focus:outline-none focus:ring-2 focus:ring-blue-500"
+ />
+
+
+
+
+
+ {showContactForm && (
+
+
{t.aiAssistant.contactTitle}
+
{t.aiAssistant.contactSubtitle}
+
+
+
+ )}
+
+
+ );
+}
+
+function ServicesPage({ t }) {
+ const services = [
+ {
+ icon: DollarSign,
+ title: t.services.taxService,
+ description: '以高新认定、税收筹划等为主的财税服务',
+ details: ['高新技术企业认定', '税收筹划咨询', '财税合规服务']
+ },
+ {
+ icon: Lightbulb,
+ title: t.services.innovationPlatform,
+ description: '国家企业技术中心、国家重点实验室等科技创新平台',
+ details: ['国家企业技术中心', '国家工程研究中心', '国家重点实验室']
+ },
+ {
+ icon: Award,
+ title: t.services.honorAwards,
+ description: '各级科技进步奖、中国专利奖等荣誉奖项',
+ details: ['科技进步奖申报', '中国专利奖', '其他荣誉奖项']
+ },
+ {
+ icon: Target,
+ title: t.services.specialFunds,
+ description: '污染治理节能减碳、先进制造业发展等专项资金',
+ details: ['污染治理专项', '节能减碳专项', '先进制造业专项']
+ },
+ {
+ icon: Cpu,
+ title: t.services.nationalRD,
+ description: '科技部国家重点研发计划重点专项',
+ details: ['重点专项申报', '科研资金支持', '项目管理和咨询']
+ },
+ {
+ icon: Shield,
+ title: t.services.constructionQualification,
+ description: '建筑业特级资质业务',
+ details: ['特级资质申报', '资质升级咨询', '资质维护服务']
+ },
+ {
+ icon: TrendingUp,
+ title: t.services.investment,
+ description: '投融资业务',
+ details: ['投资咨询', '融资策划', '资本运作']
+ }
+ ];
+
+ return (
+
+
+
{t.services.title}
+
+
+ {services.map((service, index) => (
+
+
+
{service.title}
+
{service.description}
+
+ {service.details.map((detail, idx) => (
+ - • {detail}
+ ))}
+
+
+ ))}
+
+
+
+ );
+}
+
+function AboutPage() {
+ return (
+
+
+
关于诚裕集团
+
+
+
+
集团简介
+
+ 诚裕集团成立于2009年10月,注册资金10000万元,是一家专业的咨询服务集团。我们拥有近200人的专业服务团队,400家长久合作伙伴,其中上市公司、央企集团公司、地方国企及其二三级子公司客户近300家,客户遍布全国近三十个省(自治区、直辖市)。
+
+
+
+
+
发展历程
+
+ - • 2009年10月 - 诚裕集团成立,注册资金10000万元
+ - • 2010年 - 成为北京市科委科技经费审计合格机构
+ - • 2012年 - 连续三年成为市科委国高新技术企业认定咨询机构
+ - • 2015年 - 海淀园高新技术企业认定专业辅导机构
+ - • 2018年 - 服务网络覆盖全国近三十个省(自治区、直辖市)
+ - • 2021年 - 近200人专业服务团队,400家长久合作伙伴
+ - • 2024年 - 近300家上市、央企、国企客户,业内良好声誉
+
+
+
+
+
组织架构
+
+
+
子公司
+
+ - • 海南诚裕助新科技发展有限公司
+ - • 诚裕助新科技发展有限公司广西分公司
+ - • 河南诚裕助新科技发展有限公司
+ - • 陕西诚裕助新科技发展有限公司
+ - • 山西诚裕助新科技发展有限公司
+
+
+
+
成员企业
+
+ - • 海南本久企业管理合伙企业(有限合伙)
+ - • 北京创高助新会计师事务所(普通合伙)
+ - • 中准会计师事务所(特殊普通合伙)河南分所
+ - • 北京创高铁研科技发展有限公司
+
+
+
+
+
+
+
企业文化
+
+
+
使命
+
为上市公司、央企、地方国企等大型公司提供专业的咨询服务,助力企业发展壮大。
+
+
+
愿景
+
成为业内最受信赖的咨询服务集团,引领行业发展。
+
+
+
+
+
+
+
+
+ );
+}
+
+function ContactPage() {
+ return (
+
+
+
联系我们
+
+
+
+
联系信息
+
+
+
+
+
+
+
+
+
+
电子邮箱
+
service@chengyu-group.com
+
+
+
+
+
+
+
官方网站
+
www.chengyu-group.com
+
+
+
+
+
+
工作时间
+
周一至周五:9:00 - 18:00
+
周六至周日:9:00 - 17:00
+
节假日:请提前预约
+
+
+
+
+
+
+
+ );
+}
+
+function App() {
+ const [language, setLanguage] = useState('zh');
+ const [mobileMenuOpen, setMobileMenuOpen] = useState(false);
+ const t = translations[language];
+
+ return (
+
+
+
+
+
+
+ } />
+ } />
+ } />
+ } />
+ } />
+ } />
+
+
+
+
+
+
+ );
+}
+
export default App;