diff --git a/entry/src/main/ets/constants/CommonConstants.ets b/entry/src/main/ets/constants/CommonConstants.ets index 62d29a17077484a2b96a9c86b6fecb14b5db369c..c9f3418c17b7e86970d0332504fa8af43cd8ff6b 100644 --- a/entry/src/main/ets/constants/CommonConstants.ets +++ b/entry/src/main/ets/constants/CommonConstants.ets @@ -20,172 +20,141 @@ export class CommonConstants { /** * Breakpoint sm. */ - static readonly BREAK_POINT_SM: string = 'sm'; - + public static readonly BREAK_POINT_SM: string = 'sm'; /** * Breakpoint md. */ - static readonly BREAK_POINT_MD: string = 'md'; - + public static readonly BREAK_POINT_MD: string = 'md'; /** * Breakpoint lg. */ - static readonly BREAK_POINT_LG: string = 'lg'; - + public static readonly BREAK_POINT_LG: string = 'lg'; /** * The break point value. */ - static readonly BREAK_POINTS_VALUE: Array = ['300', '600', '840']; - + public static readonly BREAK_POINTS_VALUE: Array = ['300', '600', '840']; /** * The number of columns for SM device. */ - static readonly COLUMN_SM: number = 4; - + public static readonly COLUMN_SM: number = 4; /** * The number of columns for MD device. */ - static readonly COLUMN_MD: number = 8; - + public static readonly COLUMN_MD: number = 8; /** * The number of columns for LG device. */ - static readonly COLUMN_LG: number = 12; - + public static readonly COLUMN_LG: number = 12; /** * Tab adaptive padding sm. */ - static readonly TAB_PADDING_SM: string = '8vp'; + public static readonly TAB_PADDING_SM: string = '8vp'; /** * number 2 */ - static readonly NUMBER_TWO: number = 2; - + public static readonly NUMBER_TWO: number = 2; /** * Tab adaptive padding md. */ - static readonly TAB_PADDING_MD: string = '33vp'; - + public static readonly TAB_PADDING_MD: string = '33vp'; /** * Tab adaptive padding lg. */ - static readonly TAB_PADDING_LG: string = '63vp'; - + public static readonly TAB_PADDING_LG: string = '63vp'; /** * Double tab adaptive padding sm. */ - static readonly DOUBLE_TAB_PADDING_SM: string = '16vp'; - + public static readonly DOUBLE_TAB_PADDING_SM: string = '16vp'; /** * Double tab adaptive padding md. */ - static readonly DOUBLE_TAB_PADDING_MD1: string = '61vp'; - + public static readonly DOUBLE_TAB_PADDING_MD1: string = '61vp'; /** * Double tab adaptive padding lg. */ - static readonly DOUBLE_TAB_PADDING_LG1: string = '71vp'; - + public static readonly DOUBLE_TAB_PADDING_LG1: string = '71vp'; /** * Double tab adaptive padding md. */ - static readonly DOUBLE_TAB_PADDING_MD2: string = '70vp'; - + public static readonly DOUBLE_TAB_PADDING_MD2: string = '70vp'; /** * Double tab adaptive padding lg. */ - static readonly DOUBLE_TAB_PADDING_LG2: string = '130vp'; - + public static readonly DOUBLE_TAB_PADDING_LG2: string = '130vp'; /** * The full percentage of component. */ - static readonly FULL_WIDTH_PERCENT: string = '100%'; - + public static readonly FULL_WIDTH_PERCENT: string = '100%'; /** * The ninety percent of the components. */ - static readonly NINETY_PERCENT: string = '90%'; - + public static readonly NINETY_PERCENT: string = '90%'; /** * The eighty percent. */ - static readonly EIGHTY_PERCENT: string = '80%'; - + public static readonly EIGHTY_PERCENT: string = '80%'; /** * The fifty percent. */ - static readonly FIFTY_PERCENT: string = '50%'; - + public static readonly FIFTY_PERCENT: string = '50%'; /** * Common font weight. */ - static readonly FONT_WEIGHT_500: number = 500; - + public static readonly FONT_WEIGHT_500: number = 500; /** * Border radius. */ - static readonly BORDER_RADIUS: number = 16; - + public static readonly BORDER_RADIUS: number = 16; /** * Common flexShrink and layoutWeight. */ - static readonly COMMON_FAL_1: number = 1; - + public static readonly COMMON_FAL_1: number = 1; /** * Text font size. */ - static readonly TEXT_FONT_SIZE: number = 10; + public static readonly TEXT_FONT_SIZE: number = 10; /** * Index page padding top size. */ - static readonly PADDING_TOP_INDEX: number = 16; - + public static readonly PADDING_TOP_INDEX: number = 16; /** * Index page padding bottom size. */ - static readonly PADDING_BOTTOM_INDEX: number = 16; + public static readonly PADDING_BOTTOM_INDEX: number = 16; /** * Gray font flag. */ - static readonly GRAY_FONT_FLAG: string = 'Gray'; - + public static readonly GRAY_FONT_FLAG: string = 'Gray'; /** * Red font flag. */ - static readonly RED_FONT_FLAG: string = 'Red'; - + public static readonly RED_FONT_FLAG: string = 'Red'; /** * Single tab title. */ - static readonly SINGLETAB_TITLE: string = 'tab自适应居中'; - + public static readonly SINGLETAB_TITLE: string = 'tab自适应居中'; /** * Single tab title. */ - static readonly TABLE_TITLE: string = '表格自适应延伸'; - + public static readonly TABLE_TITLE: string = '表格自适应延伸'; /** * Single tab title. */ - static readonly DOUBLETAB_TITLE: string = '双tab自适应居中'; - + public static readonly DOUBLETAB_TITLE: string = '双tab自适应居中'; /** * Common font weight. */ - static readonly FONT_WEIGHT_700: number = 700; - + public static readonly FONT_WEIGHT_700: number = 700; /** * Table list padding sm. */ - static readonly TABLE_LIST_PADDING_SM: number = 24; - + public static readonly TABLE_LIST_PADDING_SM: number = 24; /** * Table list padding md. */ - static readonly TABLE_LIST_PADDING_MD: number = 90; - + public static readonly TABLE_LIST_PADDING_MD: number = 90; /** * Table list padding lg. */ - static readonly TABLE_LIST_PADDING_LG: number = 150; + public static readonly TABLE_LIST_PADDING_LG: number = 150; } \ No newline at end of file