main
Wayne 2 years ago
parent cfe5eba817
commit cd1c12dd3f

@ -6,9 +6,11 @@
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",
"build": "vite build", "build": "vite build",
"build:hot": "vite build",
"build:sta": "vite build --mode stage", "build:sta": "vite build --mode stage",
"preview": "vite preview", "preview": "vite preview",
"postbuild:sta" : "scp -r ./dist/* root@207.148.89.145:/www/wwwroot/utel.zltest.com.tw/public/home" "postbuild:sta" : "scp -r ./dist/* root@207.148.89.145:/www/wwwroot/utel.zltest.com.tw/public/home",
"postbuild:hot" : "scp -r ./dist/* root@167.179.106.36:/www/wwwroot/pro.utel.vip/app/public/home"
}, },
"dependencies": { "dependencies": {
"@line/liff": "^2.22.4", "@line/liff": "^2.22.4",

@ -349,7 +349,7 @@ function genCard(vcard) {
"action": { "action": {
"type": "uri", "type": "uri",
"label": "action", "label": "action",
"uri": "${import.meta.env.VITE_APP_BASE_URL}/home/address?act=add&cardid=${vcard.user_id}" "uri": "https://liff.line.me/${import.meta.env.VITE_APP_LINE_LIFF_ID}/home/address?act=add&cardid=${vcard.user_id}"
} }
} }
], ],

@ -315,7 +315,7 @@ function genCard(vcard) {
"action": { "action": {
"type": "uri", "type": "uri",
"label": "收藏名片", "label": "收藏名片",
"uri": "${import.meta.env.VITE_APP_BASE_URL}/home/address?act=add&cardid=${vcard.user_id}" "uri": "https://liff.line.me/${import.meta.env.VITE_APP_LINE_LIFF_ID}/home/address?act=add&cardid=${vcard.user_id}"
}, },
"color": "#c73f6d", "color": "#c73f6d",
"height": "sm", "height": "sm",

@ -305,7 +305,7 @@ function genCard(vcard) {
"action": { "action": {
"type": "uri", "type": "uri",
"label": "收藏名片", "label": "收藏名片",
"uri": "${import.meta.env.VITE_APP_BASE_URL}/home/address?act=add&cardid=${vcard.user_id}" "uri": "https://liff.line.me/${import.meta.env.VITE_APP_LINE_LIFF_ID}/home/address?act=add&cardid=${vcard.user_id}"
}, },
"color": "#464757", "color": "#464757",
"height": "sm", "height": "sm",

@ -234,7 +234,7 @@ function genCard(vcard) {
"action": { "action": {
"type": "uri", "type": "uri",
"label": "action", "label": "action",
"uri": "${import.meta.env.VITE_APP_BASE_URL}/home/address?act=add&cardid=${vcard.user_id}" "uri": "https://liff.line.me/${import.meta.env.VITE_APP_LINE_LIFF_ID}/home/address?act=add&cardid=${vcard.user_id}"
} }
} }
] ]

Loading…
Cancel
Save