Commit 81408269 by zhanghaozhe

Merge branch '00' into pre

parents 5676994e 784ef1fe
...@@ -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}/>
...@@ -97,10 +98,10 @@ class Prizes extends Component { ...@@ -97,10 +98,10 @@ class Prizes extends Component {
<li key={index}> <li key={index}>
{ {
item.img_name item.img_name
? <i className="prize-list__image" style={{ ? <i className="prize-list__image" style={{
backgroundImage: `url(${item.img_name})` backgroundImage: `url(${item.img_name})`
}}></i> }}/>
: <i className="prize-list__image"></i> : <i className="prize-list__image"/>
} }
{/* <img src={item.img_name} alt=""/> */} {/* <img src={item.img_name} alt=""/> */}
{ {
......
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