Commit fb6e2126 by wangshuo

Merge branch 'box'

parents f63381f3 0a5f37e0
...@@ -160,8 +160,10 @@ class Landing extends Component { ...@@ -160,8 +160,10 @@ class Landing extends Component {
} else { } else {
if (code !== 520) {
Toast.info(msg, 2, null, false) Toast.info(msg, 2, null, false)
} }
}
}) })
} }
......
...@@ -183,7 +183,7 @@ ...@@ -183,7 +183,7 @@
width: 320px; width: 320px;
height: 44px; height: 44px;
line-height: 44px; line-height: 44px;
margin: 14.5px auto 57px; margin: 14.5px auto 14px;
color: #0B7B45; color: #0B7B45;
font-size: 15px; font-size: 15px;
background: #FFE300; background: #FFE300;
...@@ -195,7 +195,6 @@ ...@@ -195,7 +195,6 @@
} }
.certainly-prompt { .certainly-prompt {
margin-top: 27px;
padding-bottom: 16px; padding-bottom: 16px;
font-size: 14px; font-size: 14px;
color: #FFE300; color: #FFE300;
......
...@@ -608,14 +608,16 @@ class YearCourse extends Component { ...@@ -608,14 +608,16 @@ class YearCourse extends Component {
const { stage,treasureStage } = this.props const { stage,treasureStage } = this.props
return ( return (
<div className={'year-index-course'}> <div className={'year-index-course'}>
{
removable > 0 && (
<div className='nav-right-wish nav-right'> <div className='nav-right-wish nav-right'>
<span onClick={this.toBoxList} className='nav-right__link'>未开宝箱 <span onClick={this.toBoxList} className='nav-right__link'>未开宝箱
{
removable > 0 &&
<i className="nav-right__number">{removable}</i> <i className="nav-right__number">{removable}</i>
}
</span> </span>
</div> </div>
)
}
</div> </div>
) )
} }
......
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