主页配置说明
index
信息模块
info
| 名称 |
字段 |
类型 |
可选 |
说明 |
| 公司logo |
logo_img |
string |
N |
-- |
| 公司名称 |
logo_tip |
string |
N |
-- |
功能模块
banner_row1 单行banner
| 名称 |
字段 |
类型 |
可选 |
说明 |
| web数据 |
web |
object |
N |
-- |
| h5数据 |
h5 |
object |
N |
-- |
| 轮播列表 |
images |
array |
N |
-- |
| 轮播项图片 |
img |
string |
N |
-- |
| 轮播项标题 |
title |
string |
Y |
-- |
| 轮播项描述 |
desc |
string |
Y |
-- |
| 轮播项链接 |
url |
string |
Y |
-- |
row1_flex 单行多列组合
| 名称 |
字段 |
类型 |
可选 |
说明 |
| web数据 |
web |
object |
N |
-- |
| h5数据 |
h5 |
object |
N |
-- |
| 主标题 |
title |
string |
Y |
-- |
| 主描述 |
desc |
string |
Y |
-- |
| 多列列表 |
item |
array |
N |
-- |
| 列表项图片 |
icon |
string |
Y |
图片和(icon、标题、描述)不能同时存在 |
| 列表项标题 |
title |
string |
Y |
图片和(icon、标题、描述)不能同时存在 |
| 列表项描述 |
desc |
string |
Y |
图片和(icon、标题、描述)不能同时存在 |
| 列表项图片 |
desc |
string |
Y |
图片和(icon、标题、描述)不能同时存在 |
row1 单行
| 名称 |
字段 |
类型 |
可选 |
说明 |
| web数据 |
web |
object |
N |
-- |
| h5数据 |
h5 |
object |
N |
-- |
| 标题 |
title |
string |
Y |
-- |
| 描述 |
desc |
string |
Y |
-- |
| 图片 |
img |
string |
Y |
-- |
| 名称 |
字段 |
类型 |
可选 |
说明 |
| web数据 |
web |
object |
N |
-- |
| h5数据 |
h5 |
object |
N |
-- |
| 段落列表 |
msgList |
array |
N |
-- |
示例数据:
{ info:{ //公司、网站信息 logo_img:'images/default/logo.png', //公司logo图片地址 logo_tip:'永煜科技' //公司名称/网站名称 }, block:[ //区块,网站需要显示的区块,按照先后顺序显示 { title:'', //需要显示在导航里面的内容,如果为空则不在导航显示 type:'header' //所用的html模版名称 }, { title:'home', type:'banner_row1', data:{ web:{ //web端数据 images:[ //轮播列表 { title:'图片标题', //列表项标题 desc:'图片描述', //列表项描述 img:'images/default/slider-01.jpg', //列表项图片 url:'javascript:void(0)' //列表项链接 } ] }, h5:{ //h5端数据 images:[ //轮播列表 { title:'图片标题', //列表项标题 desc:'图片描述', //列表项描述 img:'images/default/slider-01.jpg', //列表项图片 url:'javascript:void(0)' //列表项链接 } ] } } }, { "title": "info", "type": "row1_flex", "data": { "web": { "title": "标题", "desc": "描述", "item": [ { "title": "描述1", "desc": "这是一段描述描", "img": 'images/default/phone-02.png' }, { "img": 'images/default/phone-05.png' } ] }, "h5": { "title": "标题", "desc": "描述", "item": [ { "icon":"images/default/icon.jpg", "title": "描述1", "desc": "这是一段描述描述这是一段描", }, { "img": 'images/default/phone-05.png' } ] } } }, { "title": "row", "type": "row1", "data": { "web": { "title": "标题", "desc": "描述", "img": "images/default/phone-01.png" }, "h5": { "title": "标题", "desc": "描述", "img": "images/default/phone-01.png" } } }, { "title": "", "type": "footer", "data": { "web": { "msgList": [ "Built with in New York", "Copyright © 2017.Company name All rights reserved" ] }, "h5": { "msgList": [ "Built with in New York", "Copyright © 2017.Company name All rights reserved" ] } } } ] }