Commit da9f111b authored by XieZhiXiong's avatar XieZhiXiong

chore: 补充翻译;修复不同国际化下字数过多导致的样式问题

parent 15956043
......@@ -324,6 +324,10 @@
display: none;
}
.ant-btn-link {
white-space: normal !important;
}
/* 处理某些电脑显示与缩放比推荐>100%的影响 */
@media all
......
......@@ -203,11 +203,11 @@ const ReturnDetailInfo: React.FC<ReturnDetailInfoProps> = ({
descriptions={[
{
title: `${intl.formatMessage({ id: 'afterService.common.productColumns.payAmount2' }, { default: '已支付金额' })}:`,
value: `¥${text}`,
value: `${intl.formatMessage({ id: 'common.money' }, { default: '¥' })}${text}`,
},
{
title: `${intl.formatMessage({ id: 'afterService.common.productColumns.purchaseAmount' }, { default: '采购金额' })}:`,
value: `¥${record.purchaseAmount}`,
value: `${intl.formatMessage({ id: 'common.money' }, { default: '¥' })}${record.purchaseAmount}`,
},
]}
percent={(text / record.purchaseAmount) * 100}
......
......@@ -131,8 +131,8 @@ const schema: ISchema = {
MEGA_LAYOUT_2: {
'x-component': 'Mega-Layout',
'x-component-props': {
labelCol: 6,
wrapperCol: 14,
// labelCol: 6,
// wrapperCol: 14,
grid: true,
columns: 2,
autoRow: true,
......@@ -150,7 +150,7 @@ const schema: ISchema = {
},
payRatio: {
type: 'string',
title: '支付比例',
title: intl.formatMessage({ id: 'afterService.components.ReturnDetailInfo.payRatio' }, { default: '支付比例' }),
editable: false,
'x-component-props': {
addonAfter: '%'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment