Commit fb6e2126 by wangshuo

Merge branch 'box'

parents f63381f3 0a5f37e0
...@@ -160,7 +160,9 @@ class Landing extends Component { ...@@ -160,7 +160,9 @@ class Landing extends Component {
} else { } else {
Toast.info(msg, 2, null, false) if (code !== 520) {
Toast.info(msg, 2, null, false)
}
} }
}) })
} }
...@@ -352,9 +354,9 @@ class Landing extends Component { ...@@ -352,9 +354,9 @@ class Landing extends Component {
const {data} = res.data const {data} = res.data
return data.url return data.url
}).then(text => { }).then(text => {
//todo 更换正式二维码 //todo 更换正式二维码
// QRCode.toDataURL('aaa') // QRCode.toDataURL('aaa')
QRCode.toDataURL(text) QRCode.toDataURL(text)
.then(url => { .then(url => {
Popup({ Popup({
title: '提醒服务', title: '提醒服务',
......
...@@ -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'}>
<div className='nav-right-wish nav-right'>
<span onClick={this.toBoxList} className='nav-right__link'>未开宝箱 {
{ removable > 0 && (
removable > 0 && <div className='nav-right-wish nav-right'>
<i className="nav-right__number">{removable}</i> <span onClick={this.toBoxList} className='nav-right__link'>未开宝箱
} <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