This commit is contained in:
eric
2026-03-16 20:44:14 -05:00
parent 9d45fede7f
commit fd2e424897
3 changed files with 4 additions and 3 deletions

View File

@@ -1 +1,2 @@
PAYMENT_API_URL=https://api.nomadyt.com
PAYMENT_JOIN_AMOUNT=2900

View File

@@ -669,7 +669,7 @@ export default function JoinPage() {
<div className="overflow-hidden bg-white dark:bg-stone-900 shadow-sm sm:rounded-2xl p-6 sm:p-10 text-center">
<div className="mx-auto mb-4 flex h-16 w-16 items-center justify-center rounded-full bg-amber-50 dark:bg-amber-900/30 text-4xl">💰</div>
<h2 className="text-xl sm:text-2xl font-bold text-stone-800 dark:text-stone-100"></h2>
<p className="mt-2 text-sm text-stone-500 dark:text-stone-400">1/宿/</p>
<p className="mt-2 text-sm text-stone-500 dark:text-stone-400">29/宿/</p>
<UserProfileCard record={userRecord?.record ?? null} showVolunteerTag />
{userRecord?.record?.is_volunteer && (
<p className="mt-3 text-xs text-emerald-600 dark:text-emerald-400">

View File

@@ -58,8 +58,8 @@ export function getPaymentConfig(): PaymentConfig {
};
}
/** 茶歇费 1元/人(本地测试用,正式环境可改为 2900 */
export const JOIN_TEA_FEE = 100;
/** 茶歇费 29元/人(单位2900=29元 */
export const JOIN_TEA_FEE = 2900;
export function getJoinPaymentConfig(): { amount: number; type: string } {
return {