|
@@ -43,11 +43,11 @@ class EmergencyModal extends React.Component{
|
|
}
|
|
}
|
|
handleImgShow(flg){
|
|
handleImgShow(flg){
|
|
this.setState({imgShow:flg},()=>{
|
|
this.setState({imgShow:flg},()=>{
|
|
- if(flg){
|
|
|
|
- dragBox('dragModalWrap','dragModalTitle','add')
|
|
|
|
- }else{
|
|
|
|
- dragBox('dragModalWrap','dragModalTitle','del')
|
|
|
|
- }
|
|
|
|
|
|
+ // if(flg){
|
|
|
|
+ // dragBox('dragModalWrap','dragModalTitle','add')
|
|
|
|
+ // }else{
|
|
|
|
+ // dragBox('dragModalWrap','dragModalTitle','del')
|
|
|
|
+ // }
|
|
})
|
|
})
|
|
}
|
|
}
|
|
render(){
|
|
render(){
|
|
@@ -65,7 +65,7 @@ class EmergencyModal extends React.Component{
|
|
<div className={styles.imageModalWrap} onClick={()=>{this.handleImgShow(false)}}></div>
|
|
<div className={styles.imageModalWrap} onClick={()=>{this.handleImgShow(false)}}></div>
|
|
<div className={styles.imageModal} id="dragModalWrap">
|
|
<div className={styles.imageModal} id="dragModalWrap">
|
|
<img src={idx==1?pic1:idx==2?pic2:idx==3?pic3:idx==4?pic4:idx==5?pic5:null}/>
|
|
<img src={idx==1?pic1:idx==2?pic2:idx==3?pic3:idx==4?pic4:idx==5?pic5:null}/>
|
|
- <div id="dragModalTitle" className={`${styles.dragImgWrap} drag-title`}>
|
|
|
|
|
|
+ <div id="dragModalTitle" className={styles.dragImgWrap}>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</React.Fragment>:null
|
|
</React.Fragment>:null
|