样式调整
This commit is contained in:
parent
c866937a39
commit
7b6cc598a1
@ -598,7 +598,7 @@ export default function Correction() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
scroll={{ y: height - 150 }}
|
scroll={{ y: height - 190 }}
|
||||||
rowKey="projCorrectionApplyId"
|
rowKey="projCorrectionApplyId"
|
||||||
/>
|
/>
|
||||||
</Spin>
|
</Spin>
|
||||||
|
@ -429,7 +429,7 @@ export default function Index() {
|
|||||||
// }
|
// }
|
||||||
// })
|
// })
|
||||||
const location = useLocation()
|
const location = useLocation()
|
||||||
const [now, setNow] = useState<string>('首页')
|
const [now, setNow] = useState<string>('首页-项目')
|
||||||
// 编辑项目路由名
|
// 编辑项目路由名
|
||||||
// const [editname,setEditname] = useState('')
|
// const [editname,setEditname] = useState('')
|
||||||
// 新建项目路由名字
|
// 新建项目路由名字
|
||||||
@ -442,7 +442,7 @@ export default function Index() {
|
|||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
// const nowname = sessionStorage.getItem('now')
|
// const nowname = sessionStorage.getItem('now')
|
||||||
if (location.pathname.includes('/home')) {
|
if (location.pathname.includes('/home')) {
|
||||||
setNow('首页')
|
setNow('首页-项目')
|
||||||
// setPathArray([{ title: '首页' }])
|
// setPathArray([{ title: '首页' }])
|
||||||
setShowSearchBox(true)
|
setShowSearchBox(true)
|
||||||
setClickBelongpeople(true)
|
setClickBelongpeople(true)
|
||||||
@ -554,13 +554,13 @@ export default function Index() {
|
|||||||
// /config-mod-edit /product-release /transaction-order
|
// /config-mod-edit /product-release /transaction-order
|
||||||
} else if (location.pathname.includes('/refun')) {
|
} else if (location.pathname.includes('/refun')) {
|
||||||
setShowSearchBox(false)
|
setShowSearchBox(false)
|
||||||
setNow('首页')
|
setNow('首页-退款')
|
||||||
setClickBelongpeople(false)
|
setClickBelongpeople(false)
|
||||||
// setNewname(location.pathname)
|
// setNewname(location.pathname)
|
||||||
// setPathArray([{ title: <Link to={'/home'}>首页</Link> }, { title: <Link to={'/proj-create'}>创建项目</Link> }, { title: <a onClick={() => { nav(-1) }}>编辑项目</a> }, { title: '软件功能特点' }])
|
// 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')) {
|
} else if (location.pathname.includes('/correction')) {
|
||||||
setShowSearchBox(false)
|
setShowSearchBox(false)
|
||||||
setNow('首页')
|
setNow('首页-补正')
|
||||||
setClickBelongpeople(false)
|
setClickBelongpeople(false)
|
||||||
// setNewname(location.pathname)
|
// setNewname(location.pathname)
|
||||||
// setPathArray([{ title: <Link to={'/home'}>首页</Link> }, { title: <Link to={'/proj-create'}>创建项目</Link> }, { title: <a onClick={() => { nav(-1) }}>编辑项目</a> }, { title: '软件功能特点' }])
|
// 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>
|
||||||
<div className='nowPosition'>
|
<div className='nowPosition'>
|
||||||
<img src={backImg} alt="" />
|
<img src={backImg} alt="" />
|
||||||
<div style={{ display: now == '首页' ? 'block' : 'none' }}>
|
<div style={{ display: now == '首页-项目' ||now == '首页-退款' || now == '首页-补正'? 'block' : 'none' }}>
|
||||||
{/* <Breadcrumb
|
{/* <Breadcrumb
|
||||||
separator="|"
|
separator="|"
|
||||||
// items={[
|
// items={[
|
||||||
|
Loading…
Reference in New Issue
Block a user