Commit 5f12b8e8 by wangshuo

打包

parent 62a65bae
......@@ -22,7 +22,7 @@ class Single extends Component {
endTime: '',
groupOrderId: '',
payType: '0', // 1支付宝 0微信
singleBox: false,
showSingleBox: false,
}
}
......@@ -37,7 +37,7 @@ class Single extends Component {
componentWillReceiveProps(nextProps, nextContext) {
this.setState({
singleBox: nextProps.singleBox
showSingleBox: nextProps.singleBox
})
}
......@@ -294,7 +294,7 @@ class Single extends Component {
}
render() {
let {singleBox} = this.state;
const { showSingleBox } = this.state;
if (this.state.endTime) {
let date = this.state.endTime * 1000
let now = Date.now()
......@@ -314,7 +314,7 @@ class Single extends Component {
return (
<div>
{
singleBox &&
showSingleBox &&
<div className='popup-box'>
{
this.state.status === 1 &&
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment