|
@@ -23,6 +23,7 @@ class AccessNoticeDetail extends Component {
|
|
|
time: '',
|
|
|
week: '',
|
|
|
pic: '',
|
|
|
+ pic2: '',
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -38,7 +39,7 @@ class AccessNoticeDetail extends Component {
|
|
|
}
|
|
|
|
|
|
render() {
|
|
|
- const {recordType, stuName, date, time, week, pic} = this.state
|
|
|
+ const {recordType, stuName, date, time, week, pic, pic2} = this.state
|
|
|
|
|
|
return (
|
|
|
<div className='common-flex-column' style={{background: 'white'}}>
|
|
@@ -61,6 +62,11 @@ class AccessNoticeDetail extends Component {
|
|
|
<img className='access-notice-img'
|
|
|
src={pic}/>
|
|
|
</div>
|
|
|
+
|
|
|
+ {pic2 && <div className='access-notice-img-layout'>
|
|
|
+ <img className='access-notice-img'
|
|
|
+ src={pic2}/>
|
|
|
+ </div>}
|
|
|
</div>
|
|
|
)
|
|
|
}
|
|
@@ -86,6 +92,7 @@ class AccessNoticeDetail extends Component {
|
|
|
time: time,
|
|
|
week: data.weekDays,
|
|
|
pic: data.recordFile,
|
|
|
+ pic2: data.recordFile2 || "",
|
|
|
})
|
|
|
}
|
|
|
})
|