From b7c4966727400ae355a5bd32e29c329f1d385edc Mon Sep 17 00:00:00 2001 From: xixi <123@qq.com> Date: Thu, 18 Jul 2024 10:26:20 +0800 Subject: [PATCH] =?UTF-8?q?=E8=83=8C=E6=99=AF=E8=89=B2=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/card/CardProj.tsx | 2 +- src/route/index/Index.tsx | 6 +++--- src/route/proj/proj-edit.css | 12 +++++++----- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/src/components/card/CardProj.tsx b/src/components/card/CardProj.tsx index f150b74..5745b54 100644 --- a/src/components/card/CardProj.tsx +++ b/src/components/card/CardProj.tsx @@ -240,7 +240,7 @@ export default function CardProj(props: any) { }}> 代码压缩包 */} + }}> 源代码 ) : <> } diff --git a/src/route/index/Index.tsx b/src/route/index/Index.tsx index 66fcd31..0ee14f5 100644 --- a/src/route/index/Index.tsx +++ b/src/route/index/Index.tsx @@ -215,7 +215,7 @@ export default function Index() { setShowSearchBox(false) // setEditname(location.pathname) - setPathArray([{ title: 首页 }, { title: 创建项目 }, { title: '编辑项目' }]) + setPathArray([{ title: 首页 }, { title: '编辑项目' }]) } else if (location.pathname.includes('/proj-new')) { setNow('新建项目') setShowSearchBox(false) @@ -227,13 +227,13 @@ export default function Index() { setShowSearchBox(false) // setNewname(location.pathname) - setPathArray([{ title: 首页 }, { title: 创建项目 }, { title: '编辑项目' }]) + setPathArray([{ title: 首页 }, { title: '编辑项目' }]) } else if (location.pathname.includes('/proj-eall')) { setNow('编辑项目') setShowSearchBox(false) // setNewname(location.pathname) - setPathArray([{ title: 首页 }, { title: 创建项目 }, { title: '编辑项目' }]) + setPathArray([{ title: 首页 }, { title: '编辑项目' }]) } else if (location.pathname.includes('/proj-edit/step1')) { setNow('标题简介') setShowSearchBox(false) diff --git a/src/route/proj/proj-edit.css b/src/route/proj/proj-edit.css index 0428943..8814793 100644 --- a/src/route/proj/proj-edit.css +++ b/src/route/proj/proj-edit.css @@ -39,7 +39,9 @@ .editAll-box-title{ width: 100%; height: 56px; - background-color: #FF9F08; + /* background-color: #FF9F08; */ + /* background-color: #FF9F08; */ + background: linear-gradient(to right, #ff9f08, #ffd200); margin-top: 10px; text-align: center; line-height: 56px; @@ -71,14 +73,14 @@ .question{ width: 100%; height: 40px; - background-color: #FF9F08; + background-color: #fff7e5; line-height: 40px; font-weight: 700; padding:0 10px; box-sizing: border-box; display: flex; justify-content: space-between; - color: #fff; + color: #5d5650; } .questionStatus{ font-weight: 300; @@ -86,8 +88,8 @@ .boxtitle{ width: 100%; height: 40px; - background-color: #FF9F08; - color: #fff; + background-color: #fff7e5; + color: #5d5650; line-height: 40px; text-indent: 10px;