GITLAB

frontend / freight-ma

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • freight-ma
  • components
  • render
  • render-money.vue
  • c03c7b99   feat: 初始化项目 Browse Code »
    wuxiangrui
    2024-06-27 14:55:29 +0800  
render-money.vue 422 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
<template>
  <view class="render-money" :class="ddClassBind">
    <zui-icon name="rmb"></zui-icon>
    <zui-amount :value="value" has-separator></zui-amount>
  </view>
</template>

<script>
export default {
  props: {
    value: [String, Number]
  },
};
</script>

<style lang="scss">
.render-money {
  &, .zui-amount.numerical {
    display: inline-flex;
    white-space: nowrap;
    word-break: break-all;
  }
}
</style>