thainv-dev: tạo lại cấu trúc folder và làm UI

This commit is contained in:
nguyen van thai
2024-06-12 17:17:49 +07:00
parent c217ed82c9
commit 5b1e0af397
44 changed files with 2674 additions and 228 deletions
+5
View File
@@ -164,11 +164,16 @@ export const pageComponentLayouts = {
{ title: "Dọc và ẩn Hình ảnh", value: enumPageComponentLayouts[enumPageComponentTemplates.ARTICLE]['VERTICAL-HIDE_THUMBNAIL'] },
{ title: "Dọc và ẩn Giới thiệu", value: enumPageComponentLayouts[enumPageComponentTemplates.ARTICLE]['VERTICAL-HIDE_PARAGRAPH'] },
{ title: "Dọc và ẩn Giới thiệu, ngược", value: enumPageComponentLayouts[enumPageComponentTemplates.ARTICLE]['VERTICAL-HIDE_PARAGRAPH-REVERSE'] },
{ title: "mặc định", value: enumPageComponentLayouts[enumPageComponentTemplates.ARTICLE]['DEFAULT'] },
],
[`${enumPageComponentTemplates.CATEGORY}`]: [
{ title: "Danh mục", value: enumPageComponentLayouts[enumPageComponentTemplates.CATEGORY]['DEFAULT'] }
],
[`${enumPageComponentTemplates.COLLECTION}`]: [
{ title: "Cụm Bài viết 5 phần tử, Bài viết ngang", value: enumPageComponentLayouts[enumPageComponentTemplates.COLLECTION]['ARTICLE-VERTICAL-|HORIZONTAL|-MAX_5'] },
{ title: "Cụm Bài viết Mặc định", value: enumPageComponentLayouts[enumPageComponentTemplates.COLLECTION]['DEFAULT'] },
],
[`${enumPageComponentTemplates.ADVERTISING}`]: [
{ title: "Quảng cáo mặc định", value: enumPageComponentLayouts[enumPageComponentTemplates.ADVERTISING]['DEFAULT'] },
]
};
+4
View File
@@ -131,6 +131,7 @@ export const enumPageComponentLayouts = {
'VERTICAL-HIDE_THUMBNAIL': "LAYOUT:vertical-HIDE:thumbnail",
'VERTICAL-HIDE_PARAGRAPH': "LAYOUT:vertical-HIDE:paragraph",
'VERTICAL-HIDE_PARAGRAPH-REVERSE': "LAYOUT:vertical-HIDE:paragraph-REVERSE:true",
"DEFAULT": "TYPE:Detail-LAYOUT:default"
},
[`${enumPageComponentTemplates.CATEGORY}`]: {
NONE: "None",
@@ -141,6 +142,9 @@ export const enumPageComponentLayouts = {
},
[`${enumPageComponentTemplates.OTHER}`]: {
'"ARTICLE_BUTTON"': '"ARTICLE_BUTTON"'
},
[`${enumPageComponentTemplates.ADVERTISING}`]: {
'DEFAULT': 'DEFAULT'
}
};