模糊搜索页面
GET
/api/page/pageSearch请求参数
Query 参数
groupID
string
必需
示例值:
23477976393842688
info
string
必需
示例值:
输入
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
success
boolean
必需
errCode
null
必需
errMessage
null
必需
data
array [object {2}]
必需
pagePathKey
string
可选
config
object
可选
empty
boolean
必需
notEmpty
boolean
必需
示例
{
"success": true,
"errCode": null,
"errMessage": null,
"data": [
{
"pagePathKey": "23477976393842688/",
"config": {
"container": {
"width": 960,
"height": 1140
},
"blocks": [
{
"rotate": 0,
"weight": 400,
"alignCenter": false,
"focus": false,
"zoom": 1,
"componentProps": {
"mode": "dark",
"path": [
{
"path": "/",
"label": "站内路径 / ",
"child": null
},
{
"path": "https://baidu.com",
"label": "百度",
"child": null
}
],
"modeType": "select",
"modeOption": [
{
"label": "☀️",
"value": "white"
},
{
"label": "🌙",
"value": "dark"
}
],
"pathLabel": "自定义菜单路径",
"modeLabel": "颜色主题",
"pathType": "PathInput"
},
"bgcColor": null,
"top": 0,
"size": 16,
"left": 0,
"width": 972,
"id": "sq1j8nzCK7FVEJqY2tGg2",
"text": "请输入文本内容",
"key": "预定义导航栏1",
"fontColor": null,
"zIndex": 1,
"height": 74
},
{
"rotate": 0,
"weight": 400,
"alignCenter": false,
"focus": false,
"zoom": 1,
"componentProps": {
"lazyLabel": "是否使用懒加载",
"src": "/images/banner.png",
"lazy": false,
"fitOption": [
{
"label": "【none】保持其原有的尺寸",
"value": "none"
},
{
"label": "【cover】剪裁以适应内容框",
"value": "cover"
},
{
"label": "【fill】拉伸以适应内容框",
"value": "fill"
},
{
"label": "【contain】不适应将被添加“黑边”",
"value": "contain"
},
{
"label": "【scale-down】内容的尺寸与none或contain中的一个相同",
"value": "scale-down"
}
],
"alt": "",
"srcLabel": "图片源地址",
"altLabel": "图片加载不出来时显示的文字【原生属性alt】",
"loadingLabel": "浏览器加载图像的策略",
"loading": "eager",
"srcType": "input",
"fit": "cover",
"altType": "input",
"lazyType": "radio",
"fitLabel": "图片如何适应容器",
"fitType": "select",
"loadingOption": [
{
"label": "立即加载图像,不管它是否在可视视口之外",
"value": "eager"
},
{
"label": "延迟加载图像,直到它和视口接近到一个计算得到的距离",
"value": "lazy"
}
],
"loadingType": "select"
},
"bgcColor": null,
"top": "61.5",
"size": 16,
"left": 0,
"width": 960,
"id": "HEZMCtyWOQPISdSvJ2TYb",
"text": "请输入文本内容",
"key": "图片",
"fontColor": null,
"zIndex": 1,
"height": 371
},
{
"rotate": 0,
"weight": 400,
"alignCenter": false,
"focus": false,
"zoom": 1,
"componentProps": {},
"bgcColor": null,
"top": 420,
"size": 16,
"left": 0,
"width": 960,
"id": "dHRlf0oPLSxxgGiTPO31Y",
"text": "请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请输入文本内容请",
"key": "文本框",
"fontColor": null,
"zIndex": 1,
"height": 99
},
{
"rotate": 0,
"weight": 400,
"alignCenter": false,
"focus": false,
"zoom": 1,
"componentProps": {},
"bgcColor": null,
"top": 620,
"size": 16,
"left": 16,
"width": 144,
"id": "aH2XXAOcf_UWEFv3B3U0M",
"text": "请输入文本内容",
"key": "按钮-重要",
"fontColor": null,
"zIndex": 1,
"height": 32
},
{
"rotate": 0,
"weight": 400,
"alignCenter": false,
"focus": false,
"zoom": 1,
"componentProps": {
"showPasswordType": "radio",
"type": "text",
"autosizeType": "radio",
"showWordLimit": true,
"disabled": false,
"maxlengthType": "input-number",
"clearableType": "radio",
"showPasswordLabel": "是否显示切换密码图标",
"sizeType": "select",
"disabledType": "radio",
"clearable": false,
"showWordLimitType": "radio",
"typeType": "select",
"maxlength": 30,
"showWordLimitLabel": "是否在输入框类型为【默认/段落】时显示统计字数",
"typeOption": [
{
"label": "默认输入框",
"value": "text"
},
{
"label": "段落输入框",
"value": "textarea"
},
{
"label": "邮箱输入框",
"value": "email"
},
{
"label": "电话输入框",
"value": "tel"
},
{
"label": "网址输入框",
"value": "url"
}
],
"autosizeLabel": "【段落输入框】的高度是否自适应",
"size": "default",
"sizeLabel": "大小类型",
"sizeOption": [
{
"label": "默认",
"value": "default"
},
{
"label": "小型",
"value": "small"
},
{
"label": "大型",
"value": "large"
}
],
"showPassword": false,
"typeLabel": "输入框类型",
"disabledLabel": "是否禁用",
"clearableLabel": "是否可清空",
"maxlengthLabel": "最大输入长度",
"autosize": false
},
"bgcColor": null,
"top": 622,
"size": 16,
"left": 199,
"width": 250,
"id": "Rjn_I_JkRIEE2-Z1VMbgY",
"text": "请输入文本内容",
"key": "综合输入框",
"fontColor": null,
"zIndex": 1,
"height": 32
},
{
"rotate": 0,
"weight": 400,
"alignCenter": false,
"focus": false,
"zoom": 1,
"componentProps": {},
"bgcColor": null,
"top": 623,
"size": 16,
"left": 527,
"width": 144,
"id": "c8DigMSHGNlzsbsQrlX_o",
"text": "请输入文本内容",
"key": "按钮-成功",
"fontColor": null,
"zIndex": 1,
"height": 32
},
{
"rotate": 0,
"weight": 400,
"alignCenter": false,
"focus": false,
"zoom": 1,
"componentProps": {},
"bgcColor": null,
"top": 622,
"size": 16,
"left": 740,
"width": 144,
"id": "KT9aHI1uQ8Ufj0b1F3eAZ",
"text": "请输入文本内容",
"key": "按钮-危险",
"fontColor": null,
"zIndex": 1,
"height": 32
},
{
"rotate": 0,
"weight": 400,
"alignCenter": false,
"focus": false,
"zoom": 1,
"componentProps": {
"autoplayLabel": "是否自动切换",
"arrow": "hover",
"type": "",
"pauseOnHoverLabel": "鼠标悬浮时暂停自动切换",
"triggerLabel": "指示器的触发方式",
"pauseOnHoverType": "radio",
"indicatorPositionType": "select",
"directionLabel": "展示的方向",
"loop": true,
"direction": "horizontal",
"loopLabel": "是否循环显示",
"typeType": "select",
"triggerOption": [
{
"label": "悬浮触发",
"value": "hover"
},
{
"label": "点击触发",
"value": "click"
}
],
"typeOption": [
{
"label": "默认",
"value": ""
},
{
"label": "卡片",
"value": "card"
}
],
"bannerGroupType": "banner",
"trigger": "hover",
"autoplay": true,
"loopType": "radio",
"bannerGroupLabel": "图片地址",
"directionOption": [
{
"label": "水平",
"value": "horizontal"
},
{
"label": "垂直",
"value": "vertical"
}
],
"intervalType": "input-number",
"arrowOption": [
{
"label": "总是显示",
"value": "always"
},
{
"label": "划入显示",
"value": "hover"
},
{
"label": "从不显示",
"value": "never"
}
],
"directionType": "select",
"indicatorPositionOption": [
{
"label": "内部",
"value": ""
},
{
"label": "外部",
"value": "outside"
},
{
"label": "无指示器",
"value": "none"
}
],
"bannerGroup": [
"https://fuss10.elemecdn.com/a/3f/3302e58f9a181d2509f3dc0fa68b0jpeg.jpeg",
"https://fuss10.elemecdn.com/1/34/19aa98b1fcb2781c4fba33d850549jpeg.jpeg",
"https://fuss10.elemecdn.com/0/6f/e35ff375812e6b0020b6b4e8f9583jpeg.jpeg"
],
"pauseOnHover": true,
"indicatorPositionLabel": "指示器的位置",
"autoplayType": "radio",
"indicatorPosition": "",
"typeLabel": "轮播图的样式",
"interval": 3000,
"intervalLabel": "自动切换的时间间隔(ms)",
"arrowType": "select",
"triggerType": "select",
"arrowLabel": "切换箭头的显示时机"
},
"bgcColor": null,
"top": 665,
"size": 16,
"left": 2,
"width": 961,
"id": "zRSt1W4HjfbTUEMu458dL",
"text": "请输入文本内容",
"key": "轮播图",
"fontColor": null,
"zIndex": 1,
"height": 462
}
],
"focusData": {}
}
}
],
"empty": false,
"notEmpty": true
}
最后修改时间: 2 年前