Merge branch 'yohobuy-shop-dev-4.6-20160606' of http://git.yoho.cn/fe/yohobuy-sh…
…op-fe2 into yohobuy-shop-dev-4.6-20160606
Showing
1 changed file
with
2 additions
and
2 deletions
@@ -57,7 +57,7 @@ | @@ -57,7 +57,7 @@ | ||
57 | <h2 class="up" v-show="rankChange > 0"><i>↑</i><b>{{rankChange}}</b>个名次</h2> | 57 | <h2 class="up" v-show="rankChange > 0"><i>↑</i><b>{{rankChange}}</b>个名次</h2> |
58 | <h2 class="middle" v-show="rankChange == 0"><i>--</i><b>{{rankChange}}</b>个名次</h2> | 58 | <h2 class="middle" v-show="rankChange == 0"><i>--</i><b>{{rankChange}}</b>个名次</h2> |
59 | <h2 class="down" v-show="rankChange < 0"><i>↓</i><b>{{-rankChange}}</b>个名次</h2> | 59 | <h2 class="down" v-show="rankChange < 0"><i>↓</i><b>{{-rankChange}}</b>个名次</h2> |
60 | - <h2 v-else><b>--</b>个名次</h2> | 60 | + <h2 v-show="!rankChange"><b>--</b>个名次</h2> |
61 | </div> | 61 | </div> |
62 | </div> | 62 | </div> |
63 | 63 | ||
@@ -166,7 +166,7 @@ | @@ -166,7 +166,7 @@ | ||
166 | }).then(function (response) { | 166 | }).then(function (response) { |
167 | var rs = response.data; | 167 | var rs = response.data; |
168 | self.rankNow = rs.data.rankNow?rs.data.rankNow:'--'; | 168 | self.rankNow = rs.data.rankNow?rs.data.rankNow:'--'; |
169 | - self.rankChange = rs.data.rankChange?rs.data.rankChange:'--'; | 169 | + self.rankChange = rs.data.rankChange?rs.data.rankChange:null; |
170 | self.rankLevel = rs.data.rankLevel?rs.data.rankLevel:''; | 170 | self.rankLevel = rs.data.rankLevel?rs.data.rankLevel:''; |
171 | }, function (response) { | 171 | }, function (response) { |
172 | var rs = response.data; | 172 | var rs = response.data; |
-
Please register or login to post a comment