Commit 1ff1646f by wangshuo

打包

parent f8f1f32f
......@@ -35,12 +35,6 @@ class Single extends Component {
}
}
componentWillReceiveProps(nextProps, nextContext) {
this.setState({
showSingleBox: nextProps.singleBox
})
}
// 选择支付方式
check = (type) => {
this.setState({
......@@ -314,7 +308,7 @@ class Single extends Component {
return (
<div>
{
showSingleBox &&
this.props.singleBox &&
<div className='popup-box'>
{
this.state.status === 1 &&
......@@ -351,6 +345,11 @@ class Single extends Component {
<div className='btn btn-18B4ED' onClick={this.toBuy}>确认购买</div>
</div>
}
</div>
}
{
showSingleBox &&
<div className='popup-box'>
{
this.state.status === 2 &&
<div className='content payment-success'>
......
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