|
|
|
@ -230,10 +230,10 @@ function genCard(vcard) {
|
|
|
|
"contents": [
|
|
|
|
"contents": [
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"type": "image",
|
|
|
|
"type": "image",
|
|
|
|
"url": "https://demo.zltest.com.tw/line/bg02.jpg",
|
|
|
|
"url": "https://369cycle.zltest.com.tw/tggo/template/utel_card-01.png",
|
|
|
|
"size": "full",
|
|
|
|
"size": "full",
|
|
|
|
"aspectMode": "cover",
|
|
|
|
"aspectMode": "cover",
|
|
|
|
"aspectRatio": "4:3",
|
|
|
|
"aspectRatio": "10:7",
|
|
|
|
"gravity": "top",
|
|
|
|
"gravity": "top",
|
|
|
|
"action": {
|
|
|
|
"action": {
|
|
|
|
"type": "uri",
|
|
|
|
"type": "uri",
|
|
|
|
@ -265,7 +265,7 @@ function genCard(vcard) {
|
|
|
|
"position": "absolute",
|
|
|
|
"position": "absolute",
|
|
|
|
"offsetTop": "13%",
|
|
|
|
"offsetTop": "13%",
|
|
|
|
"offsetStart": "3%",
|
|
|
|
"offsetStart": "3%",
|
|
|
|
"width": "26%"
|
|
|
|
"width": "36%"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"type": "box",
|
|
|
|
"type": "box",
|
|
|
|
@ -322,9 +322,9 @@ function genCard(vcard) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
],
|
|
|
|
"position": "absolute",
|
|
|
|
"position": "absolute",
|
|
|
|
"offsetStart": "4%",
|
|
|
|
"offsetStart": "5%",
|
|
|
|
"width": "25%",
|
|
|
|
"width": "22%",
|
|
|
|
"offsetBottom": "5%"
|
|
|
|
"offsetBottom": "25%"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"type": "box",
|
|
|
|
"type": "box",
|
|
|
|
@ -366,8 +366,8 @@ function genCard(vcard) {
|
|
|
|
"type": "box",
|
|
|
|
"type": "box",
|
|
|
|
"layout": "baseline",
|
|
|
|
"layout": "baseline",
|
|
|
|
"contents": [],
|
|
|
|
"contents": [],
|
|
|
|
"backgroundColor": "#d5602d",
|
|
|
|
"backgroundColor": "#e3c2d6",
|
|
|
|
"height": "3px",
|
|
|
|
"height": "2px",
|
|
|
|
"margin": "lg"
|
|
|
|
"margin": "lg"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
${vcardPhone}
|
|
|
|
${vcardPhone}
|
|
|
|
@ -384,9 +384,9 @@ function genCard(vcard) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
],
|
|
|
|
"position": "absolute",
|
|
|
|
"position": "absolute",
|
|
|
|
"offsetTop": "12%",
|
|
|
|
"offsetTop": "18%",
|
|
|
|
"offsetStart": "35%",
|
|
|
|
"offsetStart": "30%",
|
|
|
|
"offsetEnd": "5%"
|
|
|
|
"offsetEnd": "0%"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
],
|
|
|
|
"paddingAll": "0px"
|
|
|
|
"paddingAll": "0px"
|
|
|
|
|