Browse Source

(*)小区人流量排名滚动优化

master
peng.peng 1 year ago
parent
commit
cd28759a90
  1. 23
      super-screen/client/src/sections/community-safty/components/traffic-ranking.js

23
super-screen/client/src/sections/community-safty/components/traffic-ranking.js

@ -14,18 +14,21 @@ function DataTop5(props) {
<div className='_rank_item3'>人流量<span style={{ fontSize: 14 }}>/</span></div>
</div>
{[1, 2, 3, 4, 5, 6, 7, 8].map(s => {
return <div className='_rank_content'>
<div className={`_rank_item1`}>
<div className={`topbg${s}`}>
<div style={{ marginTop: -9 }}>{s}</div>
<div className='rank_content_overflow'>
{[1, 2, 3, 4, 5, 6, 7, 8].map(s => {
return <div className='_rank_content'>
<div className={`_rank_item1`}>
<div className={`topbg${s}`}>
<div style={{ marginTop: -9 }}>{s}</div>
</div>
</div>
<div className='_rank_item2'>小区名称{s}</div>
<div className='_rank_item3'>{1400 - s}</div>
</div>
<div className='_rank_item2'>小区名称{s}</div>
<div className='_rank_item3'>{1400 - s}</div>
</div>
})}
})}
</div>
</div>
</Box>
}

Loading…
Cancel
Save