Commit 60a08e0e by zhanghaozhe

Merge branch '00' into dev

parents 60cca55d 0d127fe8
...@@ -289,8 +289,7 @@ class Landing extends Component { ...@@ -289,8 +289,7 @@ class Landing extends Component {
const {data} = res.data const {data} = res.data
return data.url return data.url
}).then(text => { }).then(text => {
//todo text QRCode.toDataURL('text')
QRCode.toDataURL('m.julyedu.com')
.then(url => { .then(url => {
Popup({ Popup({
title: '提醒服务', title: '提醒服务',
...@@ -546,7 +545,7 @@ class Landing extends Component { ...@@ -546,7 +545,7 @@ class Landing extends Component {
</> </>
} }
{ {
status === 2 && !activityEnd && < button type='button' className={'invite-btn'} onClick={this.joinTeam}> !(standby_plan && browser.isWeixin) && status === 2 && !activityEnd && < button type='button' className={'invite-btn'} onClick={this.joinTeam}>
同意加入队伍 同意加入队伍
</button> </button>
} }
......
...@@ -102,7 +102,6 @@ class TeamInfo extends Component { ...@@ -102,7 +102,6 @@ class TeamInfo extends Component {
// 直接跳转 // 直接跳转
if (!getParam('version')) { if (!getParam('version')) {
//todo 域名
this.props.history.push('/activity/newyear-2019/landing?origin=1&treasure_code=' + treasure_code); this.props.history.push('/activity/newyear-2019/landing?origin=1&treasure_code=' + treasure_code);
// window.location.assign('https://h5.julyedu.com/activity/newyear-2019/landing?origin=1&treasure_code=' + treasure_code); // window.location.assign('https://h5.julyedu.com/activity/newyear-2019/landing?origin=1&treasure_code=' + treasure_code);
} 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