Commit ee3876c8 by zhanghaozhe

Merge branch 'bug0117' of gitlab.julyedu.com:baiguangyao/mr-julyedu into bug0117

parents 20680b76 84761356
...@@ -114,7 +114,7 @@ class Prizes extends Component { ...@@ -114,7 +114,7 @@ class Prizes extends Component {
item.grant_max item.grant_max
? ?
<div className='bottom-bar'> <div className='bottom-bar'>
<div className="progress-bar"><span className={'progress'}/></div> <div className="progress-bar"><span className={'progress'} style={{width: `${(item.surplus / item.grant_max) * 100}%`}}/></div>
<span>限量{item.grant_max}</span> <span>限量{item.grant_max}</span>
</div> </div>
: <span className='no-limit'>不限量</span> : <span className='no-limit'>不限量</span>
......
...@@ -178,7 +178,7 @@ ...@@ -178,7 +178,7 @@
position: absolute; position: absolute;
right: 0; right: 0;
top: 0; top: 0;
width: 80%; //width: 80%;
height: 100%; height: 100%;
background: linear-gradient(-90deg, rgba(255, 140, 0, 1) 0%, rgba(255, 23, 0, 1) 100%); background: linear-gradient(-90deg, rgba(255, 140, 0, 1) 0%, rgba(255, 23, 0, 1) 100%);
border-radius: 1px; border-radius: 1px;
......
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