|
@@ -43,7 +43,6 @@ export default class Popup extends Component {
|
|
|
}
|
|
|
|
|
|
getData = (curObj) => {
|
|
|
- console.log(curObj)
|
|
|
this.setState({
|
|
|
curObj
|
|
|
})
|
|
@@ -82,12 +81,12 @@ export default class Popup extends Component {
|
|
|
const { isPopupShow, curObj, countNum } = this.state
|
|
|
const bgClose = require('@img/icon_g_close2.png')
|
|
|
return (
|
|
|
- <View className={isPopupShow ? 'l-modal-box' : 'l-modal-box hide'}>
|
|
|
+ <View className={isPopupShow && curObj.images ? 'l-modal-box' : 'l-modal-box hide'}>
|
|
|
<View className='lmb-bg'></View>
|
|
|
<View className='lmb-body'>
|
|
|
<View className="scoped-box">
|
|
|
<Image src={curObj.images} className="img" onClick={this.moreHandle.bind(this)} />
|
|
|
- <View className="count">
|
|
|
+ <View className="count" onClick={this.closePopup.bind(this)}>
|
|
|
<View className="bg"></View>
|
|
|
<View className="t">跳过{countNum}</View>
|
|
|
</View>
|