Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
{
"type": "bubble",
"size": "giga",
"body": {
"type": "box",
"layout": "vertical",
"contents": [
{
"type": "box",
"layout": "vertical",
"contents": [
{
"type": "image",
"url": "https://www.saturday-school.org/wp-content/uploads/2019/06/06-Daily-News-1024x239.png",
"size": "5xl",
"gravity": "top",
"aspectMode": "cover",
"aspectRatio": "9:2"
},
{
"type": "text",
"text": "17 มกราคม 2564",
"align": "center",
"margin": "md",
"weight": "bold"
}
]
},
{
"type": "box",
"layout": "vertical",
"contents": [
{
"type": "box",
"layout": "horizontal",
"contents": [
{
"type": "box",
"layout": "vertical",
"contents": [
{
"type": "text",
"text": "1",
"size": "4xl",
"align": "center",
"weight": "bold"
},
{
"type": "text",
"text": "*",
"position": "absolute",
"size": "4xl",
"margin": "none",
"offsetTop": "-10px",
"offsetEnd": "14px",
"weight": "bold"
}
],
"borderWidth": "1px",
"width": "114px"
},
{
"type": "box",
"layout": "vertical",
"contents": [],
"borderWidth": "1px",
"borderColor": "#FF00FF",
"width": "1px"
},
{
"type": "box",
"layout": "vertical",
"contents": [],
"borderWidth": "1px",
"width": "114px"
},
{
"type": "box",
"layout": "vertical",
"contents": [],
"borderWidth": "1px",
"borderColor": "#FF00FF",
"width": "1px"
},
{
"type": "box",
"layout": "vertical",
"contents": [
{
"type": "text",
"text": "8",
"size": "4xl",
"align": "center",
"weight": "bold"
}
],
"borderWidth": "1px",
"width": "114px"
}
],
"height": "80px"
},
{
"type": "box",
"layout": "vertical",
"contents": [],
"backgroundColor": "#FF00FF",
"height": "2px"
},
{
"type": "box",
"layout": "horizontal",
"contents": [
{
"type": "box",
"layout": "vertical",
"contents": [
{
"type": "text",
"text": "5",
"size": "4xl",
"align": "center",
"weight": "bold"
}
],
"borderWidth": "1px",
"width": "114px"
},
{
"type": "box",
"layout": "vertical",
"contents": [],
"borderWidth": "1px",
"borderColor": "#FF00FF",
"width": "1px"
},
{
"type": "box",
"layout": "vertical",
"contents": [
{
"type": "text",
"text": "2",
"size": "4xl",
"align": "center",
"weight": "bold"
},
{
"type": "text",
"text": "*",
"position": "absolute",
"size": "4xl",
"margin": "none",
"offsetTop": "-10px",
"offsetEnd": "14px",
"weight": "bold"
}
],
"borderWidth": "1px",
"width": "114px"
},
{
"type": "box",
"layout": "vertical",
"contents": [],
"borderWidth": "1px",
"borderColor": "#FF00FF",
"width": "1px"
},
{
"type": "box",
"layout": "vertical",
"contents": [
{
"type": "text",
"text": "9",
"size": "4xl",
"align": "center",
"weight": "bold"
}
],
"borderWidth": "1px",
"width": "114px"
}
],
"height": "80px"
},
{
"type": "box",
"layout": "vertical",
"contents": [],
"backgroundColor": "#FF00FF",
"height": "2px"
},
{
"type": "box",
"layout": "horizontal",
"contents": [
{
"type": "box",
"layout": "vertical",
"contents": [
{
"type": "text",
"text": "3",
"size": "4xl",
"align": "center",
"weight": "bold"
}
],
"borderWidth": "1px",
"width": "114px"
},
{
"type": "box",
"layout": "vertical",
"contents": [],
"borderWidth": "1px",
"borderColor": "#FF00FF",
"width": "1px"
},
{
"type": "box",
"layout": "vertical",
"contents": [],
"borderWidth": "1px",
"width": "114px"
},
{
"type": "box",
"layout": "vertical",
"contents": [],
"borderWidth": "1px",
"borderColor": "#FF00FF",
"width": "1px"
},
{
"type": "box",
"layout": "vertical",
"contents": [
{
"type": "text",
"text": "6",
"size": "4xl",
"align": "center",
"weight": "bold"
}
],
"borderWidth": "1px",
"width": "114px"
}
],
"height": "80px"
}
],
"margin": "xl"
},
{
"type": "box",
"layout": "vertical",
"contents": [
{
"type": "text",
"text": "ที่มา : หนังสือพิมพ์เดลินิวส์",
"size": "sm",
"margin": "lg",
"align": "center"
}
]
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment