Commit 85a5180b by wangshuo

Merge branch '11-11-formal' into pre

parents 14b5092e 91107a94
...@@ -119,7 +119,6 @@ class BlessingPreheat extends Component { ...@@ -119,7 +119,6 @@ class BlessingPreheat extends Component {
} }
componentDidMount() { componentDidMount() {
document.title = `11.11-11.13 AI充电节,预热来袭!积福气享1折秒课,海量奖品来就送-七月在线`
this.fetchUserBlessing() this.fetchUserBlessing()
this.setInitialNavActiveStatus() this.setInitialNavActiveStatus()
window.addEventListener('scroll', throttle(this.calcNavActive, 100)) window.addEventListener('scroll', throttle(this.calcNavActive, 100))
...@@ -155,6 +154,14 @@ class BlessingPreheat extends Component { ...@@ -155,6 +154,14 @@ class BlessingPreheat extends Component {
} }
componentWillUpdate() {
const {isFormal} = this.state;
if(isFormal === 1) {
document.title = `11.11-11.13 AI充电节,为AI出击!重磅好课1折秒,海量奖品来就送-七月在线`
}else{
document.title = `11.11-11.13 AI充电节,预热来袭!积福气享1折秒课,海量奖品来就送-七月在线`
}
}
// 获取app登录数据 // 获取app登录数据
loginInfo = (result) => { loginInfo = (result) => {
......
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