样式修改

This commit is contained in:
xixi 2024-08-15 18:08:34 +08:00
parent c503f898af
commit 0d49e8b7f5
5 changed files with 60 additions and 35 deletions

View File

@ -387,7 +387,7 @@ export default function BelongPeople(props: propsInfo) {
return (
<>
<div style={{ height: props.isShow ? 630 :540 , overflow: 'hidden', background: 'var(--color-light)', position: 'relative' }}>
<div style={{ height: props.isShow ? 630 : 540, overflow: 'hidden', background: 'var(--color-light)', position: 'relative' }}>
{contextHolder}
@ -399,7 +399,7 @@ export default function BelongPeople(props: propsInfo) {
{title: '基本信息'},
]}
/> */}
<div style={{ height: '100%',padding: '22px 15px 1px 15px', background: 'var(--color-light)' }}>
<div style={{ height: '100%', padding: '22px 15px 1px 15px', background: 'var(--color-light)' }}>
<div className="form-container" style={{ padding: 0 }} >
@ -442,7 +442,7 @@ export default function BelongPeople(props: propsInfo) {
}} type="primary" icon={<FolderAddOutlined style={{ fontSize: '18px' }} />} style={{ width: "160px", height: '43px', fontSize: '14px' }}>
</Button>
<div className='belongPeople-search' style={{height:43}}>
<div className='belongPeople-search' style={{ height: 43 }}>
<Search placeholder="请输入持有者名称搜索对应信息模板" onSearch={belongPeopleSearch} style={{ width: '353px', height: '43px' }} />
</div>
<div className='belongPeople-select'>
@ -514,11 +514,14 @@ export default function BelongPeople(props: propsInfo) {
pagination={{
defaultPageSize: 5, // 设置默认一页显示 5 条数据
}}
style={{ textAlign: 'center',height:390 }} // 设置表格内容居中显示
style={{ textAlign: 'center', height: 390 }} // 设置表格内容居中显示
rowKey="projOwnerId" // 指定数据项的唯一标识符
>
<Column title="所属者名称" dataIndex="name" />
<Column
align="center"
title="所属者名称" dataIndex="name" />
<Column
align="center"
title="所属类型"
dataIndex="type"
render={(_text, record: any) => (
@ -526,15 +529,17 @@ export default function BelongPeople(props: propsInfo) {
)}
/>
<Column
align="center"
title="所属证件类型"
dataIndex="idCardType"
render={(_text, record: any) => (
record.idCardType === 'ID_CARD' ? '身份证' : '营业执照'
)}
/>
<Column title="所属者身份证号" dataIndex="idCardNo" key="belongCardNo" />
<Column align="center" title="所属者身份证号" dataIndex="idCardNo" key="belongCardNo" />
{/* <Column title="实名认证状态" dataIndex="address" key="key" /> */}
<Column
align="center"
title="操作"
render={(_text, record: any) => (
<Space size="middle">
@ -634,11 +639,12 @@ export default function BelongPeople(props: propsInfo) {
pagination={{
defaultPageSize: 5, // 设置默认一页显示 5 条数据
}}
style={{ textAlign: 'center',height:390 }} // 设置表格内容居中显示
style={{ textAlign: 'center', height: 390 }} // 设置表格内容居中显示
rowKey="projOwnerId" // 指定数据项的唯一标识符
>
<Column title="所属者名称" dataIndex="name" />
<Column align="center" title="所属者名称" dataIndex="name" />
<Column
align="center"
title="所属类型"
dataIndex="type"
render={(_text, record: any) => (
@ -646,15 +652,17 @@ export default function BelongPeople(props: propsInfo) {
)}
/>
<Column
align="center"
title="所属证件类型"
dataIndex="idCardType"
render={(_text, record: any) => (
record.idCardType === 'ID_CARD' ? '身份证' : '营业执照'
)}
/>
<Column title="所属者证件号" dataIndex="idCardNo" key="belongCardNo" />
<Column align="center" title="所属者证件号" dataIndex="idCardNo" key="belongCardNo" />
{/* <Column title="实名认证状态" dataIndex="address" key="key" /> */}
<Column
align="center"
title="操作"
render={(_text, record: any) => (
<Space size="middle">
@ -814,7 +822,7 @@ export default function BelongPeople(props: propsInfo) {
<div className='belongPeople-Mtop'>
{belongTitle}
</div>
<div style={{width:1200}}>
<div style={{ width: 1200 }}>
<Form
name="belongInfo"
form={formBelong}

View File

@ -173,6 +173,7 @@ export default function CapitalModal() {
dataIndex: 'index',
width: 70, // 设置宽度
key: 'index',
align: 'center',
render: (_text, _record, index) => (page - 1) * 10 + index + 1,
},
{
@ -180,6 +181,7 @@ export default function CapitalModal() {
key: 'type',
width: 100, // 设置宽度
dataIndex: 'type',
align: 'center',
render: (text) => {
const tagProps =
text === 1 ? { color: '#f50', label: '充值' } :
@ -197,6 +199,7 @@ export default function CapitalModal() {
width: 120,
dataIndex: 'accountBeforeMoneyDouble',
key: 'accountBeforeMoneyDouble',
align: 'center',
render:(text) => (
<div style={{fontWeight:700}}>{text}</div>
)
@ -206,6 +209,7 @@ export default function CapitalModal() {
width: 120,
dataIndex: 'accountMoneyDouble',
key: 'accountMoneyDouble',
align: 'center',
render:(text) => (
<div style={{fontWeight:700}}>{text}</div>
)
@ -215,15 +219,18 @@ export default function CapitalModal() {
width: 120,
dataIndex: 'accountAfterMoneyDouble',
key: 'accountAfterMoneyDouble',
align: 'center',
render:(text) => (
<div style={{fontWeight:700}}>{text}</div>
)
},
{
title: <div style={{ textAlign: 'center' }}></div>,
dataIndex: 'orderId',
// fixed: 'right',
width: 300,
align: 'center',
key: 'orderId',
},
{
@ -231,6 +238,7 @@ export default function CapitalModal() {
dataIndex: 'orderType',
key: 'orderType',
width: 160,
align: 'center',
render:(text) => (
<div >{text == 'ai'?'AI秒著引擎':text}</div>
)
@ -244,6 +252,7 @@ export default function CapitalModal() {
title: <div style={{ textAlign: 'center' }}></div>,
dataIndex: 'description',
key: 'description',
align: 'center',
ellipsis: {
showTitle: false,
},
@ -301,7 +310,6 @@ export default function CapitalModal() {
</Button>
</div>
<Table columns={columns} dataSource={tableData}
style={{ textAlign: 'center' }} // 设置表格内容居中显示
pagination={
{
pageSize: 10,

View File

@ -212,8 +212,8 @@ export default function ContactPeople(props: any) {
}} type="primary" icon={<FolderAddOutlined style={{ fontSize: '18px' }} />} style={{ width: "160px", height: '43px', fontSize: '14px' }}>
</Button>
<div className='belongPeople-search' style={{height:43}}>
<Search placeholder="请输入持有者名称搜索对应信息" onSearch={applicantPeopleSearch} style={{ width: '353px'}} />
<div className='belongPeople-search' style={{ height: 43 }}>
<Search placeholder="请输入持有者名称搜索对应信息" onSearch={applicantPeopleSearch} style={{ width: '353px' }} />
</div>
</div>
<div className='showInfo' style={{ display: props.isShow ? 'block' : 'none' }}>
@ -253,15 +253,16 @@ export default function ContactPeople(props: any) {
style={{ textAlign: 'center', height: 390 }} // 设置表格内容居中显示
rowKey="projContactId" // 指定数据项的唯一标识符
>
<Column title="联系人" dataIndex="name" />
<Column title="联系人手机号" dataIndex="phone" />
<Column title="平台专属客服" dataIndex="csaNo" />
<Column title="所属公司" dataIndex="company"
<Column align="center" title="联系人" dataIndex="name" />
<Column align="center" title="联系人手机号" dataIndex="phone" />
<Column align="center" title="平台专属客服" dataIndex="csaNo" />
<Column align="center" title="所属公司" dataIndex="company"
render={(text) => (text !== '' ? text : '一')}
/>
{/* <Column title="实名认证状态" dataIndex="address" key="key" /> */}
<Column
align="center"
title="操作"
render={(_text, record: any) => (
<Space size="middle">
@ -320,15 +321,16 @@ export default function ContactPeople(props: any) {
style={{ textAlign: 'center', height: 390 }} // 设置表格内容居中显示
rowKey="projContactId" // 指定数据项的唯一标识符
>
<Column title="联系人" dataIndex="name" />
<Column title="联系人手机号" dataIndex="phone" />
<Column title="平台专属客服" dataIndex="csaNo" />
<Column title="所属公司" dataIndex="company"
<Column align="center" title="联系人" dataIndex="name" />
<Column align="center" title="联系人手机号" dataIndex="phone" />
<Column align="center" title="平台专属客服" dataIndex="csaNo" />
<Column align="center" title="所属公司" dataIndex="company"
render={(text) => (text !== '' ? text : '一')}
/>
{/* <Column title="实名认证状态" dataIndex="address" key="key" /> */}
<Column
align="center"
title="操作"
render={(_text, record: any) => (
<Space size="middle">

View File

@ -151,11 +151,13 @@ export default function RecordModal() {
dataIndex: 'index',
width: 70, // 设置宽度
key: 'index',
align: 'center',
render: (_text, _record, index) => (page - 1) * 10 + index + 1,
},
{
title: <div style={{ textAlign: 'center' }}></div>,
width: 120,
align: 'center',
dataIndex: 'amount',
key: 'amount',
render:(text) => (
@ -167,6 +169,7 @@ export default function RecordModal() {
dataIndex: 'notes',
key: 'notes',
align: 'center',
ellipsis: {
showTitle: false,
},

View File

@ -419,7 +419,7 @@ export default function ProjEditStep2(props: any) {
csaNo: data.csaNo
});
if (data.casQrCode) {
const imgUrl = downloadUrl(data.casQrCode,false);
const imgUrl = downloadUrl(data.casQrCode, false);
// console.log('图片地址', imgUrl);
setImgUrl(imgUrl)
}
@ -736,25 +736,28 @@ export default function ProjEditStep2(props: any) {
style={{ textAlign: 'center' }} // 设置表格内容居中显示
rowKey="projOwnerId" // 指定数据项的唯一标识符
>
<Column title="所属者名称" dataIndex="name" />
<Column title="所属者名称" align="center" dataIndex="name" />
<Column
title="所属类型"
dataIndex="type"
align="center"
render={(_text, record: any) => (
record.type === 'PERSONAL' ? '自然人' : '企业/组织'
)}
/>
<Column
title="所属证件类型"
align="center"
dataIndex="idCardType"
render={(_text, record: any) => (
record.idCardType === 'ID_CARD' ? '身份证' : '营业执照'
)}
/>
<Column title="所属者证件号" dataIndex="idCardNo" key="belongCardNo" />
<Column title="所属者证件号" align="center" dataIndex="idCardNo" key="belongCardNo" />
{/* <Column title="实名认证状态" dataIndex="address" key="key" /> */}
<Column
title="操作"
align="center"
render={(_text, record: any) => (
<Space size="middle">
<a onClick={() => {
@ -866,7 +869,7 @@ export default function ProjEditStep2(props: any) {
}} type="primary" icon={<FolderAddOutlined style={{ fontSize: '18px' }} />} style={{ width: "160px", height: '43px', fontSize: '14px' }}>
</Button>
<div className='belongPeople-search' style={{height:43}}>
<div className='belongPeople-search' style={{ height: 43 }}>
<Search placeholder="请输入持有者名称搜索对应信息" onSearch={applicantPeopleSearch} style={{ width: '353px' }} />
</div>
</div>
@ -893,16 +896,17 @@ export default function ProjEditStep2(props: any) {
style={{ textAlign: 'center' }} // 设置表格内容居中显示
rowKey="projContactId" // 指定数据项的唯一标识符
>
<Column title="联系人" dataIndex="name" />
<Column title="联系人手机号" dataIndex="phone" />
<Column title="平台专属客服" dataIndex="csaNo" />
<Column title="所属公司" dataIndex="company"
<Column title="联系人" align="center" dataIndex="name" />
<Column title="联系人手机号" align="center" dataIndex="phone" />
<Column title="平台专属客服" align="center" dataIndex="csaNo" />
<Column title="所属公司" align="center" dataIndex="company"
render={(text) => (text !== '' ? text : '一')}
/>
{/* <Column title="实名认证状态" dataIndex="address" key="key" /> */}
<Column
title="操作"
align="center"
render={(_text, record: any) => (
<Space size="middle">
<a onClick={() => {
@ -1126,7 +1130,7 @@ export default function ProjEditStep2(props: any) {
<div className='belongPeople-Mtop'>
{belongTitle}
</div>
<div style={{width:1200}}>
<div style={{ width: 1200 }}>
<Form
name="belongInfo"
form={formBelong}