Merge pull request #1338 from Liboq/pikachu-NotionNext

fix:QQ分享按钮无效
This commit is contained in:
tangly1024
2023-07-26 17:40:12 +08:00
committed by GitHub

View File

@@ -341,9 +341,9 @@ const ShareButtons = ({ shareUrl, title, body, image }) => {
}
if (singleService === 'qq') {
return <button key={singleService} className='cursor-pointer bg-blue-600 text-white rounded-full mx-1'>
<div target='_blank' rel='noreferrer' href={`http://connect.qq.com/widget/shareqq/index.html?url=${shareUrl}&sharesource=qzone&title=${title}&desc=${body}`} >
<a target='_blank' rel='noreferrer' href={`http://connect.qq.com/widget/shareqq/index.html?url=${shareUrl}&sharesource=qzone&title=${title}&desc=${body}`} >
<i className='fab fa-qq w-8' />
</div>
</a>
</button>
}
if (singleService === 'wechat') {