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;