's'
This commit is contained in:
@@ -1 +1,2 @@
|
||||
PAYMENT_API_URL=https://api.nomadyt.com
|
||||
PAYMENT_JOIN_AMOUNT=2900
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user