<template>
  <div class="totalwrap">
    总计：{{initnum}}
  </div>
</template>

<script>
import {formatNum} from '../utils/formatNum'

export default {
  name: 'total',
  props: {
    totalNum: String
  },
  data() {
    return {
      initnum: formatNum(this.totalNum)
    }

  }
}
</script>

<style scoped>
  .totalwrap {
    height: 40px;
    color: #fff;
  }
</style>
