Commit 02ab4924 by zhanghaozhe

系统公告

parent 2f0c7dcd
...@@ -83,9 +83,10 @@ class Prizes extends Component { ...@@ -83,9 +83,10 @@ class Prizes extends Component {
const { const {
showSystemNotices showSystemNotices
} = this.props } = this.props
const {notices} = this.state
return ( return (
<> <>
{showSystemNotices && <SystemBulletScreen bullets={this.state.notices}/>} {showSystemNotices && notices && notices.length && <SystemBulletScreen bullets={notices}/>}
<div className={'prizes-box'} ref={el => this.prizeBox = el}> <div className={'prizes-box'} ref={el => this.prizeBox = el}>
<a href="javascript:;" className='rule-btn' onClick={this.showRules}>活动规则 > </a> <a href="javascript:;" className='rule-btn' onClick={this.showRules}>活动规则 > </a>
<div className={`bg`} ref={el => this.bg = el}/> <div className={`bg`} ref={el => this.bg = el}/>
......
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