Commit 7fc8b8b1 by zhanghaozhe

Merge branch 'master' of gitlab.julyedu.com:baiguangyao/mr-julyedu

parents b02c4e5a 3a55b0b0
...@@ -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,
} }
} }
...@@ -529,6 +530,8 @@ class Detail extends Component { ...@@ -529,6 +530,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