|
@@ -39,6 +39,7 @@ const DataRecord = props => {
|
39
|
39
|
}
|
40
|
40
|
|
41
|
41
|
function tabsCallback(e) {
|
|
42
|
+
|
42
|
43
|
setTab(e)
|
43
|
44
|
}
|
44
|
45
|
|
|
@@ -100,7 +101,7 @@ const DataRecord = props => {
|
100
|
101
|
<span style={{ fontSize: '46px', color: '#fff', marginLeft: '26px', fontFamily: 'fantasy' }}>{data.sharePersons || '0'}</span>
|
101
|
102
|
</div>
|
102
|
103
|
<div style={{
|
103
|
|
- textAlign: 'center', display: 'flex', justifyContent: 'center', lineHeight: '100px', background: 'linear-gradient(144deg,rgba(0,175,141,1) 0%,rgba(115,132,209,1) 100%)', height: '100px',
|
|
104
|
+ textAlign: 'center', display: 'flex', justifyContent: 'center', lineHeight: '100px', background: 'linear-gradient(144deg,rgba(0,175,141,1) 0%,rgba(115,231,209,1) 100%)', height: '100px',
|
104
|
105
|
borderRadius: '12px', width: '32%'
|
105
|
106
|
}}>
|
106
|
107
|
<span style={{ fontSize: '20px', color: '#fff' }}>分享总次数 </span>
|
|
@@ -120,15 +121,15 @@ const DataRecord = props => {
|
120
|
121
|
</Tabs>
|
121
|
122
|
<div style={{ marginTop: '20px' }}>
|
122
|
123
|
{/* 访问人数 */}
|
123
|
|
- {(tab === '1' && < Visitors id={id} type={type} />)}
|
|
124
|
+ {(tab === '1' && < Visitors id={id} type={type} getData={()=>getData({ id: id, type: type })}/>)}
|
124
|
125
|
{/* 访问次数 */}
|
125
|
|
- {(tab === '2' && <VisitNum id={id} type={type}/>)}
|
|
126
|
+ {(tab === '2' && <VisitNum id={id} type={type} getData={()=>getData({ id: id, type: type })}/>)}
|
126
|
127
|
{/* 新增注册用户 */}
|
127
|
|
- {(tab === '3' && <Newuser id={id} type={type}/>)}
|
|
128
|
+ {(tab === '3' && <Newuser id={id} type={type} getData={()=>getData({ id: id, type: type })}/>)}
|
128
|
129
|
{/* 分享人数 */}
|
129
|
|
- {(tab === '4' && <Shares id={id} type={type}/>)}
|
|
130
|
+ {(tab === '4' && <Shares id={id} type={type} getData={()=>getData({ id: id, type: type })}/>)}
|
130
|
131
|
{/* 分享次数 */}
|
131
|
|
- {(tab === '5' && <ShareNum id={id} type={type}/>)}
|
|
132
|
+ {(tab === '5' && <ShareNum id={id} type={type} getData={()=>getData({ id: id, type: type })}/>)}
|
132
|
133
|
|
133
|
134
|
{/* { (tab === 'desc' && <Icon type="question-circle" theme="filled" style={{ fontSize: '25px', color: '#F00', marginLeft:'30px'}} />)} */}
|
134
|
135
|
|