diff --git a/src/components/scrollAD/ScrollAd.tsx b/src/components/scrollAD/ScrollAd.tsx index 71c9037..54fbdd2 100644 --- a/src/components/scrollAD/ScrollAd.tsx +++ b/src/components/scrollAD/ScrollAd.tsx @@ -18,7 +18,8 @@ export default function ScrollAd(props:any) {
- {props.ad} + {props.ad} + {/* 广告11111111111111111111111112222222222222222222223333333333333 */}
diff --git a/src/components/scrollAD/scrollAd.css b/src/components/scrollAD/scrollAd.css index 22792f8..2049803 100644 --- a/src/components/scrollAD/scrollAd.css +++ b/src/components/scrollAD/scrollAd.css @@ -12,10 +12,10 @@ } .scrolling-ad-content { - + font-size: 16px; display: inline-block; padding-left: 100%; /* 确保广告从盒子外开始滚动 */ - animation: scrollLeft 10s linear infinite; /* 滚动动画,持续时间为10秒,线性匀速,无限循环 */ + animation: scrollLeft 25s linear infinite; /* 滚动动画,持续时间为25秒,线性匀速,无限循环 */ } @keyframes scrollLeft { diff --git a/src/route/index/Index.tsx b/src/route/index/Index.tsx index b42233f..fe3e4a9 100644 --- a/src/route/index/Index.tsx +++ b/src/route/index/Index.tsx @@ -4,7 +4,7 @@ import { MouseEvent, Reducer, useEffect, useReducer, useState } from "react"; import { useNavigate, useSearchParams, Outlet } from "react-router-dom"; import { IMenuListItem, IMenuWithTopButton } from "../../interfaces/menu/IMenuWithTopButton.ts"; import MenuWithTopButton from "../../components/menu/MenuWithTopButton.tsx"; -// import MenuWithBottomButtom from '../../components/menu/MenuWithBottomButton.tsx' +import MenuWithBottomButtom from '../../components/menu/MenuWithBottomButton.tsx' import MenuTreeWithTopButton from "../../components/menu/MenuTreeWithTopButton.tsx"; // import ListProj from "../../components/list/ListProj.tsx"; // import ListProjAgent from "../../components/list/ListProjAgent.tsx"; @@ -233,7 +233,7 @@ export default function Index() { setShowSearchBox(false) // setNewname(location.pathname) - setPathArray([{ title: 首页 }, { title: '编辑项目' }]) + setPathArray([{ title: 首页 }, { title: '编辑项目' }]) } else if (location.pathname.includes('/proj-edit/step1')) { setNow('标题简介') setShowSearchBox(false) @@ -325,7 +325,7 @@ export default function Index() { }) } - + }, []); @@ -388,7 +388,7 @@ export default function Index() { list={agentMenu.list} handleListItem={agentMenu.handleListItem} /> */} - {/* */} + />
@@ -453,6 +453,7 @@ export default function Index() { { value: 'ALL', label: '全托管' }, ]} defaultValue="" + // placeholder={'选择类型'} />