多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
**简要描述:** - 装修页面 **请求URL:** - `/shopapi/Pc/getPage` **请求方式:** - GET **参数:** |参数名 |必选 |类型 |说明 | | ------ | ------ | ------ |------ | |type|是|int|类型:1-首页;2-登录页;3-限时秒杀;4-领券中心;5-商城资讯;6-帮助中心 | **返回示例** ``` { "code": 1, "show": 0, "msg": "", "data": { "id": 25, "content": [ { "name": "banner", "icon": "http://www.likeshop.com/page/icon/banner-icon.png", "title": "轮播图", "content": [ { "url": "http://www.likeshop.com/page/icon/banner-icon.png", "link": [] }, { "url": "", "link": [] } ], "facade": { "chamfer_style": 2, "indicator_style": 1, "indicator_align": "right", "indicator_color": "#f5212d" } }, { "name": "navigation", "icon": "http://www.likeshop.com/page/icon/banner-icon.png", "title": "图文导航", "content": { "style": 1, "data": [ { "url": "http://www.likeshop.com/page/icon/banner-icon.png", "title": "彩妆", "link": { "name": "购物车", "path": "/pages/cart/index", "param": [], "index": 4, "extend": false } }, { "url": "http://www.likeshop.com/page/icon/banner-icon.png", "title": "面膜", "link": { "name": "全部商品", "path": "/pages/goods/list", "param": [], "index": 1, "extend": false } }, { "url": "http://www.likeshop.com/page/icon/banner-icon.png", "title": "电器", "link": { "name": "微页面", "path": "/pages/page/index", "param": { "id": 51, "title": "世平测试专用", "name": "首页", "status": 0 }, "index": 7, "extend": true } }, { "url": "http://www.likeshop.com/page/icon/banner-icon.png", "title": "护理", "link": [] } ] }, "facade": { "nav_style": 1, "nav_line": 2, "nav_line_mun": 4, "active_color": "#f5212d", "indicator_style": 1, "background_color": "#FFFFFF", "text_color": "#333333" } }, { "name": "rubik", "icon": "http://www.likeshop.com/page/icon/banner-icon.png", "title": "图片魔方", "content": { "style": 4, "density": 4, "data": [ { "url": "http://www.likeshop.com/page/icon/banner-icon.png", "link": "" }, { "title": "", "url": "http://www.likeshop.com/page/icon/banner-icon.png", "link": { "name": "全部商品", "path": "/pages/goods/list", "param": [], "index": 1, "extend": false } }, { "title": "", "url": "http://www.likeshop.com/page/icon/banner-icon.png", "link": "" } ] }, "facade": [] }, { "name": "title", "icon": "http://www.likeshop.com/page/icon/banner-icon.png", "title": "标题栏", "content": { "style": 1, "title": "为您推荐", "subtitle": "子标题", "is_more": true, "moretitle": "查看更多", "morelink": [] }, "facade": { "title_color": "#333333", "title_font_size": 14, "subtitle_color": "#999999", "subtitle_font_size": 12, "more_color": "#999999", "margin": 20 } }, { "name": "goods", "icon": "http://www.likeshop.com/page/icon/banner-icon.png", "title": "商品", "content": { "type": 1, "goods": [], "group": { "id": 0, "name": "", "limit": 20 }, "data": [ { "id": 54, "name": "舒客儿童牙膏换牙儿童牙膏护齿防蛀护龈含氟可吞咽食品级2582s", "image": "http://www.likeshopb2cv3.localhost/123.png", "sales_num": 30, "sell_price": "2999.00", "lineation_price": "0.00" }, { "id": 53, "name": "舒客儿童牙膏换牙儿童牙膏护齿防蛀护龈含氟可吞咽食品级258s", "image": "http://www.likeshopb2cv3.localhost/123.png", "sales_num": 0, "sell_price": "2999.00", "lineation_price": "0.00" }, { "id": 52, "name": "舒客儿童牙膏换牙儿童牙膏护齿防蛀护龈含氟可吞咽食品级258", "image": "http://www.likeshopb2cv3.localhost/123.png", "sales_num": 0, "sell_price": "2999.00", "lineation_price": "0.00" } ], "is_title": true, "is_price": true, "is_button": true }, "facade": { "list_style": 2, "card_style": 2, "chamfer_style": 1, "margin": 16, "padding": 20 } }, { "name": "wechat", "icon": "http://www.likeshop.com/page/icon/banner-icon.png", "title": "微信公众号", "content": [], "facade": { "line_style": "", "line_color": "", "high_style": 20 } }, { "name": "goods", "icon": "http://www.likeshop.com/page/icon/banner-icon.png", "title": "商品", "content": { "type": 1, "goods": [], "group": { "id": 0, "name": "", "limit": 20 }, "data": [ { "id": 58, "name": "舒客儿童牙膏换牙儿童牙膏护齿防蛀护龈含氟可吞咽食品级ss2582s", "image": "http://www.likeshopb2cv3.localhost/123.png", "sales_num": 0, "sell_price": "2999.00", "lineation_price": "0.00" }, { "id": 59, "name": "舒客儿童牙膏换牙儿童牙膏护齿防蛀护龈含氟可吞咽食品级ss22582s", "image": "http://www.likeshopb2cv3.localhost/123.png", "sales_num": 0, "sell_price": "2999.00", "lineation_price": "0.00" }, { "id": 66, "name": "舒客儿童牙膏换牙儿童牙膏护齿防蛀护龈含氟可吞咽食品级ss225782ss", "image": "http://www.likeshopb2cv3.localhost/123.png", "sales_num": 0, "sell_price": "2999.00", "lineation_price": "3299.00" } ], "is_title": true, "is_price": true, "is_button": true }, "facade": { "list_style": 2, "card_style": 2, "chamfer_style": 1, "margin": 16, "padding": 20 } }, { "name": "coupon", "icon": "http://www.likeshop.com/page/icon/banner-icon.png", "title": "商品", "content": { "type": 1, "goods": [], "group": { "id": 0, "name": "", "limit": 20 }, "data": [ { "id": 1, "name": "新人券" }, { "id": 3, "name": "中秋狂欢券" }, { "id": 2, "name": "品类券" } ], "is_title": true, "is_price": true, "is_button": true }, "facade": { "list_style": 2, "card_style": 2, "chamfer_style": 1, "margin": 16, "padding": 20 } } ], "common": [] } } ``` **返回参数说明:** |参数名 |类型 |说明 | | ------ | ------ | ------ |------ | |id|int |id | |content|arrat |页面内容 | |common|arrat |页面配置 |