Commit 49bd3a1c authored by alwayOnlie's avatar alwayOnlie

修改bug

parent 7a463d8f
......@@ -313,38 +313,8 @@ const Details = (props: any) => {
const setDrawerModal = () => {
setPopup(!Popup)
}
/* 支付方式元素节点 */
const payItem = () => (
<div style={{
display: 'flex',
}}>
<div style={{
fontSize: '12px',
fontWeight: 400,
color: '#909399',
flex: 0.5,
}}>支付方式:</div>
<div style={{
fontSize: '12px',
fontWeight: 400,
color: '#303133',
flex: 1,
}}>线下支付方式:线下支付线上确认</div>
</div>
)
/* 查看详情元素节点 */
const ondeTails = () => {
<span style={{
color: '#00B37A',
background: '#F4F5F7',
display: 'inline-block',
padding: '5px',
borderRadius: 5,
cursor: 'pointer'
}}
onClick={setkey}
>查看详情</span>
}
return (
<div className={style.anchorWrap}>
<Anchor
......@@ -412,13 +382,41 @@ const Details = (props: any) => {
{
type == 'implement' &&
<PaymentCard
children={ondeTails}
children={
<span style={{
color: '#00B37A',
background: '#F4F5F7',
display: 'inline-block',
padding: '5px',
borderRadius: 5,
cursor: 'pointer'
}}
onClick={setkey}
>查看详情</span>
}
title="付款统计"
payPlanList={payPlanList}
basics={basicInfo}
contractId={contractId}
setkey={setkey}
payItem={payItem}
payItem={
<div style={{
display: 'flex',
}}>
<div style={{
fontSize: '12px',
fontWeight: 400,
color: '#909399',
flex: 0.5,
}}>支付方式:</div>
<div style={{
fontSize: '12px',
fontWeight: 400,
color: '#303133',
flex: 1,
}}>线下支付方式:线下支付线上确认</div>
</div>
}
/>
}
{/* 交易条件 */}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment