madp-seed
Version:
A madp project
300 lines • 10.5 kB
JSON
{
"navbar": {
"type": "social-navbar",
"height": "90px",
"backgroundColor": "#000080",
"backgroundImage": "root://assets/images/home/bg_home@2x.png",
"titleItem": {
"type": "text",
"text": "首页",
"textSize": "30px",
"textColor": "#FFFFFF",
"imageUrl": "",
"imageWidth": "300px",
"imageHeight": "50px"
},
"leftItems": [
{
"type": "image",
"text": "logo",
"textSize": "30px",
"textColor": "#000000",
"imageUrl": "root://assets/images/home/logo_letter_white@2x.png",
"imageWidth": "166px",
"imageHeight": "48px"
}
],
"rightItems": [
{
"type": "image",
"text": "搜索",
"textSize": "30px",
"textColor": "#FFFFFF",
"imageUrl": "root://assets/images/home/icon_search@2x.png",
"imageWidth": "48px",
"imageHeight": "48px",
"action": {
"type": "scene",
"value": "scaner"
}
},
{
"type": "image",
"text": "帮助",
"textSize": "30px",
"textColor": "#000000",
"imageUrl": "root://assets/images/home/icon_help.png",
"imageWidth": "48px",
"imageHeight": "48px",
"action": {
"type": "scene",
"value": "help"
}
},
{
"type": "image",
"text": "切换版本",
"textSize": "30px",
"textColor": "#000000",
"imageUrl": "root://assets/images/home/change_ver.png",
"imageWidth": "48px",
"imageHeight": "48px",
"action": {
"type": "scene",
"value": "changeVersion"
}
}
]
},
"components": [
{
"type": "quickEntry",
"backgroundColor": "#fff",
"data": [
{
"text": "扫一扫",
"textSize": "28px",
"textColor": "#333",
"imageUrl": "root://assets/images/home/icon_scan@2x.png",
"imageWidth": "64px",
"imageHeight": "64px",
"action": {
"type": "scene",
"value": "scaner"
}
},
{
"text": "收款码",
"textSize": "28px",
"textColor": "#333",
"imageUrl": "root://assets/images/home/icon_income@2x.png",
"imageWidth": "64px",
"imageHeight": "64px",
"action": null
},
{
"text": "付款码",
"textSize": "28px",
"textColor": "#333",
"imageUrl": "root://assets/images/home/icon_code@2x.png",
"imageWidth": "64px",
"imageHeight": "64px",
"action": null
}
]
},
{
"type": "commonMenu",
"grid": 4,
"imageSize": {
"width": 64,
"height": 64
},
"textStyle": {
"fontSize": 28,
"color": "#666"
},
"data": [
{
"text": "转账",
"imageUrl": "root://assets/images/home/icon_transfer@2x.png",
"action": {
"type": "scene",
"value": "transfer"
}
},
{
"text": "理财",
"imageUrl": "root://assets/images/home/icon_profit@2x.png",
"action": {
"type": "scene",
"value": "financial"
}
},
{
"text": "信用卡",
"imageUrl": "root://assets/images/home/icon_creditcard@2x.png",
"action": null
},
{
"text": "无卡取款",
"imageUrl": "root://assets/images/home/icon_cash@2x.png",
"action": null
},
{
"text": "手机闪付",
"imageUrl": "root://assets/images/home/icon_quickpay@2x.png",
"action": null
},
{
"text": "汇率换算",
"imageUrl": "root://assets/images/home/icon_exchange@2x.png",
"action": null
},
{
"text": "保险",
"imageUrl": "root://assets/images/home/icon_insurance@2x.png",
"action": null
},
{
"text": "生活缴费",
"imageUrl": "root://assets/images/home/icon_fee@2x.png",
"action": null
},
{
"text": "收费易",
"imageUrl": "root://assets/images/home/icon_charge@2x.png",
"action": null
},
{
"text": "更多",
"imageUrl": "root://assets/images/home/icon_more@2x.png",
"action": {
"type": "scene",
"value": "allmenu"
}
}
]
},
{
"type": "noticeBar",
"interval": 3000,
"direction": "vertical",
"notice": {
"width": 686,
"height": 80,
"borderRadius": 8,
"backgroundColor": "#E1EFFF"
},
"backgroundColor": "#000080",
"backgroundImageWidth": "750",
"backgroundImageHeight": "300",
"backgroundImage": "root://assets/images/home/bg_home@2x.png",
"textStyle": {
"color": "#333333",
"fontSize": 28
},
"data": [
{
"content": "您有一笔贷款即将到期,点击查看",
"action": {
"type": "website",
"value": "http://www.baidu.com"
}
},
{
"content": "高收益理财明日开售,立即预约!",
"action": {
"type": "scene",
"value": "financialDeatil"
}
}
]
},
{
"type": "banner",
"autoPlayDuration": 3000,
"scrollDuration": 900,
"indicatorShow": true,
"indicatorMargin": 4,
"indicatorWidth": 6,
"indicatorHeight": 6,
"selectedIndicatorColor": "#FC581C",
"unSelectedIndicatorColor": "#FFFFFF",
"banner": {
"width": 686,
"height": 128
},
"backgroundColor": "#000080",
"backgroundImageWidth": "750",
"backgroundImageHeight": "300",
"backgroundImage": "root://assets/images/home/bg_home@2x.png",
"data": [
{
"src": "root://assets/images/home/banner_home1@2x.png",
"action": {
"type": "func",
"value": "http://www.baidu.com"
}
},
{
"src": "root://assets/images/home/banner_home1@2x.png",
"action": {
"type": "func",
"value": "financial"
}
}
]
},
{
"type": "divider",
"width": 750,
"height": 20,
"backgroundColor": "red",
"backgroundImageWidth": 300,
"backgroundImageHeight": 20,
"backgroundImage": ""
},
{
"type": "productCard",
"showTitle": true,
"showProductContent": true,
"widthStyle": "A",
"title": {
"leftText": "理财产品",
"leftTextFontSize": "36px",
"leftTextColor": "#333333",
"rightText": "更多",
"rightTextFontSize": "28px",
"rightTextColor": "#999999",
"showRightIcon": true
},
"data": [
{
"name": "永年“净值型”理财精选B款",
"desc1": "5.37%",
"desc2": "365天",
"desc3": "七日年化收益",
"desc4": "100元起 | 收益稳健 | 中短期热销",
"tag": "当季优选",
"action": {
"type": "scene",
"value": "financialDeatil"
}
},
{
"name": "海天月月盈",
"desc1": "2.79%",
"desc2": "35天",
"desc3": "七日年化收益",
"desc4": "50元起 | 随时到账 | 金额有限",
"tag": "精选定投",
"action": {
"type": "scene",
"value": "financialDeatil"
}
}
]
}
]
}