navigation and template

This commit is contained in:
Pfeil, Scott Robert 2020-04-21 15:51:50 -04:00
parent 4d9a7b26e3
commit f531234d85

View File

@ -1,106 +1,78 @@
{ {
"ResponseInfo":{ "ResponseInfo" : {
"locale":"EN", "type" : "Success",
"type":"Success", "code" : "00000"
"server":"saswcvfszwo21.sdc.vzwcorp.com-srv01_wmobilefirst01", },
"buildNumber":"151", "Page" : {
"requestId":"cb350edc-afca-4694-8558-44a17ad518b1", "template" : "list",
"mdn":"9175021102", "pageType" : "x",
"appSessionExtended":true, "header" : {
"code":"00000", "moleculeName" : "header",
"message":"0", "molecule" : {
"userMessage":"0", "moleculeName" : "headlineBody",
"topAlertTime":0 "headline" : {
}, "moleculeName" : "label",
"Page":{ "text" : "x"
"pageType":"wireless",
"template":"list",
"header": {
"moleculeName":"header",
"molecule": {
"moleculeName": "headlineBody",
"headline":{
"moleculeName": "label",
"text":"Account #9876543210-00003\n\nYour 3 lines have used 70% of the available data.",
"fontStyle": "H1",
"attributes":[
{
"location":0,
"length":27,
"type":"font",
"style":"B2"
}
]
},
"body":{
"moleculeName": "label",
"text":"21 days left in cycle"
}
}
}, },
"molecules":[{ "body" : {
"moleculeName":"listItem", "moleculeName" : "label",
"molecule":{ "text" : "y"
"moleculeName":"carousel",
"spacing": 0,
"loop": true,
"height": 300,
"itemWidthPercent": 70,
"itemAlignment": "center",
"pagingMolecule": {
"moleculeName": "barsPager",
"position": "20"
},
"molecules":[{
"moleculeName":"carouselItem",
"backgroundColor":"#FFFFFF",
"molecule": {
"moleculeName":"label",
"text":"I am the first molecule to be stacked"
}
}, {
"moleculeName":"carouselItem",
"backgroundColor":"#FFFFFF",
"molecule": {
"moleculeName":"label",
"text":"I am the second molecule to be stacked"
}
},{
"moleculeName":"carouselItem",
"backgroundColor":"#FFFFFF",
"molecule": {
"moleculeName":"label",
"text":"I am the third molecule to be stacked"
}
}]
}
},{
"moleculeName":"listItem",
"molecule":{
"moleculeName":"cornerLabels",
"molecule":{
"moleculeName":"progressBar",
"percent":75
},
"topLeftLabel":{
"moleculeName":"label",
"text":"Total data used"
},
"topRightLabel":{
"moleculeName":"label",
"text":"7.0 \/ 10.0 GB"
},
"roundedRect":false
}
}],
"footer": {
"moleculeName": "footer",
"molecule": {
"moleculeName": "button",
"title": "Add a new line",
"style": "secondary"
}
} }
}
},
"molecules" : [{
"moleculeName":"listItem",
"molecule":{
"moleculeName" : "carousel",
"loop":true,
"molecules" : [
{
"moleculeName" : "carouselItem",
"backgroundColor":"red",
"molecule" : {
"moleculeName" : "label",
"text" : "1"
}
},
{
"moleculeName" : "carouselItem",
"backgroundColor":"blue",
"molecule" : {
"moleculeName" : "label",
"text" : "2"
}
},
{
"moleculeName" : "carouselItem",
"backgroundColor":"green",
"molecule" : {
"moleculeName" : "label",
"text" : "2"
}
}
],
"height" : 300
}}],
"footer" : {
"moleculeName" : "footer",
"molecule" : {
"moleculeName" : "twoButtonView",
"primaryButton" : {
"moleculeName" : "button",
"title" : "x",
"action" : {
"actionType" : "openPage",
"pageType" : "verifyZip"
}
},
"secondaryButton" : {
"moleculeName" : "button",
"title" : "x",
"action" : {
"actionType" : "back"
}
}
}
} }
}
} }