mirror of
https://gitee.com/dromara/go-view.git
synced 2026-05-30 00:00:05 +08:00
feat: 新增文本字体加粗
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user