|
|
@ -7,15 +7,21 @@ function DataShare(props) { |
|
|
|
return <div className='_item_content'> |
|
|
|
<div className={'_item_icon' + s.key} /> |
|
|
|
<div className='_item_text'> |
|
|
|
接口访问次数 |
|
|
|
{s.title} |
|
|
|
<div className='number_container'> |
|
|
|
<span className='_number'>{s.data}</span>{s.unit} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
} |
|
|
|
const leftData = [{ key: '1', data: 2000, unit: '条' }, { key: '2', data: 2000, unit: '次' }, { key: '3', data: 2000, unit: '个' }] |
|
|
|
const rightData = [{ key: '2', data: 2000, unit: '次' }, { key: '3', data: 2000, unit: '个' }] |
|
|
|
const leftData = [ |
|
|
|
{ key: '1', data: 2000, unit: '条', title: '共享库数据总量' }, |
|
|
|
{ key: '2', data: 2000, unit: '次', title: '访问接口总次数' }, |
|
|
|
{ key: '3', data: 2000, unit: '个', title: '访问接口用户总数' }] |
|
|
|
const rightData = [ |
|
|
|
{ key: '2', data: 2000, unit: '次', title: '接口访问次数' }, |
|
|
|
{ key: '3', data: 2000, unit: '个', title: '访问接口用户总数' }] |
|
|
|
|
|
|
|
return <Box title={"数据共享"} > |
|
|
|
<div className='data_share'> |
|
|
|
<div className='_left_content'> |
|
|
|