Commit 5e5d47fe by zhanghaozhe

宝箱标题

parent b42ad7a7
...@@ -43,7 +43,7 @@ class Landing extends Component { ...@@ -43,7 +43,7 @@ class Landing extends Component {
this.fetchPageData() this.fetchPageData()
this.getIndexData() this.getIndexData()
window.showFollowAlert = this.remind.bind(this, 'create') window.showFollowAlert = this.remind.bind(this, 'create')
document.title = 'AI充电季,开宝箱免费学AI爆款好课,300本程序员必备纸质书免费送,AI进阶宝典来就送!-七月在线' document.title = 'AI就业季,开宝箱免费拿VIP年会员,200本程序员必备纸质书免费包邮送!- 七月在线'
const landing = document.querySelector('#landing') const landing = document.querySelector('#landing')
const boxContainer = document.querySelector('.box-container') const boxContainer = document.querySelector('.box-container')
if (boxContainer.offsetHeight < window.innerHeight) { if (boxContainer.offsetHeight < window.innerHeight) {
......
...@@ -43,7 +43,7 @@ class MyTreasure extends Component { ...@@ -43,7 +43,7 @@ class MyTreasure extends Component {
componentDidMount() { componentDidMount() {
this.fetchMyTreasure() this.fetchMyTreasure()
this.fetchActivityStatus() this.fetchActivityStatus()
document.title = 'AI充电季,开宝箱免费学AI爆款好课,300本程序员必备纸质书免费送,AI进阶宝典来就送!-七月在线'; document.title = 'AI就业季,开宝箱免费拿VIP年会员,200本程序员必备纸质书免费包邮送!- 七月在线';
} }
componentWillReceiveProps(nextProp) { componentWillReceiveProps(nextProp) {
......
...@@ -39,7 +39,7 @@ export default class index extends Component { ...@@ -39,7 +39,7 @@ export default class index extends Component {
_this.loginInfo(result) _this.loginInfo(result)
} }
_this.getStage() _this.getStage()
document.title = 'AI充电季,开宝箱免费学AI爆款好课,300本程序员必备纸质书免费送,AI进阶宝典来就送!-七月在线'; document.title = 'AI就业季,开宝箱免费拿VIP年会员,200本程序员必备纸质书免费包邮送!- 七月在线';
} }
// 获取app登录数据 // 获取app登录数据
......
...@@ -23,9 +23,9 @@ class YarnWish extends Component { ...@@ -23,9 +23,9 @@ class YarnWish extends Component {
componentWillUpdate() { componentWillUpdate() {
const {activityStage} = this.state const {activityStage} = this.state
if (activityStage == 1) { if (activityStage == 1) {
document.title = `七月在线年终大回馈,人气好课免费学,精品课程1分抢!` document.title = `AI就业季,开宝箱免费拿VIP年会员,200本程序员必备纸质书免费包邮送!- 七月在线`
} else { } else {
document.title = `七月在线年终大回馈,人气好课免费学,精品课程1分抢!` document.title = `AI就业季,开宝箱免费拿VIP年会员,200本程序员必备纸质书免费包邮送!- 七月在线`
} }
} }
......
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