|
|
|
@ -252,9 +252,7 @@ const Welcome: React.FC = () => {
|
|
|
|
|
<Col span={8}>
|
|
|
|
|
<Card title="注册情况" bodyStyle={{ display: 'flex', justifyContent: 'space-between' }} bordered={false}>
|
|
|
|
|
<Statistic title="商家数" valueStyle={{ color: '#3f8600', fontSize: 30 }} value={pbcRegisterStatical.businessNumber || 0} />
|
|
|
|
|
<Access accessible={access.dashboardUser}>
|
|
|
|
|
<Statistic title="会员数" valueStyle={{ color: '#3f8600', fontSize: 30 }} value={pbcRegisterStatical.vipNumber || 0} />
|
|
|
|
|
</Access>
|
|
|
|
|
<Statistic title="会员数" valueStyle={{ color: '#3f8600', fontSize: 30 }} value={pbcRegisterStatical.vipNumber || 0} />
|
|
|
|
|
</Card>
|
|
|
|
|
</Col>
|
|
|
|
|
<Col span={8}>
|
|
|
|
@ -280,7 +278,9 @@ const Welcome: React.FC = () => {
|
|
|
|
|
<Col span={8}>
|
|
|
|
|
<Card title="互动情况" bodyStyle={{ display: 'flex', justifyContent: 'space-between' }} bordered={false}>
|
|
|
|
|
<Statistic title="浏览数" valueStyle={{ color: '#3f8600', fontSize: 30 }} value={pbcInteractStatical.pbcViewTotalNumber || 0} />
|
|
|
|
|
<Statistic title="新增商品浏览数" valueStyle={{ color: '#3f8600', fontSize: 30 }} value={pbcInteractStatical.pbcNewGoodsViewNumber || 0} />
|
|
|
|
|
<Access accessible={access.dashboardUser}>
|
|
|
|
|
<Statistic title="新增商品浏览数" valueStyle={{ color: '#3f8600', fontSize: 30 }} value={pbcInteractStatical.pbcNewGoodsViewNumber || 0} />
|
|
|
|
|
</Access>
|
|
|
|
|
<Statistic title="收藏数" valueStyle={{ color: '#3f8600', fontSize: 30 }} value={pbcInteractStatical.pbcColectNumber || 0} />
|
|
|
|
|
</Card>
|
|
|
|
|
</Col>
|
|
|
|
|