Commit 8bab3a17 by wangshuo

单集购买问题

parent 95bbf036
...@@ -533,11 +533,12 @@ class Detail extends Component { ...@@ -533,11 +533,12 @@ class Detail extends Component {
/>} />}
{/* 单集购买成功弹窗 */} {/* 单集购买成功弹窗 */}
{ {
singleType != 1 && singleType !== 1 &&
<SingleSuccess <SingleSuccess
boxHide={this.boxHide} boxHide={this.boxHide}
data={this.state.singMess} data={this.state.singMess}
singleType={singleType} singleType={singleType}
vcourseId={course_info.v_course_id}
videoId={this.state.singMess.video_id} videoId={this.state.singMess.video_id}
nowPrice={this.state.nowPrice} nowPrice={this.state.nowPrice}
laterPrice={this.state.laterPrice} laterPrice={this.state.laterPrice}
......
...@@ -172,7 +172,7 @@ class Single extends Component { ...@@ -172,7 +172,7 @@ class Single extends Component {
}, 1000) }, 1000)
} }
const { singleType } = this.props; const { singleType } = this.props;
console.log(this.state.singleBox); console.log(this.props);
return ( return (
<div className='popup-box'> <div className='popup-box'>
{ {
......
...@@ -719,6 +719,7 @@ class Video extends Component { ...@@ -719,6 +719,7 @@ class Video extends Component {
boxHide={this.boxHide} boxHide={this.boxHide}
data={this.state.singMess} data={this.state.singMess}
singleType={singleType} singleType={singleType}
vcourseId={course.v_course_id}
videoId={this.state.singMess.video_id} videoId={this.state.singMess.video_id}
nowPrice={this.state.nowPrice} nowPrice={this.state.nowPrice}
laterPrice={this.state.laterPrice} laterPrice={this.state.laterPrice}
......
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