JSON ข้อความ · Message objectflexlay-warranty-claim-status.json
{
"type": "flex",
"altText": "ผลการเคลมประกัน WC-24019: อนุมัติเปลี่ยนสินค้าใหม่ สมาร์ตวอทช์ Pulse 2",
"contents": {
"type": "bubble",
"size": "kilo",
"body": {
"type": "box",
"layout": "vertical",
"spacing": "sm",
"paddingAll": "xl",
"contents": [
{
"type": "box",
"layout": "horizontal",
"contents": [
{
"type": "text",
"size": "sm",
"text": "สินค้า",
"flex": 2,
"color": "#5F6673"
},
{
"type": "text",
"size": "sm",
"text": "สมาร์ตวอทช์ Pulse 2",
"flex": 4,
"wrap": true,
"align": "end",
"color": "#111827"
}
]
},
{
"type": "box",
"layout": "horizontal",
"contents": [
{
"type": "text",
"size": "sm",
"text": "หมายเลขเครื่อง",
"flex": 2,
"color": "#5F6673"
},
{
"type": "text",
"size": "sm",
"text": "PL2-8F3K-2201",
"flex": 4,
"wrap": true,
"align": "end",
"color": "#111827"
}
]
},
{
"type": "box",
"layout": "horizontal",
"contents": [
{
"type": "text",
"size": "sm",
"text": "อาการ",
"flex": 2,
"color": "#5F6673"
},
{
"type": "text",
"size": "sm",
"text": "หน้าจอไม่ติดหลังชาร์จ",
"flex": 4,
"wrap": true,
"align": "end",
"color": "#111827"
}
]
},
{
"type": "box",
"layout": "horizontal",
"contents": [
{
"type": "text",
"size": "sm",
"text": "วิธีดำเนินการ",
"flex": 2,
"color": "#5F6673"
},
{
"type": "text",
"size": "sm",
"text": "เปลี่ยนเครื่องใหม่",
"flex": 4,
"wrap": true,
"align": "end",
"color": "#15803D",
"weight": "bold"
}
]
},
{
"type": "separator",
"color": "#EEF0F3",
"margin": "md"
},
{
"type": "text",
"size": "xs",
"text": "ขั้นตอนถัดไป",
"color": "#5F6673",
"margin": "md",
"weight": "bold"
},
{
"type": "text",
"size": "sm",
"text": "เลือกรับเครื่องใหม่ที่สาขา หรือให้จัดส่งถึงบ้านฟรี ภายใน 3–5 วันทำการ",
"wrap": true,
"color": "#374151"
}
]
},
"footer": {
"type": "box",
"layout": "vertical",
"spacing": "sm",
"paddingAll": "lg",
"paddingTop": "none",
"contents": [
{
"type": "button",
"color": "#15803D",
"style": "primary",
"height": "sm",
"action": {
"type": "postback",
"data": "action=claim_delivery&claim=WC-24019",
"label": "เลือกวิธีรับสินค้า",
"displayText": "เลือกวิธีรับสินค้า"
}
},
{
"type": "button",
"color": "#15803D",
"style": "link",
"height": "sm",
"action": {
"type": "uri",
"uri": "https://example.com/warranty",
"label": "ดูเงื่อนไขการรับประกัน"
}
}
]
},
"header": {
"type": "box",
"layout": "vertical",
"paddingAll": "xl",
"backgroundColor": "#F0FDF4",
"contents": [
{
"type": "box",
"layout": "horizontal",
"contents": [
{
"type": "text",
"size": "lg",
"text": "ผลการเคลมประกัน",
"flex": 1,
"color": "#111827",
"weight": "bold"
},
{
"type": "box",
"layout": "vertical",
"flex": 0,
"paddingEnd": "8px",
"paddingTop": "2px",
"cornerRadius": "xl",
"paddingStart": "8px",
"paddingBottom": "2px",
"backgroundColor": "#15803D",
"contents": [
{
"type": "text",
"size": "xxs",
"text": "อนุมัติแล้ว",
"align": "center",
"color": "#FFFFFF",
"weight": "bold"
}
]
}
]
},
{
"type": "text",
"size": "xs",
"text": "เลขที่เคลม #WC-24019 · 14 ธ.ค. 2569",
"color": "#5F6673",
"margin": "xs"
}
]
}
}
}