From 967fe95ccc62a0ee880b4ab19cb9577599f6a5f9 Mon Sep 17 00:00:00 2001 From: moux1024 <403053463@qq.com> Date: Fri, 26 Sep 2025 21:39:20 +0800 Subject: [PATCH] fix price --- app/pricing/page.tsx | 2 +- components/pages/home-page2.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/pricing/page.tsx b/app/pricing/page.tsx index 93ff639..2022048 100644 --- a/app/pricing/page.tsx +++ b/app/pricing/page.tsx @@ -79,7 +79,7 @@ function HomeModule5() { ? plan.price_month / 100 : plan.price_year / 100, originalPrice: plan.price_month / 100, - monthlyPrice: billingType === "month" ? 0 : plan.price_year / 1200, + monthlyPrice: billingType === "month" ? 0 : Math.round(plan.price_year / 12) / 100, discountMsg: `Saves $${(plan.price_month * 12 - plan.price_year) / 100} by billing yearly!`, credits: plan.description, buttonText: plan.is_free ? "Try For Free" : "Subscribe Now", diff --git a/components/pages/home-page2.tsx b/components/pages/home-page2.tsx index 27caba2..a8e9664 100644 --- a/components/pages/home-page2.tsx +++ b/components/pages/home-page2.tsx @@ -1244,7 +1244,7 @@ function HomeModule5() { ? plan.price_month / 100 : plan.price_year / 100, originalPrice: plan.price_month / 100, - monthlyPrice: billingType === "month" ? 0 : plan.price_year / 1200, + monthlyPrice: billingType === "month" ? 0 : Math.round(plan.price_year / 12) / 100, discountMsg: `Saves $${(plan.price_month * 12 - plan.price_year) / 100} by billing yearly!`, credits: plan.description, buttonText: plan.is_free ? "Try For Free" : "Subscribe Now",