|
@@ -100,20 +100,20 @@ export default class OverView extends Component {
|
|
|
<ul className={`${global.flex_row_between_center}`}>
|
|
|
{
|
|
|
overViewData.map((item, index) => (
|
|
|
- <li style={{ backgroundImage: `url(${item.bg})`, width: `${100 / tabItem - 1}%` }}>
|
|
|
+ <li style={{ backgroundImage: `url(${item.bg})`, width: `${100 / tabItem - 1}%` }} key={index}>
|
|
|
<div className={`${stat.up_title} ${global.flex_row_between_center}`}>
|
|
|
<div className={`${stat.left_label}`}>{item.name}</div>
|
|
|
{
|
|
|
item.isShowOperate ?
|
|
|
<div className={`${stat.right_operate} `}>
|
|
|
- <fragment className={`${global.flex_row_start_center}`}
|
|
|
+ <div className={`${global.flex_row_start_center}`}
|
|
|
onClick={(e) => this.showCurrentDayModal(e, index)}>
|
|
|
<span>{selectData[statItemCurrentDayIndex[index]]}</span><i
|
|
|
- className={`${daySelectModalStatus === index ? stat.open : ''}`}></i></fragment>
|
|
|
+ className={`${daySelectModalStatus === index ? stat.open : ''}`}></i></div>
|
|
|
<div
|
|
|
className={`${stat.select_modal} ${daySelectModalStatus === index ? '' : stat.hide}`}>
|
|
|
{selectData.map((item2, index2) => (
|
|
|
- <div onClick={(e) => this.dayChange({ optionIndex: index2, itemIndex: index })}
|
|
|
+ <div onClick={(e) => this.dayChange({ optionIndex: index2, itemIndex: index })} key={index2}
|
|
|
className={`${stat.select_option} ${statItemCurrentDayIndex[index] === index2 ? stat.current : ''}`}>{item2}{statItemCurrentDayIndex[index] === index2 ? sldSvgIcon('#FF5000', 16, 16, 'xuanzhong1') : ''}</div>
|
|
|
))}
|
|
|
</div>
|