Commit 3a55b0b0 by wangshuo

BUG解决

parent d0b782ad
...@@ -18,8 +18,6 @@ import {compose, bindActionCreators} from "redux"; ...@@ -18,8 +18,6 @@ import {compose, bindActionCreators} from "redux";
class Detail extends Component { class Detail extends Component {
courseId
constructor(props) { constructor(props) {
super(props) super(props)
this.state = { this.state = {
...@@ -37,7 +35,10 @@ class Detail extends Component { ...@@ -37,7 +35,10 @@ class Detail extends Component {
countdown: '00:00:00', countdown: '00:00:00',
outList: [], outList: [],
list: [], list: [],
course: {} course: {},
nowPrice: 0,
laterPrice: 0,
} }
} }
...@@ -531,6 +532,8 @@ class Detail extends Component { ...@@ -531,6 +532,8 @@ class Detail extends Component {
data={this.state.singMess} data={this.state.singMess}
singleType={singleType} singleType={singleType}
videoId={this.state.singMess.video_id} videoId={this.state.singMess.video_id}
nowPrice={this.state.nowPrice}
laterPrice={this.state.laterPrice}
payCallBack={this.payCallBack} payCallBack={this.payCallBack}
/> />
} }
......
...@@ -40,7 +40,6 @@ class Login extends Component { ...@@ -40,7 +40,6 @@ class Login extends Component {
window.location.assign(`${API["passport-api"]}/mob/qqlogin?redirect_url=${encodeURIComponent(redirectURI)}`); window.location.assign(`${API["passport-api"]}/mob/qqlogin?redirect_url=${encodeURIComponent(redirectURI)}`);
break; break;
default: default:
alert(item.url);
window.location.assign(item.url) window.location.assign(item.url)
} }
......
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