list.json 1.6 KB
{
    "name": "文章列表页",
    "action": "portal/List/index",
    "description": "文章列表模板文件",
    "order": 10.0,
    "more": {
        "vars": {

        },
        "widgets":{
            "hottest_articles": {
                "title": "热门文章",
                "display": "1",
                "vars": {
                    "hottest_articles_category_id": {
                        "title": "文章分类ID",
                        "value": "",
                        "type": "text",
                        "dataSource": {
                            "api": "portal/category/index",
                            "multi": true
                        },
                        "placeholder": "请选择分类",
                        "tip": "",
                        "rule": {
                            "require": true
                        }
                    }
                }
            },
            "last_articles": {
                "title": "最新发布",
                "display": "1",
                "vars": {
                    "last_articles_category_id": {
                        "title": "文章分类ID",
                        "value": "",
                        "type": "text",
                        "dataSource": {
                            "api": "portal/category/index",
                            "multi": true
                        },
                        "placeholder": "请选择分类",
                        "tip": "",
                        "rule": {
                            "require": true
                        }
                    }
                }
            }
        }
    }
}