From ce503dd9c259a8c87dece1538076fbc82fa432f0 Mon Sep 17 00:00:00 2001
From: caishi <1149225589@qq.com>
Date: Thu, 8 Jan 2026 11:02:22 +0800
Subject: [PATCH] =?UTF-8?q?=E6=92=A4=E5=9B=9E?=
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, 13 insertions(+), 11 deletions(-)
diff --git a/src/factory/components/Feature/index.jsx b/src/factory/components/Feature/index.jsx
index 60f202846..028097274 100644
--- a/src/factory/components/Feature/index.jsx
+++ b/src/factory/components/Feature/index.jsx
@@ -95,7 +95,7 @@ function Feature(props) {
- {/*
+
软件工厂标准(众创版本)
@@ -119,7 +119,9 @@ function Feature(props) {
})
}
-
*/}
+ {/*
+
*/}
+
diff --git a/src/factory/index.jsx b/src/factory/index.jsx
index 8e595bb50..0f1c2d378 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) return;
+ const resource2 = resource2Ref.current;
+ if (!resource || !resource2) return;
const cleanup = [];
const pinContainer = ScrollTrigger.create({
@@ -119,7 +119,7 @@ function Index(props) {
return () => {
cleanup.forEach(fn => fn());
};
- }, [resourceRef]);
+ }, [resourceRef, resource2Ref]);
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 25faa96da..950375667 100644
--- a/src/factory/resource/factoryVersion/index.jsx
+++ b/src/factory/resource/factoryVersion/index.jsx
@@ -79,7 +79,7 @@ function Index(props) {
})
}
- {/*
+
用户手册
@@ -105,7 +105,7 @@ function Index(props) {
})
}
-
*/}
+
)
}
diff --git a/src/factory/resource/factoryVersion/index.scss b/src/factory/resource/factoryVersion/index.scss
index a1e4d1ff4..8ef1b584c 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;
- overflow-x: auto;
+ margin-bottom: 90px;
.version-item {
width: 448px;