Authored by dongjunjie

overview时间

... ... @@ -51,9 +51,10 @@
<div class="dataModle2">
<p>较上周同期</p>
<h2 class="middle" v-show="rankChange == 0"><i>↑</i><b>{{rankChange}}</b>个名次</h2>
<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-show="!rankChange">个名次</h2>
</div>
</div>
<div class="clearfix"></div>
... ... @@ -138,7 +139,7 @@
var rs = response.data;
self.buyNumbers = rs.data.buyNumbers;
self.orderAmount = rs.data.orderAmount;
self.overViewUpdateTime = rs.data.hour;
self.overViewUpdateTime = rs.data.hour.substring(0,5);
}, function (response) {
var rs = response.data;
console.log(rs.message);
... ...