获取页面配置
GET
/plugin-wemall/api.data/layout最后修改时间: 5 个月前
请求参数
Body 参数application/x-www-form-urlencoded
name
string
数据名称
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
info
string
必需
data
object
必需
config
object
必需
layout
object
必需
示例获取页面配置
{
"code": 1,
"info": "获取页面配置",
"data": {
"layout": {
"pages": [
{
"type": "商城首页",
"link": {
"name": "",
"value": ""
},
"show": true,
"style": {
"backgroundColor": "",
"vBackgroundImage": "https://storage.thinkadmin.top/d/temps/5e/4dae86ffaf4c1dffb981cbb3cc90b6.png",
"vBackgroundType": 0
},
"items": [
{
"name": "标题",
"icon": "layui-icon-component",
"type": "ToolTitle",
"data": [],
"outerStyle": {
"vTypes": "页面间距,容器宽度,上下内距,左右内距,边框位置,边框样式,边框颜色,边框宽度,边框圆角,背景颜色,背景图片,背景样式",
"vWidth": 100,
"vMarginTop": 0,
"vBorderRadius": 0,
"vPaddingTopBottom": 0,
"vPaddingLeftRight": 0,
"vBorderType": "trbl",
"vBorderWidth": 0,
"borderStyle": "solid",
"borderColor": "rgba(0,0,0,0.2)"
},
"interStyle": {
"vTypes": "容器宽度,上下内距,左右内距,边框位置,边框样式,边框宽度,边框圆角,边框颜色,背景颜色,背景图片,背景样式",
"vWidth": 90,
"vBorderRadius": 0,
"vPaddingTopBottom": 0,
"vPaddingLeftRight": 0,
"vBorderType": "trbl",
"vBorderWidth": 0,
"borderStyle": "solid",
"borderColor": "rgba(0,0,0,0.2)"
},
"inputStyle": {
"vTypes": "文字颜色,文字大小,文字粗细,文字行高,文字位置",
"vText": "标题文字",
"vFontSize": 4,
"vLineHeight": 10,
"fontWeight": 400,
"textAlign": "left"
},
"unid": "UN7287194338367882",
"active": false
},
{
"name": "标题",
"icon": "layui-icon-component",
"type": "ToolTitle",
"data": [],
"outerStyle": {
"vTypes": "页面间距,容器宽度,上下内距,左右内距,边框位置,边框样式,边框颜色,边框宽度,边框圆角,背景颜色,背景图片,背景样式",
"vWidth": 100,
"vMarginTop": 0,
"vBorderRadius": 0,
"vPaddingTopBottom": 0,
"vPaddingLeftRight": 0,
"vBorderType": "trbl",
"vBorderWidth": 0,
"borderStyle": "solid",
"borderColor": "rgba(0,0,0,0.2)"
},
"interStyle": {
"vTypes": "容器宽度,上下内距,左右内距,边框位置,边框样式,边框宽度,边框圆角,边框颜色,背景颜色,背景图片,背景样式",
"vWidth": 90,
"vBorderRadius": 0,
"vPaddingTopBottom": 0,
"vPaddingLeftRight": 0,
"vBorderType": "trbl",
"vBorderWidth": 0,
"borderStyle": "solid",
"borderColor": "rgba(0,0,0,0.2)"
},
"inputStyle": {
"vTypes": "文字颜色,文字大小,文字粗细,文字行高,文字位置",
"vText": "标题文字",
"vFontSize": 4,
"vLineHeight": 10,
"fontWeight": 400,
"textAlign": "left"
},
"unid": "UN9838939200620325",
"active": false
},
{
"name": "标题",
"icon": "layui-icon-component",
"type": "ToolTitle",
"data": [],
"outerStyle": {
"vTypes": "页面间距,容器宽度,上下内距,左右内距,边框位置,边框样式,边框颜色,边框宽度,边框圆角,背景颜色,背景图片,背景样式",
"vWidth": 100,
"vMarginTop": 0,
"vBorderRadius": 0,
"vPaddingTopBottom": 0,
"vPaddingLeftRight": 0,
"vBorderType": "trbl",
"vBorderWidth": 0,
"borderStyle": "solid",
"borderColor": "rgba(0,0,0,0.2)"
},
"interStyle": {
"vTypes": "容器宽度,上下内距,左右内距,边框位置,边框样式,边框宽度,边框圆角,边框颜色,背景颜色,背景图片,背景样式",
"vWidth": 90,
"vBorderRadius": 0,
"vPaddingTopBottom": 0,
"vPaddingLeftRight": 0,
"vBorderType": "trbl",
"vBorderWidth": 0,
"borderStyle": "solid",
"borderColor": "rgba(0,0,0,0.2)"
},
"inputStyle": {
"vTypes": "文字颜色,文字大小,文字粗细,文字行高,文字位置",
"vText": "标题文字",
"vFontSize": 4,
"vLineHeight": 10,
"fontWeight": 400,
"textAlign": "left"
},
"unid": "UN1594299740433771",
"active": false
},
{
"name": "标题",
"icon": "layui-icon-component",
"type": "ToolTitle",
"data": [],
"outerStyle": {
"vTypes": "页面间距,容器宽度,上下内距,左右内距,边框位置,边框样式,边框颜色,边框宽度,边框圆角,背景颜色,背景图片,背景样式",
"vWidth": 100,
"vMarginTop": 0,
"vBorderRadius": 0,
"vPaddingTopBottom": 0,
"vPaddingLeftRight": 0,
"vBorderType": "trbl",
"vBorderWidth": 0,
"borderStyle": "solid",
"borderColor": "rgba(0,0,0,0.2)"
},
"interStyle": {
"vTypes": "容器宽度,上下内距,左右内距,边框位置,边框样式,边框宽度,边框圆角,边框颜色,背景颜色,背景图片,背景样式",
"vWidth": 90,
"vBorderRadius": 0,
"vPaddingTopBottom": 0,
"vPaddingLeftRight": 0,
"vBorderType": "trbl",
"vBorderWidth": 0,
"borderStyle": "solid",
"borderColor": "rgba(0,0,0,0.2)"
},
"inputStyle": {
"vTypes": "文字颜色,文字大小,文字粗细,文字行高,文字位置",
"vText": "标题文字",
"vFontSize": 4,
"vLineHeight": 10,
"fontWeight": 400,
"textAlign": "left"
},
"unid": "UN5908289538624223",
"active": false
},
{
"name": "标题",
"icon": "layui-icon-component",
"type": "ToolTitle",
"data": [],
"outerStyle": {
"vTypes": "页面间距,容器宽度,上下内距,左右内距,边框位置,边框样式,边框颜色,边框宽度,边框圆角,背景颜色,背景图片,背景样式",
"vWidth": 100,
"vMarginTop": 0,
"vBorderRadius": 0,
"vPaddingTopBottom": 0,
"vPaddingLeftRight": 0,
"vBorderType": "trbl",
"vBorderWidth": 0,
"borderStyle": "solid",
"borderColor": "rgba(0,0,0,0.2)"
},
"interStyle": {
"vTypes": "容器宽度,上下内距,左右内距,边框位置,边框样式,边框宽度,边框圆角,边框颜色,背景颜色,背景图片,背景样式",
"vWidth": 90,
"vBorderRadius": 0,
"vPaddingTopBottom": 0,
"vPaddingLeftRight": 0,
"vBorderType": "trbl",
"vBorderWidth": 0,
"borderStyle": "solid",
"borderColor": "rgba(0,0,0,0.2)"
},
"inputStyle": {
"vTypes": "文字颜色,文字大小,文字粗细,文字行高,文字位置",
"vText": "标题文字",
"vFontSize": 4,
"vLineHeight": 10,
"fontWeight": 400,
"textAlign": "left"
},
"unid": "UN7135304530155868",
"active": false
},
{
"name": "标题",
"icon": "layui-icon-component",
"type": "ToolTitle",
"data": [],
"outerStyle": {
"vTypes": "页面间距,容器宽度,上下内距,左右内距,边框位置,边框样式,边框颜色,边框宽度,边框圆角,背景颜色,背景图片,背景样式",
"vWidth": 100,
"vMarginTop": 0,
"vBorderRadius": 0,
"vPaddingTopBottom": 0,
"vPaddingLeftRight": 0,
"vBorderType": "trbl",
"vBorderWidth": 0,
"borderStyle": "solid",
"borderColor": "rgba(0,0,0,0.2)"
},
"interStyle": {
"vTypes": "容器宽度,上下内距,左右内距,边框位置,边框样式,边框宽度,边框圆角,边框颜色,背景颜色,背景图片,背景样式",
"vWidth": 90,
"vBorderRadius": 0,
"vPaddingTopBottom": 0,
"vPaddingLeftRight": 0,
"vBorderType": "trbl",
"vBorderWidth": 0,
"borderStyle": "solid",
"borderColor": "rgba(0,0,0,0.2)"
},
"inputStyle": {
"vTypes": "文字颜色,文字大小,文字粗细,文字行高,文字位置",
"vText": "标题文字",
"vFontSize": 4,
"vLineHeight": 10,
"fontWeight": 400,
"textAlign": "left"
},
"unid": "UN49433800598897726",
"active": false
},
{
"name": "标题",
"icon": "layui-icon-component",
"type": "ToolTitle",
"data": [],
"outerStyle": {
"vTypes": "页面间距,容器宽度,上下内距,左右内距,边框位置,边框样式,边框颜色,边框宽度,边框圆角,背景颜色,背景图片,背景样式",
"vWidth": 100,
"vMarginTop": 0,
"vBorderRadius": 0,
"vPaddingTopBottom": 0,
"vPaddingLeftRight": 0,
"vBorderType": "trbl",
"vBorderWidth": 0,
"borderStyle": "solid",
"borderColor": "rgba(0,0,0,0.2)"
},
"interStyle": {
"vTypes": "容器宽度,上下内距,左右内距,边框位置,边框样式,边框宽度,边框圆角,边框颜色,背景颜色,背景图片,背景样式",
"vWidth": 90,
"vBorderRadius": 0,
"vPaddingTopBottom": 0,
"vPaddingLeftRight": 0,
"vBorderType": "trbl",
"vBorderWidth": 0,
"borderStyle": "solid",
"borderColor": "rgba(0,0,0,0.2)"
},
"inputStyle": {
"vTypes": "文字颜色,文字大小,文字粗细,文字行高,文字位置",
"vText": "标题文字",
"vFontSize": 4,
"vLineHeight": 10,
"fontWeight": 400,
"textAlign": "left"
},
"unid": "UN35280947672639407",
"active": false
},
{
"name": "标题",
"icon": "layui-icon-component",
"type": "ToolTitle",
"data": [],
"outerStyle": {
"vTypes": "页面间距,容器宽度,上下内距,左右内距,边框位置,边框样式,边框颜色,边框宽度,边框圆角,背景颜色,背景图片,背景样式",
"vWidth": 100,
"vMarginTop": 0,
"vBorderRadius": 0,
"vPaddingTopBottom": 0,
"vPaddingLeftRight": 0,
"vBorderType": "trbl",
"vBorderWidth": 0,
"borderStyle": "solid",
"borderColor": "rgba(0,0,0,0.2)"
},
"interStyle": {
"vTypes": "容器宽度,上下内距,左右内距,边框位置,边框样式,边框宽度,边框圆角,边框颜色,背景颜色,背景图片,背景样式",
"vWidth": 90,
"vBorderRadius": 0,
"vPaddingTopBottom": 0,
"vPaddingLeftRight": 0,
"vBorderType": "trbl",
"vBorderWidth": 0,
"borderStyle": "solid",
"borderColor": "rgba(0,0,0,0.2)"
},
"inputStyle": {
"vTypes": "文字颜色,文字大小,文字粗细,文字行高,文字位置",
"vText": "标题文字",
"vFontSize": 4,
"vLineHeight": 10,
"fontWeight": 400,
"textAlign": "left"
},
"unid": "UN7579174456582691",
"active": false
},
{
"name": "标题",
"icon": "layui-icon-component",
"type": "ToolTitle",
"data": [],
"outerStyle": {
"vTypes": "页面间距,容器宽度,上下内距,左右内距,边框位置,边框样式,边框颜色,边框宽度,边框圆角,背景颜色,背景图片,背景样式",
"vWidth": 100,
"vMarginTop": 0,
"vBorderRadius": 0,
"vPaddingTopBottom": 0,
"vPaddingLeftRight": 0,
"vBorderType": "trbl",
"vBorderWidth": 0,
"borderStyle": "solid",
"borderColor": "rgba(0,0,0,0.2)"
},
"interStyle": {
"vTypes": "容器宽度,上下内距,左右内距,边框位置,边框样式,边框宽度,边框圆角,边框颜色,背景颜色,背景图片,背景样式",
"vWidth": 90,
"vBorderRadius": 0,
"vPaddingTopBottom": 0,
"vPaddingLeftRight": 0,
"vBorderType": "trbl",
"vBorderWidth": 0,
"borderStyle": "solid",
"borderColor": "rgba(0,0,0,0.2)"
},
"inputStyle": {
"vTypes": "文字颜色,文字大小,文字粗细,文字行高,文字位置",
"vText": "标题文字",
"vFontSize": 4,
"vLineHeight": 10,
"fontWeight": 400,
"textAlign": "left"
},
"unid": "UN5477114212458449",
"active": false
},
{
"name": "标题",
"icon": "layui-icon-component",
"type": "ToolTitle",
"data": [],
"outerStyle": {
"vTypes": "页面间距,容器宽度,上下内距,左右内距,边框位置,边框样式,边框颜色,边框宽度,边框圆角,背景颜色,背景图片,背景样式",
"vWidth": 100,
"vMarginTop": 0,
"vBorderRadius": 0,
"vPaddingTopBottom": 0,
"vPaddingLeftRight": 0,
"vBorderType": "trbl",
"vBorderWidth": 0,
"borderStyle": "solid",
"borderColor": "rgba(0,0,0,0.2)"
},
"interStyle": {
"vTypes": "容器宽度,上下内距,左右内距,边框位置,边框样式,边框宽度,边框圆角,边框颜色,背景颜色,背景图片,背景样式",
"vWidth": 90,
"vBorderRadius": 0,
"vPaddingTopBottom": 0,
"vPaddingLeftRight": 0,
"vBorderType": "trbl",
"vBorderWidth": 0,
"borderStyle": "solid",
"borderColor": "rgba(0,0,0,0.2)"
},
"inputStyle": {
"vTypes": "文字颜色,文字大小,文字粗细,文字行高,文字位置",
"vText": "标题文字",
"vFontSize": 4,
"vLineHeight": 10,
"fontWeight": 400,
"textAlign": "left"
},
"unid": "UN20711756308976526",
"active": true
},
{
"name": "轮播图",
"icon": "layui-icon-carousel",
"type": "BaseSlider",
"data": [
{
"image": "http://wemall.local.thinkadmin.top/static/theme/img/login/bg2.jpg",
"link": "",
"unid": "img5926092140638517"
}
],
"interStyle": {
"vTypes": "容器宽度,上下内距,左右内距,边框位置,边框样式,边框宽度,边框圆角,边框颜色,背景颜色,背景图片,背景样式",
"vWidth": 100,
"vBorderRadius": 0,
"vPaddingTopBottom": 0,
"vPaddingLeftRight": 0,
"vBorderType": "trbl",
"vBorderWidth": 0,
"borderStyle": "solid",
"borderColor": "rgba(0,0,0,0.2)"
},
"outerStyle": {
"vTypes": "页面间距,容器宽度,容器高度,上下内距,左右内距,边框位置,边框样式,边框颜色,边框宽度,边框圆角,背景颜色,背景图片,背景样式",
"vWidth": 100,
"vMarginTop": 0,
"vBorderRadius": 0,
"vPaddingTopBottom": 0,
"vPaddingLeftRight": 0,
"vBorderType": "trbl",
"vBorderWidth": 0,
"borderStyle": "solid",
"borderColor": "rgba(0,0,0,0.2)",
"vHeight": 50
},
"unid": "UN8966238217859475",
"active": false
}
],
"lock": false,
"head": {
"name": "商城首页",
"style": {
"backgroundColor": "#bf0d0d",
"color": "#FFFFFF"
},
"unid": "UN4409921907014138"
},
"foot": {
"name": "首页",
"icon": {
"normal": "https://doc.thinkadmin.top/static/shop/a-home-normal.png",
"active": "https://doc.thinkadmin.top/static/shop/a-home-active.png"
},
"style": []
},
"unid": "pg8207582880491122",
"active": true
},
{
"type": "商品分类",
"link": {
"name": "",
"value": ""
},
"show": true,
"style": [],
"items": [
{
"name": "商品分类",
"type": "PageCate",
"top": 3,
"limit": 1,
"data": [],
"lock": true,
"inputStyle": {
"vType": 0
},
"interStyle": false,
"outerStyle": false,
"unid": "UN6343914695855968",
"active": false
}
],
"lock": false,
"head": {
"name": "商品分类",
"style": {
"backgroundColor": "#bf0d0d",
"color": "#FFFFFF"
}
},
"foot": {
"name": "分类",
"icon": {
"normal": "https://doc.thinkadmin.top/static/shop/a-cates-normal.png",
"active": "https://doc.thinkadmin.top/static/shop/a-cates-active.png"
},
"style": []
},
"unid": "pg3773743347511793",
"active": false
},
{
"type": "购物车",
"link": {
"name": "",
"value": ""
},
"show": true,
"style": [],
"items": [
{
"name": "购物车",
"type": "PageCart",
"top": 1,
"limit": 1,
"data": [],
"lock": true,
"inputStyle": {
"vType": 0
},
"interStyle": false,
"outerStyle": false,
"unid": "UN5845299504701207",
"active": true
}
],
"lock": true,
"head": {
"name": "购物车",
"style": {
"backgroundColor": "#bf0d0d",
"color": "#FFFFFF"
},
"unid": "UN03112862263386096"
},
"foot": {
"name": "购物车",
"icon": {
"normal": "https://doc.thinkadmin.top/static/shop/a-cart-normal.png",
"active": "https://doc.thinkadmin.top/static/shop/a-cart-active.png"
},
"style": []
},
"unid": "pg477129672020733",
"active": false
},
{
"type": "个人中心",
"link": {
"name": "",
"value": ""
},
"show": true,
"style": [],
"items": [
{
"name": "个人中心",
"type": "PageCenter",
"top": 1,
"limit": 1,
"data": [],
"lock": true,
"inputStyle": {
"vType": 0
},
"interStyle": false,
"outerStyle": false,
"unid": "UN48865723556772966",
"active": false
}
],
"lock": false,
"head": {
"name": "个人中心",
"style": {
"backgroundColor": "#bf0d0d",
"color": "#FFFFFF"
}
},
"foot": {
"name": "我的",
"icon": {
"normal": "https://doc.thinkadmin.top/static/shop/a-user-normal.png",
"active": "https://doc.thinkadmin.top/static/shop/a-user-active.png"
},
"style": []
},
"unid": "pg5807618564330386",
"active": false
}
],
"navbar": {
"style": {
"vActiveColor": "#bf0d0d",
"vNormalColor": "#666666"
}
}
}
}
}
最后修改时间: 5 个月前