Created
March 1, 2020 03:14
ราคาน้ำมันบางจาก
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type": "carousel", | |
"contents": [ | |
{ | |
"type": "bubble", | |
"size": "kilo", | |
"header": { | |
"type": "box", | |
"layout": "horizontal", | |
"backgroundColor": "#00bce4", | |
"contents": [ | |
{ | |
"type": "image", | |
"url": "https://www.bangchak.co.th/img/logo.png", | |
"aspectRatio": "137:40", | |
"size": "md", | |
"align": "start" | |
}, | |
{ | |
"type": "text", | |
"text": "ราคาน้ำมันวันนี้", | |
"weight": "bold", | |
"size": "md", | |
"gravity": "center", | |
"align": "end", | |
"color": "#FFFFFF" | |
} | |
] | |
}, | |
"body": { | |
"type": "box", | |
"layout": "vertical", | |
"contents": [ | |
{ | |
"margin": "md", | |
"type": "box", | |
"layout": "horizontal", | |
"contents": [ | |
{ | |
"type": "filler" | |
}, | |
{ | |
"type": "text", | |
"text": "วันนี้", | |
"color": "#111111", | |
"weight": "bold", | |
"size": "sm", | |
"align": "end" | |
}, | |
{ | |
"type": "text", | |
"text": "พรุ่งนี้", | |
"color": "#111111", | |
"weight": "bold", | |
"size": "sm", | |
"align": "end" | |
} | |
] | |
}, | |
{ | |
"type": "separator", | |
"color": "#cccccc", | |
"margin": "md" | |
}, | |
{ | |
"margin": "md", | |
"type": "box", | |
"layout": "horizontal", | |
"contents": [ | |
{ | |
"type": "image", | |
"url": "https://www.bangchak.co.th/img/logo-oil/logo-Hi-diesel.png", | |
"aspectRatio": "120:48" | |
}, | |
{ | |
"type": "text", | |
"text": "25.49", | |
"color": "#111111", | |
"weight": "bold", | |
"size": "sm", | |
"align": "end", | |
"gravity": "center" | |
}, | |
{ | |
"type": "text", | |
"text": "25.49", | |
"color": "#111111", | |
"weight": "bold", | |
"size": "sm", | |
"align": "end", | |
"gravity": "center" | |
} | |
] | |
}, | |
{ | |
"margin": "md", | |
"type": "box", | |
"layout": "horizontal", | |
"contents": [ | |
{ | |
"type": "image", | |
"url": "https://www.bangchak.co.th/img/logo-oil/logo-E20s.png", | |
"aspectRatio": "120:48" | |
}, | |
{ | |
"type": "text", | |
"text": "22.34", | |
"color": "#111111", | |
"weight": "bold", | |
"size": "sm", | |
"align": "end", | |
"gravity": "center" | |
}, | |
{ | |
"type": "text", | |
"text": "22.34", | |
"color": "#111111", | |
"weight": "bold", | |
"size": "sm", | |
"align": "end", | |
"gravity": "center" | |
} | |
] | |
}, | |
{ | |
"margin": "md", | |
"type": "box", | |
"layout": "horizontal", | |
"contents": [ | |
{ | |
"type": "image", | |
"url": "https://www.bangchak.co.th/img/logo-oil/logo-gasohol-91.png", | |
"aspectRatio": "120:48" | |
}, | |
{ | |
"type": "text", | |
"text": "25.08", | |
"color": "#111111", | |
"weight": "bold", | |
"size": "sm", | |
"align": "end", | |
"gravity": "center" | |
}, | |
{ | |
"type": "text", | |
"text": "25.08", | |
"color": "#111111", | |
"weight": "bold", | |
"size": "sm", | |
"align": "end", | |
"gravity": "center" | |
} | |
] | |
}, | |
{ | |
"margin": "md", | |
"type": "box", | |
"layout": "horizontal", | |
"contents": [ | |
{ | |
"type": "image", | |
"url": "https://www.bangchak.co.th/img/logo-oil/logo-gasohol-95.png", | |
"aspectRatio": "120:48" | |
}, | |
{ | |
"type": "text", | |
"text": "25.35", | |
"color": "#111111", | |
"weight": "bold", | |
"size": "sm", | |
"align": "end", | |
"gravity": "center" | |
}, | |
{ | |
"type": "text", | |
"text": "25.35", | |
"color": "#111111", | |
"weight": "bold", | |
"size": "sm", | |
"align": "end", | |
"gravity": "center" | |
} | |
] | |
}, | |
{ | |
"margin": "md", | |
"type": "box", | |
"layout": "horizontal", | |
"contents": [ | |
{ | |
"type": "text", | |
"text": "หมายเหตุ: ราคาขายปลีก กทม. ที่ยังไม่รวมภาษีบำรุงท้องถิ่น กทม. *ราคามีผล ณ วันที่ 29 ก.พ. 63 เวลา 05.00 น.", | |
"weight": "bold", | |
"color": "#999999", | |
"size": "xxs", | |
"flex": 1, | |
"wrap": true | |
} | |
] | |
} | |
] | |
}, | |
"footer": { | |
"type": "box", | |
"layout": "vertical", | |
"contents": [ | |
{ | |
"type": "box", | |
"layout": "horizontal", | |
"contents": [ | |
{ | |
"type": "text", | |
"text": "Source : bangchak.co.th", | |
"color": "#999999", | |
"size": "xs", | |
"align": "end", | |
"flex": 1 | |
} | |
], | |
"margin": "xs" | |
} | |
] | |
}, | |
"styles": { | |
"header": { | |
"backgroundColor": "#6486E3" | |
}, | |
"body": { | |
"backgroundColor": "#FEFEFE" | |
}, | |
"footer": { | |
"separator": true | |
} | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment