{list.map((item, index) => {
return (
@@ -128,7 +175,8 @@ const CourseCom: React.FC = () => {
style={{ borderLeft: index + 1 === list.length ? 'none' : '4px solid #31D0AA' }}
>
{index + 1}
-
+ {/* style={{ left: index % 2 ? '-420px' : '60px' }} */}
+
{item.title}
{item.list.map((childItem) => {
return (
@@ -142,7 +190,7 @@ const CourseCom: React.FC = () => {
)
})}
-