Skip to content

Instantly share code, notes, and snippets.

@weimenglin
Last active July 23, 2020 09:40
Show Gist options
  • Save weimenglin/32952f95948f3c9e66b9ed4c355dc141 to your computer and use it in GitHub Desktop.
Save weimenglin/32952f95948f3c9e66b9ed4c355dc141 to your computer and use it in GitHub Desktop.
{
altText: '請在手機上查看林偉盟的名片。',
type: 'flex',
contents: {
"type": "bubble",
"hero": {
"type": "image",
"url": "https://www.i-genomics.com.tw/themes/zh-tw/image/logo-eng.jpg",
"size": "full",
"aspectMode": "fit",
"action": {
"type": "uri",
"label": "action",
"uri": "https://www.i-genomics.com.tw/zh-tw"
},
"margin": "none",
"align": "center",
"aspectRatio": "1600:600"
},
"body": {
"type": "box",
"layout": "vertical",
"contents": [
{
"type": "box",
"layout": "baseline",
"contents": [
{
"type": "text",
"text": "林偉盟",
"size": "xl",
"weight": "bold"
},
{
"type": "text",
"text": "生物資訊部經理"
}
]
},
{
"type": "box",
"layout": "baseline",
"contents": [
{
"type": "text",
"text": "Edison Lin",
"size": "xxs"
},
{
"type": "text",
"text": "Bioinformatics manager",
"size": "xxs"
}
]
},
{
"type": "box",
"layout": "baseline",
"contents": [
{
"type": "text",
"text": "先見基因科技",
"margin": "lg",
"size": "xs"
},
{
"type": "text",
"text": "統編 54557095",
"weight": "bold",
"size": "xs",
"align": "end"
}
],
"margin": "lg"
},
{
"type": "box",
"layout": "horizontal",
"contents": [
{
"type": "text",
"text": "70101台南市大學路1號自強校區科技大樓5樓9080室",
"size": "xxs"
}
]
},
{
"type": "box",
"layout": "baseline",
"contents": [
{
"type": "text",
"text": "T",
"color": "#0000ff",
"flex": 1
},
{
"type": "text",
"text": "062095869",
"align": "start",
"size": "xs",
"flex": 4
},
{
"type": "text",
"text": "F",
"color": "#0000ff",
"flex": 1
},
{
"type": "text",
"text": "062095867",
"size": "xs",
"flex": 4
}
],
"margin": "lg"
},
{
"type": "box",
"layout": "baseline",
"contents": [
{
"type": "text",
"text": "M",
"color": "#0000ff",
"flex": 1
},
{
"type": "text",
"text": "0972-802-085",
"flex": 4,
"size": "xs"
},
{
"type": "text",
"text": "L",
"flex": 1,
"color": "#00ff26"
},
{
"type": "text",
"text": "weimenglin",
"flex": 4,
"size": "xs"
}
]
},
{
"type": "box",
"layout": "baseline",
"contents": [
{
"type": "text",
"text": "email:",
"flex": 3,
"size": "xs"
},
{
"type": "text",
"text": "wmlin@i-genomics.com.tw",
"flex": 14,
"size": "xs",
"align": "start"
}
]
}
]
},
"footer": {
"type": "box",
"layout": "vertical",
"spacing": "sm",
"contents": [
{
"type": "separator",
"color": "#00ff26"
},
{
"type": "button",
"style": "link",
"height": "sm",
"action": {
"type": "uri",
"label": "打電話",
"uri": "tel:0972802085"
}
},
{
"type": "spacer",
"size": "sm"
}
],
"flex": 0
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment