Commit afad70ad by xuzhenghua

bug

parent 9f6e600a
...@@ -95,7 +95,7 @@ class LiveRoom extends Component { ...@@ -95,7 +95,7 @@ class LiveRoom extends Component {
this.props.getIndexData() 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=124#wechat_redirect';
} else { } else {
Toast.info(res.data.data.msg, 2) Toast.info(res.data.data.msg, 2)
} }
...@@ -135,7 +135,7 @@ class LiveRoom extends Component { ...@@ -135,7 +135,7 @@ class LiveRoom extends Component {
// 服务号预约 // 服务号预约
serverStep = () => { serverStep = () => {
if (this.state.isfollow == 2) { if (this.state.isfollow == 2) {
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=124#wechat_redirect';
} else { } else {
this.livePrepare(this.props.roomMess.room_id, 1, 1, '') this.livePrepare(this.props.roomMess.room_id, 1, 1, '')
} }
......
...@@ -103,6 +103,8 @@ html,body,#root { ...@@ -103,6 +103,8 @@ html,body,#root {
.pull-down { .pull-down {
width: 32px; width: 32px;
height: 35px;
line-height: 35px;
position: absolute; position: absolute;
top: 4px; top: 4px;
right: 0; right: 0;
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
img { img {
width: 62.5%; width: 62.5%;
height: 800px;
} }
} }
......
...@@ -154,6 +154,10 @@ class Cart extends Component { ...@@ -154,6 +154,10 @@ class Cart extends Component {
http.post(`${API.home}/m/cart/remove`, data).then((res) => { http.post(`${API.home}/m/cart/remove`, data).then((res) => {
if (res.data.code === 200) { if (res.data.code === 200) {
this.getList() this.getList()
this.setState({
checkedNum: 0,
allPrice:0
})
} else { } else {
Toast.info(res.data.msg, 2); Toast.info(res.data.msg, 2);
} }
......
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