金额使用整数, 不再扣押金, 价格每个人看到自己的-1

This commit is contained in:
yml2213
2026-05-27 00:22:26 +08:00
parent e270ce8bfc
commit 89f4dabfb3
27 changed files with 351 additions and 119 deletions
@@ -42,8 +42,8 @@ onMounted(async () => {
});
const orderTotal = computed(() => {
if (!listing.value) return "0.00";
return getListingDisplayPrice(listing.value).toFixed(2);
if (!listing.value) return "0";
return `${Math.round(getListingDisplayPrice(listing.value))}`;
});
const detailMetrics = computed(() => {