清理(泥点定价): 移除硬编码的「¥1 = 10 泥点」文案
- 充值商品页描述去掉固定比例,不再把定价规则写死在 UI - 同步去掉公共充值弹层与测试里同口径的注释
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user