Commit da9f111b authored by XieZhiXiong's avatar XieZhiXiong

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

parent 15956043
...@@ -324,6 +324,10 @@ ...@@ -324,6 +324,10 @@
display: none; display: none;
} }
.ant-btn-link {
white-space: normal !important;
}
/* 处理某些电脑显示与缩放比推荐>100%的影响 */ /* 处理某些电脑显示与缩放比推荐>100%的影响 */
@media all @media all
......
...@@ -203,11 +203,11 @@ const ReturnDetailInfo: React.FC<ReturnDetailInfoProps> = ({ ...@@ -203,11 +203,11 @@ const ReturnDetailInfo: React.FC<ReturnDetailInfoProps> = ({
descriptions={[ descriptions={[
{ {
title: `${intl.formatMessage({ id: 'afterService.common.productColumns.payAmount2' }, { default: '已支付金额' })}:`, 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: '采购金额' })}:`, 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} percent={(text / record.purchaseAmount) * 100}
......
...@@ -131,8 +131,8 @@ const schema: ISchema = { ...@@ -131,8 +131,8 @@ const schema: ISchema = {
MEGA_LAYOUT_2: { MEGA_LAYOUT_2: {
'x-component': 'Mega-Layout', 'x-component': 'Mega-Layout',
'x-component-props': { 'x-component-props': {
labelCol: 6, // labelCol: 6,
wrapperCol: 14, // wrapperCol: 14,
grid: true, grid: true,
columns: 2, columns: 2,
autoRow: true, autoRow: true,
...@@ -150,7 +150,7 @@ const schema: ISchema = { ...@@ -150,7 +150,7 @@ const schema: ISchema = {
}, },
payRatio: { payRatio: {
type: 'string', type: 'string',
title: '支付比例', title: intl.formatMessage({ id: 'afterService.components.ReturnDetailInfo.payRatio' }, { default: '支付比例' }),
editable: false, editable: false,
'x-component-props': { 'x-component-props': {
addonAfter: '%' 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