import React, { useState } from 'react'; import { Brain, Users, Calendar, TrendingUp, X, User, Lock } from 'lucide-react'; import apiClient from '../utils/apiClient'; import { buildApiUrl, API_ENDPOINTS } from '../config/api'; import './HomePage.css'; const HomePage = ({ onLogin }) => { const [showLoginModal, setShowLoginModal] = useState(false); const [loginForm, setLoginForm] = useState({ username: '', password: '' }); const [loginError, setLoginError] = useState(''); const [isLoading, setIsLoading] = useState(false); const handleLogin = async (e) => { e.preventDefault(); setIsLoading(true); setLoginError(''); try { const response = await apiClient.post(buildApiUrl(API_ENDPOINTS.AUTH.LOGIN), loginForm); onLogin(response.data); setShowLoginModal(false); } catch (error) { setLoginError(error.response?.data?.detail || '登录失败,请重试'); } finally { setIsLoading(false); } }; const handleInputChange = (e) => { setLoginForm({ ...loginForm, [e.target.name]: e.target.value }); }; const closeModal = () => { setShowLoginModal(false); setLoginForm({ username: '', password: '' }); setLoginError(''); }; return (
通过AI技术,将会议音视频转化为结构化信息,提升团队协作效率
自动将会议音频转为文字,并识别不同发言人
轻松管理会议参与者,追踪会议参与情况
按时间顺序展示所有会议,快速回顾历史记录
AI自动生成会议摘要,提取关键信息和决策
开通业务账号:
请联系平台管理员