背景色修改
This commit is contained in:
parent
b7c4966727
commit
cf6d539d59
@ -227,7 +227,7 @@ export default function Index() {
|
||||
setShowSearchBox(false)
|
||||
|
||||
// setNewname(location.pathname)
|
||||
setPathArray([{ title: <Link to={'/home'}>首页</Link> }, { title: '编辑项目' }])
|
||||
setPathArray([{ title: <Link to={'/home'}>首页</Link> }, { title: '编辑项目' }])
|
||||
} else if (location.pathname.includes('/proj-eall')) {
|
||||
setNow('编辑项目')
|
||||
setShowSearchBox(false)
|
||||
@ -330,13 +330,16 @@ export default function Index() {
|
||||
}, []);
|
||||
|
||||
useEffect(() => {
|
||||
console.log('监听type',type);
|
||||
nav('/home', {
|
||||
state: {
|
||||
keyword: keywords,
|
||||
name: type
|
||||
}
|
||||
})
|
||||
console.log('监听type', type);
|
||||
if (location.pathname.includes('/home')) {
|
||||
nav('/home', {
|
||||
state: {
|
||||
keyword: keywords,
|
||||
name: type
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
}, [type]);
|
||||
|
||||
const handleSearch = (value: string) => {
|
||||
@ -349,9 +352,9 @@ export default function Index() {
|
||||
}
|
||||
})
|
||||
}
|
||||
const handleChange = (e:any) => {
|
||||
const handleChange = (e: any) => {
|
||||
console.log(e.target.value);
|
||||
if(e.target.value == ''){
|
||||
if (e.target.value == '') {
|
||||
setKeywords('')
|
||||
nav('/home', {
|
||||
state: {
|
||||
@ -449,7 +452,7 @@ export default function Index() {
|
||||
{ value: 'MATERIAL', label: '写材料' },
|
||||
{ value: 'ALL', label: '全托管' },
|
||||
]}
|
||||
defaultValue=""
|
||||
defaultValue=""
|
||||
/>
|
||||
<div style={{
|
||||
width: '253px',
|
||||
|
@ -56,7 +56,7 @@
|
||||
background-color: #f3f3f3;
|
||||
height: 95px;
|
||||
line-height: 95px;
|
||||
text-align: center;
|
||||
text-align: center;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user