Commit cbb04be1 by xuzhenghua

直播见

parent e1d724a9
...@@ -94,7 +94,7 @@ class Index extends Component { ...@@ -94,7 +94,7 @@ class Index extends Component {
roomMess: item roomMess: item
}) })
} else { } else {
window.location.href = `http://www-test.julyedu.com/live/m_room/${item.room_id}` window.location.href = `http://www.julyedu.com/live/m_room/${item.room_id}`
} }
} }
} }
......
...@@ -518,10 +518,16 @@ ...@@ -518,10 +518,16 @@
} }
span { span {
width: 220px;
display: inline-block; display: inline-block;
margin-top: 12px; margin-top: 12px;
height: 27px;
line-height: 27px;
font-size: 16px; font-size: 16px;
color: $redprice; color: $redprice;
position: absolute;
margin-left: -110px;
bottom: 10px;
} }
} }
} }
......
...@@ -92,6 +92,8 @@ class LiveRoom extends Component { ...@@ -92,6 +92,8 @@ class LiveRoom extends Component {
this.setState({ this.setState({
toSubscribe: false toSubscribe: false
}) })
this.props.getIndexData()
} else if (res.data.data.status === 5) { } else if (res.data.data.status === 5) {
window.location.href = 'https://mp.weixin.qq.com/mp/profile_ext?action=home&__biz=MzIyMzMzMTIwNA==&scene=126&bizpsid=0&subscene=0#wechat_redirect'; window.location.href = 'https://mp.weixin.qq.com/mp/profile_ext?action=home&__biz=MzIyMzMzMTIwNA==&scene=126&bizpsid=0&subscene=0#wechat_redirect';
} else { } else {
...@@ -161,6 +163,7 @@ class LiveRoom extends Component { ...@@ -161,6 +163,7 @@ class LiveRoom extends Component {
toSubscribe: false toSubscribe: false
}) })
Toast.info(res.data.msg, 2) Toast.info(res.data.msg, 2)
this.props.getIndexData()
} else if(res.data.code === 410){ } else if(res.data.code === 410){
Toast.info('请输入手机号', 2) Toast.info('请输入手机号', 2)
}else { }else {
......
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