diff --git a/src/packages/components/Informations/Texts/TextCommon/config.ts b/src/packages/components/Informations/Texts/TextCommon/config.ts index d2aba30a..5ee2e1ab 100644 --- a/src/packages/components/Informations/Texts/TextCommon/config.ts +++ b/src/packages/components/Informations/Texts/TextCommon/config.ts @@ -13,6 +13,16 @@ export const WritingModeObject = { [WritingModeEnum.VERTICAL]: 'vertical-rl' } +export enum FontWeightEnum { + NORMAL = '常规', + BOLD = '加粗', +} + +export const FontWeightObject = { + [FontWeightEnum.NORMAL]: 'normal', + [FontWeightEnum.BOLD]: 'bold', +} + export const option = { link: '', linkHead: 'http://', @@ -22,6 +32,7 @@ export const option = { paddingX: 10, paddingY: 10, textAlign: 'center', // 水平对齐方式 + fontWeight: 'normal', // 边框 borderWidth: 0, diff --git a/src/packages/components/Informations/Texts/TextCommon/config.vue b/src/packages/components/Informations/Texts/TextCommon/config.vue index aa912e57..c2a9e44e 100644 --- a/src/packages/components/Informations/Texts/TextCommon/config.vue +++ b/src/packages/components/Informations/Texts/TextCommon/config.vue @@ -29,7 +29,13 @@ - + + + @@ -81,7 +87,9 @@