Authored by dongjunjie

首页bug

... ... @@ -57,7 +57,7 @@
<h2 class="up" v-show="rankChange > 0"><i>↑</i><b>{{rankChange}}</b>个名次</h2>
<h2 class="middle" v-show="rankChange == 0"><i>--</i><b>{{rankChange}}</b>个名次</h2>
<h2 class="down" v-show="rankChange < 0"><i>↓</i><b>{{-rankChange}}</b>个名次</h2>
<h2 v-else><b>--</b>个名次</h2>
<h2 v-show="!rankChange"><b>--</b>个名次</h2>
</div>
</div>
... ... @@ -166,7 +166,7 @@
}).then(function (response) {
var rs = response.data;
self.rankNow = rs.data.rankNow?rs.data.rankNow:'--';
self.rankChange = rs.data.rankChange?rs.data.rankChange:'--';
self.rankChange = rs.data.rankChange?rs.data.rankChange:null;
self.rankLevel = rs.data.rankLevel?rs.data.rankLevel:'';
}, function (response) {
var rs = response.data;
... ...