样式调整

This commit is contained in:
xixi 2024-08-30 09:00:37 +08:00
parent c866937a39
commit 7b6cc598a1
2 changed files with 6 additions and 6 deletions

View File

@ -598,7 +598,7 @@ export default function Correction() {
}
}
scroll={{ y: height - 150 }}
scroll={{ y: height - 190 }}
rowKey="projCorrectionApplyId"
/>
</Spin>

View File

@ -429,7 +429,7 @@ export default function Index() {
// }
// })
const location = useLocation()
const [now, setNow] = useState<string>('首页')
const [now, setNow] = useState<string>('首页-项目')
// 编辑项目路由名
// const [editname,setEditname] = useState('')
// 新建项目路由名字
@ -442,7 +442,7 @@ export default function Index() {
useEffect(() => {
// const nowname = sessionStorage.getItem('now')
if (location.pathname.includes('/home')) {
setNow('首页')
setNow('首页-项目')
// setPathArray([{ title: '首页' }])
setShowSearchBox(true)
setClickBelongpeople(true)
@ -554,13 +554,13 @@ export default function Index() {
// /config-mod-edit /product-release /transaction-order
} else if (location.pathname.includes('/refun')) {
setShowSearchBox(false)
setNow('首页')
setNow('首页-退款')
setClickBelongpeople(false)
// setNewname(location.pathname)
// setPathArray([{ title: <Link to={'/home'}>首页</Link> }, { title: <Link to={'/proj-create'}>创建项目</Link> }, { title: <a onClick={() => { nav(-1) }}>编辑项目</a> }, { title: '软件功能特点' }])
} else if (location.pathname.includes('/correction')) {
setShowSearchBox(false)
setNow('首页')
setNow('首页-补正')
setClickBelongpeople(false)
// setNewname(location.pathname)
// setPathArray([{ title: <Link to={'/home'}>首页</Link> }, { title: <Link to={'/proj-create'}>创建项目</Link> }, { title: <a onClick={() => { nav(-1) }}>编辑项目</a> }, { title: '软件功能特点' }])
@ -1030,7 +1030,7 @@ export default function Index() {
}}></div>
<div className='nowPosition'>
<img src={backImg} alt="" />
<div style={{ display: now == '首页' ? 'block' : 'none' }}>
<div style={{ display: now == '首页-项目' ||now == '首页-退款' || now == '首页-补正'? 'block' : 'none' }}>
{/* <Breadcrumb
separator="|"
// items={[