Commit bf071286 by FE

split text

parent e6594804
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -70,7 +70,7 @@ class SplitSuccess extends Component { ...@@ -70,7 +70,7 @@ class SplitSuccess extends Component {
{ {
item.prize item.prize
? <span className="member-item__prize">{item.prize}</span> ? <span className="member-item__prize">{item.prize}</span>
: <span className="member-item__prize">尚未开宝箱</span> : <span className="member-item__prize">尚未开宝箱</span>
} }
</div> </div>
)) ))
......
...@@ -161,7 +161,7 @@ class TreasureTeam extends Component { ...@@ -161,7 +161,7 @@ class TreasureTeam extends Component {
{ {
currentMember.prize_name currentMember.prize_name
? <p className="team-prize">{currentMember.prize_name}</p> ? <p className="team-prize">{currentMember.prize_name}</p>
: <p className="team-prize">尚未开宝箱</p> : <p className="team-prize">尚未开宝箱</p>
} }
{ {
currentMember.uid == userInfo.uid currentMember.uid == userInfo.uid
......
...@@ -175,7 +175,7 @@ export default class index extends Component { ...@@ -175,7 +175,7 @@ export default class index extends Component {
{/*浮框*/} {/*浮框*/}
<div className='nav-right'> <div className='nav-right'>
<span onClick={this.toBoxList} className='nav-right__link'> <span onClick={this.toBoxList} className='nav-right__link'>
宝箱 宝箱
{ {
removable > 0 && removable > 0 &&
<i className="nav-right__number">{removable}</i> <i className="nav-right__number">{removable}</i>
......
...@@ -120,7 +120,7 @@ class TeamInfo extends Component { ...@@ -120,7 +120,7 @@ class TeamInfo extends Component {
} else if (removable === 0) { } else if (removable === 0) {
Text = `共${total}个宝箱`; Text = `共${total}个宝箱`;
} else { } else {
Text = `共${total}个宝箱/${removable}个未`; Text = `共${total}个宝箱/${removable}个未`;
} }
return ( return (
......
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