|
@@ -19,8 +19,8 @@ function columns12(): { label: string, fieldSHow?: { label: string, saveField: s
|
|
const data = b?.[dataIndex]?.split('/')
|
|
const data = b?.[dataIndex]?.split('/')
|
|
console.log(data)
|
|
console.log(data)
|
|
return <div className={style.dbox} style={{ height: 170}}>
|
|
return <div className={style.dbox} style={{ height: 170}}>
|
|
- <span style={{ color: '#F44336', fontWeight: 600, display: 'flex', alignItems: 'center' }}>变现人数:<span><Statistic value={data?.[0] || 0} precision={2} /></span></span>
|
|
|
|
- <span style={{ color: '#FF9800', fontWeight: 600, display: 'flex', alignItems: 'center' }}>变现次数:<span><Statistic value={data?.[1] || 0} precision={2} /></span></span>
|
|
|
|
|
|
+ <span style={{ color: '#F44336', fontWeight: 600, display: 'flex', alignItems: 'center' }}>变现人数:<span><Statistic value={data?.[0] || 0} /></span></span>
|
|
|
|
+ <span style={{ color: '#FF9800', fontWeight: 600, display: 'flex', alignItems: 'center' }}>变现次数:<span><Statistic value={data?.[1] || 0} /></span></span>
|
|
<span style={{ color: '#d81b60', fontWeight: 600, display: 'flex', alignItems: 'center' }}>新增收入:<span><Statistic value={data?.[2] || 0} precision={2} /></span></span>
|
|
<span style={{ color: '#d81b60', fontWeight: 600, display: 'flex', alignItems: 'center' }}>新增收入:<span><Statistic value={data?.[2] || 0} precision={2} /></span></span>
|
|
<span style={{ color: '#0f538a', fontWeight: 600, display: 'flex', alignItems: 'center' }}>累计收入:<span><Statistic value={data?.[3] || 0} precision={2} /></span></span>
|
|
<span style={{ color: '#0f538a', fontWeight: 600, display: 'flex', alignItems: 'center' }}>累计收入:<span><Statistic value={data?.[3] || 0} precision={2} /></span></span>
|
|
<span style={{ color: '#9C27B0', fontWeight: 600, display: 'flex', alignItems: 'center' }}>arpu:<span><Statistic value={data?.[7] || 0} precision={2} /></span></span>
|
|
<span style={{ color: '#9C27B0', fontWeight: 600, display: 'flex', alignItems: 'center' }}>arpu:<span><Statistic value={data?.[7] || 0} precision={2} /></span></span>
|
|
@@ -109,12 +109,12 @@ function columns12(): { label: string, fieldSHow?: { label: string, saveField: s
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: '广告变现roi', dataIndex: 'appAdPayingRoi', label: '基本信息', align: 'center', width: 105, default: 12, sorter: true,
|
|
title: '广告变现roi', dataIndex: 'appAdPayingRoi', label: '基本信息', align: 'center', width: 105, default: 12, sorter: true,
|
|
- render: (a: number) => <Statistic value={a ? a * 100 : 0} precision={2} valueStyle={!a ? {} : a >= 0.5 ? { color: 'red' } : { color: '#0f990f' }} suffix="%" />
|
|
|
|
|
|
+ render: (a: number) => <Statistic value={a ? (a * 100).toFixed(2) : 0} precision={2} valueStyle={!a ? {} : a >= 0.5 ? { color: 'red' } : { color: '#0f990f' }} suffix="%" />
|
|
},
|
|
},
|
|
|
|
|
|
{
|
|
{
|
|
title: '注册人数', dataIndex: 'regDedupPv', label: '基本信息', align: 'center', width: 80, default: 13, sorter: true,
|
|
title: '注册人数', dataIndex: 'regDedupPv', label: '基本信息', align: 'center', width: 80, default: 13, sorter: true,
|
|
- render: (a: number, b: any) => <Statistic value={a || 0} precision={2} />
|
|
|
|
|
|
+ render: (a: number, b: any) => <Statistic value={a || 0} />
|
|
},
|
|
},
|
|
...trend
|
|
...trend
|
|
]
|
|
]
|