From 75dbf3c723682201756b21e4d9347ad73fb72654 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AB=98=E6=B5=A9=E7=84=B6?= <14639330+albert2024@user.noreply.gitee.com> Date: Tue, 2 Sep 2025 00:06:07 +0800 Subject: [PATCH] =?UTF-8?q?[BugFix]=E4=BF=AE=E5=A4=8Dbugs.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit N/A Signed-off-by: 高浩然 <14639330+albert2024@user.noreply.gitee.com> --- src/components/FutureVision.jsx | 51 +++++++-------------------------- 1 file changed, 10 insertions(+), 41 deletions(-) diff --git a/src/components/FutureVision.jsx b/src/components/FutureVision.jsx index 4a2fbe3..d8b6926 100644 --- a/src/components/FutureVision.jsx +++ b/src/components/FutureVision.jsx @@ -1,22 +1,9 @@ -import React, { useRef } from 'react'; +import React from 'react'; import { motion } from 'framer-motion'; -import { Rocket, Eye, Bot, TrendingUp, Play, Pause } from 'lucide-react'; -import futureVideo from '../assets/ai_medical_assistant_combined.mp4'; +import { Rocket, Eye, Bot, TrendingUp } from 'lucide-react'; +import futureImage from '../assets/ai_medical_assistant_scene1.png'; const FutureVision = () => { - const videoRef = useRef(null); - const [isPlaying, setIsPlaying] = React.useState(false); - - const toggleVideo = () => { - if (videoRef.current) { - if (isPlaying) { - videoRef.current.pause(); - } else { - videoRef.current.play(); - } - setIsPlaying(!isPlaying); - } - }; const features = [ { @@ -63,39 +50,21 @@ const FutureVision = () => { viewport={{ once: true }} transition={{ duration: 0.6 }} > - {/* 视频展示区域 */} + {/* 图片展示区域 */} - + /> - {/* 视频控制覆盖层 */} -
- - {isPlaying ? : } - -
- - {/* 视频标题覆盖层 */} + {/* 图片标题覆盖层 */}
-

AI医疗助手演示视频

+

AI医疗助手场景展示

展示未来智能医疗系统的三大核心场景