JSON ข้อความ · Message objectflexlay-booking-doctor-picker-carousel.json
{
"type": "flex",
"altText": "เลือกแพทย์ที่ต้องการนัดหมาย · คลินิกสุขภาพดี 3 ท่าน",
"contents": {
"type": "carousel",
"contents": [
{
"type": "bubble",
"size": "kilo",
"body": {
"type": "box",
"layout": "vertical",
"paddingAll": "lg",
"contents": [
{
"type": "box",
"layout": "horizontal",
"contents": [
{
"type": "box",
"layout": "vertical",
"flex": 0,
"width": "52px",
"height": "52px",
"cornerRadius": "26px",
"justifyContent": "center",
"backgroundColor": "#2563EB",
"contents": [
{
"type": "text",
"size": "md",
"text": "ปว",
"align": "center",
"color": "#FFFFFF",
"weight": "bold"
}
]
},
{
"type": "box",
"layout": "vertical",
"paddingStart": "md",
"justifyContent": "center",
"contents": [
{
"type": "text",
"size": "md",
"text": "พญ. ปวีณา ใจดี",
"wrap": true,
"color": "#111827",
"weight": "bold"
},
{
"type": "text",
"size": "xs",
"text": "อายุรกรรมทั่วไป",
"wrap": true,
"color": "#5F6673",
"margin": "xs"
}
]
}
]
},
{
"type": "separator",
"color": "#EEF0F3",
"margin": "lg"
},
{
"type": "box",
"layout": "baseline",
"margin": "lg",
"contents": [
{
"type": "text",
"size": "xs",
"text": "ออกตรวจ",
"flex": 2,
"color": "#5F6673"
},
{
"type": "text",
"size": "xs",
"text": "จ., พ., ศ. 09:00–16:00",
"flex": 5,
"wrap": true,
"color": "#111827"
}
]
}
]
},
"footer": {
"type": "box",
"layout": "vertical",
"paddingAll": "md",
"paddingTop": "none",
"contents": [
{
"type": "button",
"color": "#2563EB",
"style": "primary",
"height": "sm",
"action": {
"type": "postback",
"data": "action=pick_doctor&doctor=DR01",
"label": "เลือกแพทย์ท่านนี้",
"displayText": "ขอนัด พญ. ปวีณา ใจดี"
}
}
]
}
},
{
"type": "bubble",
"size": "kilo",
"body": {
"type": "box",
"layout": "vertical",
"paddingAll": "lg",
"contents": [
{
"type": "box",
"layout": "horizontal",
"contents": [
{
"type": "box",
"layout": "vertical",
"flex": 0,
"width": "52px",
"height": "52px",
"cornerRadius": "26px",
"justifyContent": "center",
"backgroundColor": "#047857",
"contents": [
{
"type": "text",
"size": "md",
"text": "ธน",
"align": "center",
"color": "#FFFFFF",
"weight": "bold"
}
]
},
{
"type": "box",
"layout": "vertical",
"paddingStart": "md",
"justifyContent": "center",
"contents": [
{
"type": "text",
"size": "md",
"text": "นพ. ธนกร รักษ์ไทย",
"wrap": true,
"color": "#111827",
"weight": "bold"
},
{
"type": "text",
"size": "xs",
"text": "ผิวหนังและความงาม",
"wrap": true,
"color": "#5F6673",
"margin": "xs"
}
]
}
]
},
{
"type": "separator",
"color": "#EEF0F3",
"margin": "lg"
},
{
"type": "box",
"layout": "baseline",
"margin": "lg",
"contents": [
{
"type": "text",
"size": "xs",
"text": "ออกตรวจ",
"flex": 2,
"color": "#5F6673"
},
{
"type": "text",
"size": "xs",
"text": "อ., พฤ. 13:00–20:00",
"flex": 5,
"wrap": true,
"color": "#111827"
}
]
}
]
},
"footer": {
"type": "box",
"layout": "vertical",
"paddingAll": "md",
"paddingTop": "none",
"contents": [
{
"type": "button",
"color": "#047857",
"style": "primary",
"height": "sm",
"action": {
"type": "postback",
"data": "action=pick_doctor&doctor=DR02",
"label": "เลือกแพทย์ท่านนี้",
"displayText": "ขอนัด นพ. ธนกร รักษ์ไทย"
}
}
]
}
},
{
"type": "bubble",
"size": "kilo",
"body": {
"type": "box",
"layout": "vertical",
"paddingAll": "lg",
"contents": [
{
"type": "box",
"layout": "horizontal",
"contents": [
{
"type": "box",
"layout": "vertical",
"flex": 0,
"width": "52px",
"height": "52px",
"cornerRadius": "26px",
"justifyContent": "center",
"backgroundColor": "#7C3AED",
"contents": [
{
"type": "text",
"size": "md",
"text": "ศร",
"align": "center",
"color": "#FFFFFF",
"weight": "bold"
}
]
},
{
"type": "box",
"layout": "vertical",
"paddingStart": "md",
"justifyContent": "center",
"contents": [
{
"type": "text",
"size": "md",
"text": "พญ. ศรีสุดา วงศ์งาม",
"wrap": true,
"color": "#111827",
"weight": "bold"
},
{
"type": "text",
"size": "xs",
"text": "กุมารเวช (เด็ก)",
"wrap": true,
"color": "#5F6673",
"margin": "xs"
}
]
}
]
},
{
"type": "separator",
"color": "#EEF0F3",
"margin": "lg"
},
{
"type": "box",
"layout": "baseline",
"margin": "lg",
"contents": [
{
"type": "text",
"size": "xs",
"text": "ออกตรวจ",
"flex": 2,
"color": "#5F6673"
},
{
"type": "text",
"size": "xs",
"text": "ส.–อา. 09:00–15:00",
"flex": 5,
"wrap": true,
"color": "#111827"
}
]
}
]
},
"footer": {
"type": "box",
"layout": "vertical",
"paddingAll": "md",
"paddingTop": "none",
"contents": [
{
"type": "button",
"color": "#7C3AED",
"style": "primary",
"height": "sm",
"action": {
"type": "postback",
"data": "action=pick_doctor&doctor=DR03",
"label": "เลือกแพทย์ท่านนี้",
"displayText": "ขอนัด พญ. ศรีสุดา วงศ์งาม"
}
}
]
}
}
]
}
}