From 027a3020ac816232bc3b7e8560016d197a4363cc Mon Sep 17 00:00:00 2001 From: lyp Date: Thu, 26 Dec 2024 10:04:05 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E7=BD=AEai=E7=94=9F=E6=88=90=E6=8F=90?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/card/CardProj.tsx | 28 +++++++++++++++++++++------- src/components/card/card-proj.css | 2 ++ 2 files changed, 23 insertions(+), 7 deletions(-) diff --git a/src/components/card/CardProj.tsx b/src/components/card/CardProj.tsx index 3c99600..3304648 100644 --- a/src/components/card/CardProj.tsx +++ b/src/components/card/CardProj.tsx @@ -459,7 +459,11 @@ export default function CardProj(props: any) { } }}> -
登录界面设置
+
登录界面设置
{ if (data.generate.generateStatus == GenerateStatus.SUCCESS || payCharge == '全托管') { @@ -472,7 +476,11 @@ export default function CardProj(props: any) { } }}> -
系统菜单管理({data.projModCount})
+
系统菜单管理({data.projModCount})
{ if (data.generate.generateStatus == GenerateStatus.SUCCESS || payCharge == '全托管') { @@ -486,14 +494,18 @@ export default function CardProj(props: any) { } }}> -
菜单排序({data.projModCount})
+
菜单排序({data.projModCount})
+ style={{marginLeft: data.projStatus == 'NORMAL' || data.projStatus == 'EXPIRED' ? 20:220,marginRight:10}}> {props.tagArray.map((item: any) => { return ( @@ -502,7 +514,9 @@ export default function CardProj(props: any) { color: tagIdArray.includes(item.value) ? '#ffffff' : '#5a5a5a', border: tagIdArray.includes(item.value) ? ' 1px solid #ff7b00' : ' 1px solid #5a5a5a', // display: data.projStatus == 'NORMAL' || data.projStatus == 'EXPIRED' ? 'block' : 'none' - marginBottom: 10 + marginBottom: 10, + // 禁止换行 + textWrap:'nowrap' }} onClick={() => { @@ -511,8 +525,8 @@ export default function CardProj(props: any) { // props.updata() }} > - {item.label} - {/* 提交版权中心 */} + {/* {item.label} */} + 提交版权中心
) diff --git a/src/components/card/card-proj.css b/src/components/card/card-proj.css index 5816e2f..9f5b2e5 100644 --- a/src/components/card/card-proj.css +++ b/src/components/card/card-proj.css @@ -293,6 +293,7 @@ display: flex; margin-left: 18px; + margin-right: 10px; } .threeBtn { @@ -301,6 +302,7 @@ align-items: center; margin-right: 24px; color: #707070; + } /* .threeBtn:hover {