清理(泥点定价): 移除硬编码的「¥1 = 10 泥点」文案

- 充值商品页描述去掉固定比例,不再把定价规则写死在 UI
- 同步去掉公共充值弹层与测试里同口径的注释
This commit is contained in:
2026-10-05 12:14:20 +08:00
parent 6d9125586a
commit 985b8718b8
3 changed files with 4 additions and 4 deletions
@@ -44,7 +44,7 @@ const DEFAULT_RECHARGE_PRODUCT_FORM = {
* 泥点充值商品。
*
* 会员档位已迁到独立的「会员档位」页(`profile_membership_plan`),本页只维护充点商品。
* 新方案固定「¥1 = 10 泥点、无首充赠送」,因此表单不再提供首充赠送 / 天数等已退役字段。
* 表单不再提供首充赠送 / 天数等已退役字段。
*/
export function AdminRechargeProductPage({
token,
@@ -190,7 +190,7 @@ export function AdminRechargeProductPage({
<AdminPage wide>
<AdminPageHeading
title="充值商品"
description="泥点充值档位(¥1 = 10 泥点)"
description="泥点充值档位"
actions={
<AdminButton
variant="secondary"
@@ -74,7 +74,7 @@ function buildPointProduct(
};
}
// 六档充点商品:¥1 = 10 泥点,没有首充赠送。
// 六档充点商品:没有首充赠送。
function buildPointProducts(): ProfileRechargeProduct[] {
return [60, 180, 300, 680, 1_280, 3_280].map((pointsAmount) =>
buildPointProduct({
@@ -1363,7 +1363,7 @@ export function PlatformProfileRechargeModal({
return null;
}
// 中文注释:默认预选第 3 档(索引 2,不足时退回末档),让首屏落在价格居中的档位;
// 充点商品目前同价(¥1 = 10 泥点),这里只影响默认选中项,不改变计费。
// 充点商品目前同价,这里只影响默认选中项,不改变计费。
const defaultProductIndex = Math.min(2, pointProducts.length - 1);
const fallbackProduct = pointProducts[defaultProductIndex];
return fallbackProduct ? fallbackProduct.productId : null;