提交 61efaf5f 编写于 作者: Yuanzhao.dai's avatar Yuanzhao.dai

Merge branch 'dev-new-campaign-0302' of...

Merge branch 'dev-new-campaign-0302' of 192.168.110.53:com.pica.cloud.education.frontend/pica-new-compaign into dev-new-campaign-0302
......@@ -112,7 +112,7 @@ export default {
width: 80px;
display: flex;
flex-direction: column;
// margin-left: 15px;
margin-left: 8px;
text-align: center;
.score {
height: 18px;
......
......@@ -17,7 +17,7 @@
</div>
</div>
<div class="info-score">
<p>{{rank}}<span v-if="rank > 100">+</span></p>
<p>{{rankNum}}<span v-if="rank > 100">+</span></p>
<span class="text">我的排名</span>
</div>
</div>
......@@ -88,6 +88,7 @@ export default {
name: '',
allScore: 0,
rank: 0,
rankNum: 0,
firstScore: 0,
lastScore: 0
}
......@@ -112,7 +113,8 @@ export default {
this.allScore = res.data.totalScore;
this.userId = res.data.id;
this.name = res.data.name;
this.rank = res.data.rank > 100 ? 100 : res.data.rank;
this.rankNum = res.data.rank > 100 ? 100 : res.data.rank;
this.rank = res.data.rank;
this.firstScore = res.data.firstScore;
this.lastScore = res.data.lastScore;
})
......@@ -257,7 +259,6 @@ export default {
height: 8px;
margin-top: 5px;
border-radius: 50%;
border-radius: 50%;
transform: scale(.5);
transform-origin: 0% center;
background: #fff;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册