问题描述
我正在使用此链接 https://jsfiddle.net/rjva4e0t 将卡片保存为手机联系人 这是我的卡片,但我不知道如何将照片导入为徽标!它只是归零。 我想要这样的东西,但在 js 中。
有人可以帮忙吗?
<script type="text/javascript" src="../pages/Vcard.js"></script>
<script type="text/javascript">
function myfunction()
{
var all = [{
"version": "3.0","n": "موفقیت;کلینیک;;","fn": "مرکز مشاوره موفقیت ","nickname":"js","PHOTO":"https://branding.convertimage.net/file-format-JPG.jpg","title": "مرکز مشاوره و روانشناسی موفقیت","tel": [
{"value": "(+98) 21 220 270 94","type": "cell"}
],"email": [
{ "value": "info@moshaveretan.ir","type": "work" },//{ "value": "john.smith@home.com","type": "home" }
],},];
var link = vCard.export(all,"all vcards",true) // use parameter true to force download
document.body.appendChild(link)
}
</script>
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)