chore: 钱包余额明细

This commit is contained in:
xiaojunnuo
2026-05-24 23:12:56 +08:00
parent 961abb0f80
commit 0a77fe0169
10 changed files with 705 additions and 174 deletions
@@ -13,11 +13,13 @@ const props = withDefaults(
modelValue?: number;
edit?: boolean;
fontSize?: number;
zeroText?: string;
}>(),
{
modelValue: 0,
edit: false,
fontSize: 14,
zeroText: "¥0",
}
);
@@ -39,7 +41,7 @@ const priceValue = computed(() => {
const priceLabel = computed(() => {
if (priceValue.value === 0) {
return "免费";
return props.zeroText;
}
return `¥${priceValue.value}`;
});