更新若干功能
This commit is contained in:
@@ -56,6 +56,9 @@ class WxTemplateSchemaService
|
||||
'header' => ['gradient', 'image', 'plain', 'split', 'editorial'],
|
||||
'menu' => ['grid', 'list', 'card', 'tile', 'compact'],
|
||||
],
|
||||
'package' => [
|
||||
'list' => ['card', 'featured', 'magazine', 'list'],
|
||||
],
|
||||
'effect' => [
|
||||
'transition' => ['fade', 'slide', 'zoom', 'none'],
|
||||
'skeleton' => ['shimmer', 'pulse', 'none'],
|
||||
@@ -70,7 +73,7 @@ class WxTemplateSchemaService
|
||||
*/
|
||||
public const PAGE_SECTION_TYPES = [
|
||||
'home' => ['search', 'hero', 'category', 'package', 'product'],
|
||||
'package' => ['list'],
|
||||
'package' => ['search', 'list'],
|
||||
'catalog' => ['filter', 'list'],
|
||||
'search' => ['search', 'list'],
|
||||
'product' => ['gallery', 'info', 'spec', 'price', 'action'],
|
||||
@@ -90,7 +93,7 @@ class WxTemplateSchemaService
|
||||
'filter' => ['chip', 'bar', 'sidebar', 'hidden'],
|
||||
'list' => [
|
||||
'card', 'table', 'timeline', 'waterfall', 'grid', 'list',
|
||||
'masonry', 'featured', 'shelf', 'compact', 'airy', 'mosaic', 'duo',
|
||||
'masonry', 'featured', 'magazine', 'shelf', 'compact', 'airy', 'mosaic', 'duo',
|
||||
'ticket', 'stacked',
|
||||
],
|
||||
'gallery' => ['swiper', 'stack', 'fullbleed', 'peek', 'fade', 'coverflow', 'mosaic', 'filmstrip'],
|
||||
@@ -111,6 +114,7 @@ class WxTemplateSchemaService
|
||||
'package' => ['card', 'scroll', 'featured', 'magazine'],
|
||||
],
|
||||
'package' => [
|
||||
'search' => ['bar', 'overlay', 'pill', 'float'],
|
||||
'list' => ['card', 'featured', 'magazine', 'list'],
|
||||
],
|
||||
'catalog' => [
|
||||
@@ -198,6 +202,7 @@ class WxTemplateSchemaService
|
||||
'mosaic' => '马赛克',
|
||||
'duo' => '对开',
|
||||
'card' => '卡片',
|
||||
'magazine' => '刊名条',
|
||||
'table' => '表格',
|
||||
'timeline' => '时间线',
|
||||
'ticket' => '票根',
|
||||
|
||||
Reference in New Issue
Block a user