本文档由 Apifox 自动生成,推荐使用 Apifox - API 文档、API 调试、API Mock、API 自动化测试!
{
"version": ...,
"theme_name": ...,
"repo_url": ...,
"support_url": ...,
...
"components": [
{
"name": "slider-products-with-header",
"title": "Slider products with header",
"icon": "sicon-list-play",
"path": "home.slider-products-with-header",
"fields": [
{
"id": "background",
"type": "string",
"format": "image"
},
{
"id": "title",
"type": "string",
"label": "Header title (optional)"
},
{
"id": "description",
"type": "string",
"format": "textarea",
"label": "Header sub title (optional)"
},
{
"id": "products",
"type": "items",
"icon": "sicon-list",
"label": "Prducts",
"format": "dropdown-list",
"required": true,
"source": "Products",
"multichoice": true,
"maxLength": 8
}
]
}
]
}
twilight.json
file as per the merchant settings. They are located in the components
section's fields.component
section