chore(tooling): 对齐协作规范与浏览器验收工具
验证:713 项单测、8 视口环境、代码及格式检查通过;未运行生产构建。
This commit is contained in:
@@ -85,7 +85,6 @@ const AmountCard = ({
|
||||
<span className='rc-amount-badge'>
|
||||
{t('{{rate}}折', {
|
||||
rate: formatDiscountRate(discount),
|
||||
percent: Math.round(100 - discount * 100),
|
||||
})}
|
||||
</span>
|
||||
)
|
||||
|
||||
@@ -264,7 +264,6 @@ const RechargeV2 = () => {
|
||||
>
|
||||
{t('{{rate}}折优惠', {
|
||||
rate: (option.discount * 10).toFixed(1),
|
||||
percent: Math.round(100 - option.discount * 100),
|
||||
})}
|
||||
</div>
|
||||
)}
|
||||
@@ -296,7 +295,6 @@ const RechargeV2 = () => {
|
||||
<Text strong>
|
||||
{t('{{rate}}折', {
|
||||
rate: (payInfo.discount_rate * 10).toFixed(1),
|
||||
percent: Math.round(100 - payInfo.discount_rate * 100),
|
||||
})}
|
||||
</Text>
|
||||
</div>
|
||||
|
||||
@@ -81,7 +81,6 @@ const AmountOptionsManager = ({
|
||||
render: (v) =>
|
||||
t('{{rate}}折', {
|
||||
rate: (v * 10).toFixed(1),
|
||||
percent: Math.round(100 - v * 100),
|
||||
}),
|
||||
width: 80,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user