修改模板

dev
DESKTOP-8UQ1PPR\09158 3 years ago
parent 29b69d5138
commit ad56c70b7c

@ -4,9 +4,9 @@ VUE_ENV = stage
VUE_APP_BASE_URL = https://utel.zltest.com.tw VUE_APP_BASE_URL = https://utel.zltest.com.tw
VUE_APP_LINE_LIFF_ID = 1656907652-p38ddKzQ VUE_APP_LINE_LIFF_ID = 2000917272-PBWoXdOl
VUE_APP_SEND_URL = https://liff.line.me/1656948609-BYr8Nynp VUE_APP_SEND_URL = https://liff.line.me/2000917272-PBWoXdOl
VUE_APP_API_URL = https://utel.zltest.com.tw/appapi/v1 VUE_APP_API_URL = https://utel.zltest.com.tw/appapi/v1

@ -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"

@ -246,7 +246,7 @@ function genCard(vcard) {
let card = ` let card = `
{ {
"altText": "UTel電子名片", "altText": "UTel電子名片test",
"type": "flex", "type": "flex",
"contents": "contents":
{ {

Loading…
Cancel
Save