Commit 330485d5 authored by weihome's avatar weihome Committed by ι™ˆεΈ…

style: analysis page ranking list (#2551)

parent 1cc97f56
...@@ -501,8 +501,16 @@ class Analysis extends Component { ...@@ -501,8 +501,16 @@ class Analysis extends Component {
<ul className={styles.rankingList}> <ul className={styles.rankingList}>
{this.rankingListData.map((item, i) => ( {this.rankingListData.map((item, i) => (
<li key={item.title}> <li key={item.title}>
<span className={i < 3 ? styles.active : ''}>{i + 1}</span> <span
<span>{item.title}</span> className={`${styles.rankingItemNumber} ${
i < 3 ? styles.active : ''
}`}
>
{i + 1}
</span>
<span className={styles.rankingItemTitle} title={item.title}>
{item.title}
</span>
<span>{numeral(item.total).format('0,0')}</span> <span>{numeral(item.total).format('0,0')}</span>
</li> </li>
))} ))}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment