fix:QQ分享按钮无效

This commit is contained in:
Liboq
2023-07-24 21:48:34 +08:00
parent a110f17a64
commit 205e87c541

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') {