Commit fb6e2126 by wangshuo

Merge branch 'box'

parents f63381f3 0a5f37e0
......@@ -160,7 +160,9 @@ class Landing extends Component {
} else {
Toast.info(msg, 2, null, false)
if (code !== 520) {
Toast.info(msg, 2, null, false)
}
}
})
}
......@@ -352,9 +354,9 @@ class Landing extends Component {
const {data} = res.data
return data.url
}).then(text => {
//todo 更换正式二维码
//todo 更换正式二维码
// QRCode.toDataURL('aaa')
QRCode.toDataURL(text)
QRCode.toDataURL(text)
.then(url => {
Popup({
title: '提醒服务',
......
......@@ -183,7 +183,7 @@
width: 320px;
height: 44px;
line-height: 44px;
margin: 14.5px auto 57px;
margin: 14.5px auto 14px;
color: #0B7B45;
font-size: 15px;
background: #FFE300;
......@@ -195,7 +195,6 @@
}
.certainly-prompt {
margin-top: 27px;
padding-bottom: 16px;
font-size: 14px;
color: #FFE300;
......
......@@ -608,14 +608,16 @@ class YearCourse extends Component {
const { stage,treasureStage } = this.props
return (
<div className={'year-index-course'}>
<div className='nav-right-wish nav-right'>
<span onClick={this.toBoxList} className='nav-right__link'>未开宝箱
{
removable > 0 &&
<i className="nav-right__number">{removable}</i>
}
</span>
</div>
{
removable > 0 && (
<div className='nav-right-wish nav-right'>
<span onClick={this.toBoxList} className='nav-right__link'>未开宝箱
<i className="nav-right__number">{removable}</i>
</span>
</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