還車減碳小卡

在 YouBike Today - 小幫手內綁定 YouBike 帳戶後,還車就能收到這個減碳小卡。

如果你需要 demo,可以 加入好友,並且輸入: demo 52441000-bcde-11ea-8f08-23e6e5197101
{
    "type": "bubble",
    "body": {
        "layout": "vertical",
        "paddingAll": "0px",
        "type": "box",
        "contents": [
            {
                "type": "image",
                "url": "https:\/\/i.imgur.com\/HSGXcUy.png",
                "size": "full",
                "aspectMode": "cover",
                "aspectRatio": "3:4"
            },
            {
                "backgroundColor": "#242a36",
                "cornerRadius": "13px",
                "height": "26px",
                "layout": "vertical",
                "offsetStart": "12px",
                "offsetTop": "12px",
                "position": "absolute",
                "type": "box",
                "width": "75px",
                "contents": [
                    {
                        "align": "center",
                        "color": "#ffffff",
                        "flex": 1,
                        "gravity": "center",
                        "size": "xs",
                        "text": "\u9084\u8eca\u6210\u529f",
                        "type": "text",
                        "weight": "bold"
                    }
                ]
            },
            {
                "backgroundColor": "#242a36d8",
                "layout": "vertical",
                "offsetBottom": "0px",
                "offsetEnd": "0px",
                "offsetStart": "0px",
                "paddingAll": "16px",
                "paddingBottom": "20px",
                "paddingTop": "20px",
                "position": "absolute",
                "spacing": "sm",
                "type": "box",
                "contents": [
                    {
                        "align": "center",
                        "color": "#ffffff",
                        "size": "xl",
                        "text": "\u611f\u8b1d\u6e1b\u78b3\u9b25\u58eb\u4fdd\u8b77\u5730\u7403",
                        "type": "text",
                        "weight": "bold"
                    },
                    {
                        "layout": "horizontal",
                        "margin": "lg",
                        "spacing": "sm",
                        "type": "box",
                        "contents": [
                            {
                                "color": "#ffffff",
                                "flex": 1,
                                "gravity": "center",
                                "size": "sm",
                                "text": "\u6c34\u5b89\u516c\u5712",
                                "type": "text",
                                "wrap": true
                            },
                            {
                                "align": "center",
                                "color": "#ffffff",
                                "flex": 0,
                                "gravity": "center",
                                "text": "\u279c",
                                "type": "text"
                            },
                            {
                                "align": "end",
                                "color": "#ffffff",
                                "flex": 1,
                                "gravity": "center",
                                "size": "sm",
                                "text": "\u60e0\u4f86\u505c\u8eca\u5834",
                                "type": "text",
                                "wrap": true
                            }
                        ]
                    },
                    {
                        "color": "#ffffff",
                        "margin": "lg",
                        "type": "separator"
                    },
                    {
                        "type": "box",
                        "layout": "horizontal",
                        "spacing": "sm",
                        "contents": [
                            {
                                "color": "#ffffff",
                                "flex": 0,
                                "size": "sm",
                                "text": "\u672c\u6b21\u6e1b\u78b3\u6642\u9593",
                                "type": "text"
                            },
                            {
                                "align": "end",
                                "color": "#ffffff",
                                "size": "sm",
                                "text": "8 \u5206",
                                "type": "text"
                            }
                        ]
                    },
                    {
                        "type": "box",
                        "layout": "horizontal",
                        "spacing": "sm",
                        "contents": [
                            {
                                "color": "#ffffff",
                                "flex": 0,
                                "size": "sm",
                                "text": "\u7d2f\u7a4d\u6e1b\u78b3\u6642\u9593",
                                "type": "text"
                            },
                            {
                                "align": "end",
                                "color": "#ffffff",
                                "size": "sm",
                                "text": "705 \u5206",
                                "type": "text"
                            }
                        ]
                    },
                    {
                        "type": "box",
                        "layout": "horizontal",
                        "spacing": "sm",
                        "contents": [
                            {
                                "color": "#ffffff",
                                "flex": 0,
                                "size": "sm",
                                "text": "\u6210\u529f\u9084\u8eca\u6642\u9593",
                                "type": "text"
                            },
                            {
                                "align": "end",
                                "color": "#ffffff",
                                "size": "sm",
                                "text": "2020\/07\/03 09:24",
                                "type": "text"
                            }
                        ]
                    },
                    {
                        "type": "box",
                        "layout": "horizontal",
                        "spacing": "sm",
                        "contents": [
                            {
                                "color": "#ffffff",
                                "flex": 0,
                                "size": "sm",
                                "text": "\u672c\u6b21\u6e1b\u78b3\u8eca\u865f",
                                "type": "text"
                            },
                            {
                                "align": "end",
                                "color": "#ffffff",
                                "size": "sm",
                                "text": "B07487",
                                "type": "text"
                            }
                        ]
                    }
                ]
            }
        ]
    }
}
...
這個 Flex message 由  @kadacha 提供