要实现将钉钉分享的链接转换为卡片形式的操作:
在项目中的html文件中将以下信息进行添加:
<meta property="og:title" content="Title Here" /> 标题
<meta property="og:url" content="http://www.example.com/" /> 地址
<meta property="og:image" content="http://example.com/image.jpg" /> 卡片上展示的图片
<meta property="og:description" content="Description Here" /> 卡片描述信息