-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathToman.vue
42 lines (41 loc) · 2.5 KB
/
Toman.vue
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
30
31
32
33
34
35
36
37
38
39
40
41
42
<template>
<div class="v-toman">
<div class="vt-amount">{{ formatNumber(value, ",") }}</div>
<div class="vt-icon icon">
<svg
viewBox="0 0 24 24"
fill="currentColor"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M2.4,11.6c0.4,0.2,0.8,0.4,1.3,0.6c-0.1,0.2-0.2,0.4-0.2,0.6c-0.2,0.5-0.3,0.9-0.3,1.4c0,0.8,0.3,1.3,1.1,1.5
c0.8,0.2,1.5,0.2,2.3-0.2C6.7,15.3,7,15.2,7.2,15c0.3-0.4,0.4-0.7,0.3-1.2c-0.2-0.7-0.4-1.4-0.7-2.1c0-0.1,0-0.2,0-0.3
c0.3-0.6,0.6-1.2,0.9-1.8c0-0.1,0.1-0.1,0.1-0.1c0.7-0.2,1.4-0.5,2.1-0.7c0.2-0.1,0.4-0.1,0.6-0.1C11,8.7,11.4,9,11.4,9.5
c0.1,0.4,0.1,0.8,0.1,1.2c0,1.1,0.1,2.1,0.1,3.2c0,0.2,0,0.3,0.1,0.5c0.1,0.2,0.2,0.4,0.4,0.4c0.2,0,0.5,0,0.8,0
c0.4,0,0.6-0.3,0.9-0.6c0.1-0.2,0.3-0.4,0.4-0.6c0.3-0.4,0.5-0.9,0.9-1.2c0.2-0.3,0.5-0.5,0.9-0.5c0.6-0.1,1.1,0.1,1.5,0.5
c0.4,0.3,0.6,0.8,0.8,1.2c0.2,0.4,0.3,0.8,0.4,1.3c0.4,0,0.9,0,1.3-0.1c0.2,0,0.5-0.1,0.8-0.1c0.2-0.1,0.3-0.1,0.2-0.4
c-0.1-0.6-0.3-1.1-0.5-1.7c0,0,0-0.1,0-0.1c0.5-0.2,0.9-0.5,1.4-0.8c0,0.1,0,0.1,0.1,0.1c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7,0.7-1.1,1.1C4.7,11,4.4,10.6,4,10.3z"
/>
</svg>
</div>
</div>
</template>
<script lang="ts" setup>
import { defineProps } from "vue";
import { formatNumber } from "@termehui/utils";
defineProps({ value: Number });
</script>