404页面检测文章加载;
Page类型排版微调
This commit is contained in:
tangly1024
2021-12-01 13:23:03 +08:00
parent 2b2ac12ce3
commit 3d02abf98e
4 changed files with 66 additions and 66 deletions

View File

@@ -5,9 +5,8 @@ import React from 'react'
* @returns {JSX.Element}
* @constructor
*/
const RewardButton = () => {
const RewardButton = () => {
const [popoverShow, setPopoverShow] = React.useState(false)
const btnRef = React.createRef()
const openPopover = () => {
setPopoverShow(true)
@@ -16,7 +15,7 @@ const RewardButton = () => {
setPopoverShow(false)
}
return (
<div onMouseEnter={openPopover} onMouseLeave={closePopover}>
<div onMouseEnter={openPopover} onMouseLeave={closePopover} className='justify-center py-10'>
<div className='bg-red-500 w-36 mx-auto animate__jello text-white hover:bg-green-400 duration-200 transform hover:scale-110 px-3 py-2 rounded cursor-pointer'>
<span className='fa fa-qrcode mr-2' />
<span>打赏一杯咖啡</span>