diff --git a/src/forge/Information/Component/contributor.jsx b/src/forge/Information/Component/contributor.jsx
index 7cf893014..79f5ce294 100644
--- a/src/forge/Information/Component/contributor.jsx
+++ b/src/forge/Information/Component/contributor.jsx
@@ -4,7 +4,7 @@ import { Link } from 'react-router-dom';
const settings = {
dots: true,
- infinite: true,
+ infinite: false,
speed: 500,
slidesToShow: 3,
slidesToScroll: 3,
diff --git a/src/forge/Information/Component/projects.jsx b/src/forge/Information/Component/projects.jsx
index 83f8195ab..65301e097 100644
--- a/src/forge/Information/Component/projects.jsx
+++ b/src/forge/Information/Component/projects.jsx
@@ -4,23 +4,25 @@ import projectRight from '../img/projectRight.png';
import projectLeft from '../img/projectLeft.png';
function SampleNextArrow(props) {
- const { className, style } = props;
+ const { className, style, onClick } = props;
return (
-
+
);
}
function SamplePrevArrow(props) {
- const { className, style } = props;
+ const { className, style, onClick } = props;
return (
-
+
);
}
+
const settings = {
className: "center",
centerMode: true,
+ infinite: false,
centerPadding: "100px",
slidesToShow: 3,
speed: 500,
@@ -40,7 +42,7 @@ function Projects(props) {
projectList.map((i,k)=>{
return(
{i.projectProperties && i.projectProperties.name}
{i.projectProperties && i.projectProperties.description ? i.projectProperties.description : "暂无~"}
diff --git a/src/forge/Information/indexZone1.scss b/src/forge/Information/indexZone1.scss index 55c290032..c37b4370c 100644 --- a/src/forge/Information/indexZone1.scss +++ b/src/forge/Information/indexZone1.scss @@ -211,6 +211,7 @@ width: 48px; height: 48px; left: 0; + z-index: 100; } .slick-track { display: flex;