feat(frontend): replace article system with Zibll 9.0
This commit is contained in:
@@ -78,8 +78,6 @@ export const MODULE_LIBRARY = [
|
||||
options: [
|
||||
{ label: '卡片', value: 'card' },
|
||||
{ label: '列表', value: 'list' },
|
||||
{ label: '瀑布流', value: 'masonry' },
|
||||
{ label: '资源网格', value: 'grid-cms' },
|
||||
],
|
||||
},
|
||||
],
|
||||
@@ -89,7 +87,7 @@ export const MODULE_LIBRARY = [
|
||||
label: '分类 Tabs',
|
||||
icon: 'switcher',
|
||||
desc: '多分类 Tab 切换',
|
||||
defaultConfig: { cat_ids: [], count: 8, layout: 'grid-cms', title: '' },
|
||||
defaultConfig: { cat_ids: [], count: 8, layout: 'card', title: '' },
|
||||
fields: [
|
||||
{ key: 'title', type: 'text', label: '标题' },
|
||||
{ key: 'cat_ids', type: 'cats', label: '分类列表' },
|
||||
@@ -99,8 +97,6 @@ export const MODULE_LIBRARY = [
|
||||
options: [
|
||||
{ label: '卡片', value: 'card' },
|
||||
{ label: '列表', value: 'list' },
|
||||
{ label: '瀑布流', value: 'masonry' },
|
||||
{ label: '资源网格', value: 'grid-cms' },
|
||||
],
|
||||
},
|
||||
],
|
||||
@@ -138,8 +134,6 @@ export const MODULE_LIBRARY = [
|
||||
options: [
|
||||
{ label: '卡片', value: 'card' },
|
||||
{ label: '列表', value: 'list' },
|
||||
{ label: '瀑布流', value: 'masonry' },
|
||||
{ label: '资源网格', value: 'grid-cms' },
|
||||
],
|
||||
},
|
||||
],
|
||||
@@ -460,8 +454,8 @@ export const PRESET_TEMPLATES = [
|
||||
desc: 'Hero(固定骨架)+ Tabs + 最新文章 + 下载排行',
|
||||
modules: [
|
||||
{ type: 'hero', config: {} },
|
||||
{ type: 'tabs', config: { count: 8, layout: 'grid-cms' } },
|
||||
{ type: 'recent', config: { count: 8, layout: 'grid-cms' } },
|
||||
{ type: 'tabs', config: { count: 8, layout: 'card' } },
|
||||
{ type: 'recent', config: { count: 8, layout: 'card' } },
|
||||
{ type: 'ranking', config: { metric: 'downloads', count: 6 } },
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user