From 625867cc91baf7ece9f1329eaa7710731727b2b8 Mon Sep 17 00:00:00 2001 From: zhangyongtian <1181606322@qq.com> Date: Sat, 17 Aug 2024 18:15:25 +0800 Subject: [PATCH] feat: 添加当事人功能静态 --- gz-customerSystem/src/components/personCard/index.jsx | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gz-customerSystem/src/components/personCard/index.jsx b/gz-customerSystem/src/components/personCard/index.jsx index 11c098c..30a1438 100644 --- a/gz-customerSystem/src/components/personCard/index.jsx +++ b/gz-customerSystem/src/components/personCard/index.jsx @@ -27,7 +27,7 @@ <div className="public-personCard" style={{ cursor: 'pointer' }}> <div className={`public-personCard-card public-personCard-card-${x.partyType === 'applicant' ? 'blue' : 'orange'}`} - onClick={() => handleCheckParty({ type: x.partyType, editType: 'check', values: x })} + onClick={() => handleCheckParty(x)} > {x.trueName.substr(0, 1)} <div className="public-personCard-card-check">查看</div> @@ -57,7 +57,7 @@ } <Space style={{ display: 'flex', flexWrap: 'wrap' }}> {x.remark?.map((item, index) => ( - <div key={index} style={{ lineHeight: '22px', padding: '0px 8px', backgroundColor: `${item.color}`, width: 'fit-content', borderRadius: '4px', marginTop: '4px' }}>{item.label}</div> + <div key={index} style={{ lineHeight: '22px', padding: '0px 8px', backgroundColor: `${item.color}`, width: 'fit-content', borderRadius: '4px', marginTop: '4px', color: '#fff' }}>{item.label}</div> ))} </Space> </div> -- Gitblit v1.8.0