背景色修改

This commit is contained in:
xixi 2024-07-18 10:26:20 +08:00
parent 40cba56cf7
commit b7c4966727
3 changed files with 11 additions and 9 deletions

View File

@ -240,7 +240,7 @@ export default function CardProj(props: any) {
}}><DownloadOutlined /> </Button> */} }}><DownloadOutlined /> </Button> */}
<Button size="small" type="text" onClick={() => { <Button size="small" type="text" onClick={() => {
window.open(`${Axios.defaults?.baseURL}/route/proj/download/code/${data.projId}`) window.open(`${Axios.defaults?.baseURL}/route/proj/download/code/${data.projId}`)
}}><DownloadOutlined /> </Button> }}><DownloadOutlined /> </Button>
</div> </div>
) : <></> ) : <></>
} }

View File

@ -215,7 +215,7 @@ export default function Index() {
setShowSearchBox(false) setShowSearchBox(false)
// setEditname(location.pathname) // setEditname(location.pathname)
setPathArray([{ title: <Link to={'/home'}></Link> }, { title: <Link to={'/proj-create'}></Link> }, { title: '编辑项目' }]) setPathArray([{ title: <Link to={'/home'}></Link> }, { title: '编辑项目' }])
} else if (location.pathname.includes('/proj-new')) { } else if (location.pathname.includes('/proj-new')) {
setNow('新建项目') setNow('新建项目')
setShowSearchBox(false) setShowSearchBox(false)
@ -227,13 +227,13 @@ export default function Index() {
setShowSearchBox(false) setShowSearchBox(false)
// setNewname(location.pathname) // setNewname(location.pathname)
setPathArray([{ title: <Link to={'/home'}></Link> }, { title: <Link to={'/proj-create'}></Link> }, { title: '编辑项目' }]) setPathArray([{ title: <Link to={'/home'}></Link> }, { title: '编辑项目' }])
} else if (location.pathname.includes('/proj-eall')) { } else if (location.pathname.includes('/proj-eall')) {
setNow('编辑项目') setNow('编辑项目')
setShowSearchBox(false) setShowSearchBox(false)
// setNewname(location.pathname) // setNewname(location.pathname)
setPathArray([{ title: <Link to={'/home'}></Link> }, { title: <Link to={'/proj-create'}></Link> }, { title: '编辑项目' }]) setPathArray([{ title: <Link to={'/home'}></Link> }, { title: '编辑项目' }])
} else if (location.pathname.includes('/proj-edit/step1')) { } else if (location.pathname.includes('/proj-edit/step1')) {
setNow('标题简介') setNow('标题简介')
setShowSearchBox(false) setShowSearchBox(false)

View File

@ -39,7 +39,9 @@
.editAll-box-title{ .editAll-box-title{
width: 100%; width: 100%;
height: 56px; height: 56px;
background-color: #FF9F08; /* background-color: #FF9F08; */
/* background-color: #FF9F08; */
background: linear-gradient(to right, #ff9f08, #ffd200);
margin-top: 10px; margin-top: 10px;
text-align: center; text-align: center;
line-height: 56px; line-height: 56px;
@ -71,14 +73,14 @@
.question{ .question{
width: 100%; width: 100%;
height: 40px; height: 40px;
background-color: #FF9F08; background-color: #fff7e5;
line-height: 40px; line-height: 40px;
font-weight: 700; font-weight: 700;
padding:0 10px; padding:0 10px;
box-sizing: border-box; box-sizing: border-box;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
color: #fff; color: #5d5650;
} }
.questionStatus{ .questionStatus{
font-weight: 300; font-weight: 300;
@ -86,8 +88,8 @@
.boxtitle{ .boxtitle{
width: 100%; width: 100%;
height: 40px; height: 40px;
background-color: #FF9F08; background-color: #fff7e5;
color: #fff; color: #5d5650;
line-height: 40px; line-height: 40px;
text-indent: 10px; text-indent: 10px;