Commit 5944dfd6 by wangshuo

头图

parent 3a55e0d5
...@@ -97,10 +97,10 @@ class Banner extends Component { ...@@ -97,10 +97,10 @@ class Banner extends Component {
render() { render() {
const { toSection, navs, index } = this.props; const { toSection, navs, index, isFormal } = this.props;
return ( return (
<div id={'main-banner'}> <div id={'main-banner'}>
<div className="banner"></div> <div className={`banner ${isFormal?'formal_banner':''}`}></div>
<nav id={'main-nav'}> <nav id={'main-nav'}>
<ul> <ul>
{ {
......
...@@ -88,6 +88,7 @@ class BlessingPreheat extends Component { ...@@ -88,6 +88,7 @@ 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))
......
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