|
|
@@ -10,7 +10,7 @@
|
|
|
</ul>
|
|
|
<ul class="list-unstyled">
|
|
|
<li v-for="(c, index) in counts" :style="'top: -' + 30 * timerIndex + 'px'" :class="{'top': isTop}">
|
|
|
- <count-item :value ="c"></count-item>
|
|
|
+ <count-item :value ="c" :index ="index"></count-item>
|
|
|
</li>
|
|
|
</ul>
|
|
|
</div>
|
|
|
@@ -85,7 +85,7 @@
|
|
|
}
|
|
|
num += '<span style="color: #333">万</span>'
|
|
|
} else {
|
|
|
- if (type === 1 || type === 2) {
|
|
|
+ if (type === 1) {
|
|
|
num += '<span style="color: #333">元</span>'
|
|
|
} else {
|
|
|
num += ''
|
|
|
@@ -127,7 +127,7 @@
|
|
|
return this.$store.state.count.allCount.data
|
|
|
},
|
|
|
payMoneyLast () {
|
|
|
- return this.allCount[0] ? this.formatNumber(this.allCount[0].count, 2) : 0
|
|
|
+ return this.allCount[0] ? this.formatNumber(this.allCount[0].count, 1) : 0
|
|
|
},
|
|
|
payMoney () {
|
|
|
return this.allCount[1] ? this.formatNumber(this.allCount[1].count, 1) : 0
|