From 48fe1251453b0cf99fff6b622a8b0fc690c10c25 Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Thu, 8 Jan 2026 10:43:11 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9A=90=E8=97=8F=E9=83=A8=E5=88=86=E6=A8=A1?= =?UTF-8?q?=E5=9D=97=E3=80=81=E6=98=BE=E7=A4=BA=E5=BA=94=E7=94=A8=E5=9C=BA?= =?UTF-8?q?=E6=99=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/factory/components/Feature/index.jsx | 6 ++---- src/factory/index.jsx | 12 ++++++------ src/factory/resource/factoryVersion/index.jsx | 4 ++-- src/factory/resource/factoryVersion/index.scss | 2 +- 4 files changed, 11 insertions(+), 13 deletions(-) diff --git a/src/factory/components/Feature/index.jsx b/src/factory/components/Feature/index.jsx index 35b8bd347..26b151104 100644 --- a/src/factory/components/Feature/index.jsx +++ b/src/factory/components/Feature/index.jsx @@ -95,7 +95,7 @@ function Feature(props) { -
+ {/*

软件工厂标准(众创版本)

@@ -115,9 +115,7 @@ function Feature(props) { }) }
- {/* - */} -
+ */} diff --git a/src/factory/index.jsx b/src/factory/index.jsx index 0f1c2d378..8e595bb50 100644 --- a/src/factory/index.jsx +++ b/src/factory/index.jsx @@ -31,7 +31,7 @@ function Index(props) { const contentRef = useRef(null); const bannerRef = useRef(null); const resourceRef = useRef(null); - const resource2Ref = useRef(null); + // const resource2Ref = useRef(null); const [isVisible, setIsVisible] = useState(false); const [banner2isVisible, setBanner2IsVisible] = useState(false); const [firstV, setFirstV] = useState(true) @@ -101,8 +101,8 @@ function Index(props) { useEffect(() => { const resource = resourceRef.current; - const resource2 = resource2Ref.current; - if (!resource || !resource2) return; + // const resource2 = resource2Ref.current; + if (!resource) return; const cleanup = []; const pinContainer = ScrollTrigger.create({ @@ -119,7 +119,7 @@ function Index(props) { return () => { cleanup.forEach(fn => fn()); }; - }, [resourceRef, resource2Ref]); + }, [resourceRef]); const setupScrollListeners = () => { window.addEventListener('scroll', helpScroll); @@ -244,8 +244,8 @@ function Index(props) { - - {/* */} + {/* */} + ) } diff --git a/src/factory/resource/factoryVersion/index.jsx b/src/factory/resource/factoryVersion/index.jsx index c19c70183..1cefd4670 100644 --- a/src/factory/resource/factoryVersion/index.jsx +++ b/src/factory/resource/factoryVersion/index.jsx @@ -79,7 +79,7 @@ function Index(props) { }) } -
+ {/*

用户手册

@@ -101,7 +101,7 @@ function Index(props) { }) }
-
+
*/}
) } diff --git a/src/factory/resource/factoryVersion/index.scss b/src/factory/resource/factoryVersion/index.scss index 8ef1b584c..a1e4d1ff4 100644 --- a/src/factory/resource/factoryVersion/index.scss +++ b/src/factory/resource/factoryVersion/index.scss @@ -35,7 +35,7 @@ display: flex; margin-top: 59px; justify-content: flex-start; - margin-bottom: 90px; + overflow-x: auto; .version-item { width: 448px;