Logo white

BJ_web_developers / dyitoc

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • dyitoc
  • src
  • components
  • total.vue
  • filter
    841f35d2
    liuqimichale authored
    2018-11-29 19:50:49 +0800  
    Browse Code »
total.vue 376 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
<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>