minhnt-dev: fix bugs
This commit is contained in:
@@ -222,6 +222,10 @@ export const enumPageSectionTemplate = {
|
||||
[enumPageSectionKey.ARTICLE]: {
|
||||
'DEFAULT': "TYPE:Default",
|
||||
},
|
||||
[enumPageSectionKey.SECTION]: {
|
||||
'DEFAULT': "TYPE:Default",
|
||||
'MISSES': "TYPE:Misses",
|
||||
},
|
||||
};
|
||||
|
||||
export const enumPageSectionLayouts = {
|
||||
@@ -244,6 +248,9 @@ export const enumPageSectionLayouts = {
|
||||
'HORIZONTAL_EIGHT': 'LAYOUT:horizontal-TYPE:Default-MAX:8',
|
||||
'HORIZONTAL_NINE': 'LAYOUT:horizontal-TYPE:Default-MAX:9',
|
||||
'HORIZONTAL_TEN': 'LAYOUT:horizontal-TYPE:Default-MAX:10',
|
||||
},
|
||||
[`${enumPageSectionTemplate[enumPageSectionKey.SECTION]['MISSES']}`]: {
|
||||
'DEFAULT': 'LAYOUT:Default-TYPE:Default-MAX:1',
|
||||
}
|
||||
};
|
||||
|
||||
@@ -302,6 +309,8 @@ export const enumPageComponentLayouts = {
|
||||
[`${enumPageComponentTemplate[enumPageComponentKey.ARTICLE]['ARTICLE_CARD']}`]: {
|
||||
'CARD_DEFAULT': "TYPE:Card_Default",
|
||||
'CARD_AUDIO': "TYPE:Card_Audio",
|
||||
'CARD_VIDEO': "TYPE:Card_Video",
|
||||
'CARD_VIDEO_HIGHLIGHT': "TYPE:Card_VideoHightLight",
|
||||
},
|
||||
[`${enumPageComponentTemplate[enumPageComponentKey.ARTICLE]['ARTICLE_DETAIL']}`]: {
|
||||
'DETAIL_GENERAL': "TYPE:Detail_General",
|
||||
@@ -358,6 +367,10 @@ const defaultArticle = {
|
||||
fontWeightTitle: 600,
|
||||
fontSizeIntro: 14,
|
||||
fontWeightIntro: 400,
|
||||
paddingTop: 20,
|
||||
paddingRight: 20,
|
||||
paddingBottom: 20,
|
||||
paddingLeft: 20
|
||||
};
|
||||
|
||||
export const enumPageComponentDefaultSetting = {
|
||||
@@ -376,6 +389,7 @@ export const enumPageComponentDefaultSetting = {
|
||||
defaultFontSizeTitle: 16,
|
||||
defaultFontWeightTitle: 600,
|
||||
...defaultArticle,
|
||||
customStyle: [],
|
||||
},
|
||||
[enumPageComponentKey.SECTION]: {
|
||||
layoutWrap: "column",
|
||||
|
||||
Reference in New Issue
Block a user