Commit bb31fe77 by wangshuo

定位

parent a30b53fa
......@@ -82,6 +82,28 @@ class BlessingPreheat extends Component {
id: 'live'
},
],
formalNavs: [
{
text: '幸运大抽奖',
id: 'lucky-draw'
},
{
text: '积福气',
id: 'lucky-value'
},
{
text: '精品特惠',
id: 'best-courses'
},
{
text: 'AI测试',
id: 'ai-test'
},
{
text: '大咖直播',
id: 'live'
},
],
index: 0,
userHasError: props.user.hasError,
isApp: false,
......@@ -225,10 +247,10 @@ class BlessingPreheat extends Component {
}
initNav = (isFormal) => {
const {navs} = this.state
const {formalNavs} = this.state
if (isFormal) {
this.setState({
navs: navs.filter(item => item.id !== 'deposit')
navs: formalNavs
})
}
}
......
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