Compare commits

..

2 Commits

Author SHA1 Message Date
zdl
afc92ee583 fix: h5 去掉通知弹窗引导 2025-11-27 13:37:01 +08:00
zdl
d825e4fe59 fix: 关注按钮UI调整 2025-11-27 11:19:20 +08:00
2 changed files with 5 additions and 6 deletions

View File

@@ -571,8 +571,8 @@ export const NotificationProvider = ({ children }) => {
logger.info('NotificationContext', 'Auto-requesting browser permission on notification'); logger.info('NotificationContext', 'Auto-requesting browser permission on notification');
await requestBrowserPermission(); await requestBrowserPermission();
} }
// 如果权限是denied已拒绝提供设置指引 // 如果权限是denied已拒绝提供设置指引(仅 PC 端显示)
else if (browserPermission === 'denied') { else if (browserPermission === 'denied' && !isMobile) {
const toastId = 'browser-permission-denied-guide'; const toastId = 'browser-permission-denied-guide';
if (!toast.isActive(toastId)) { if (!toast.isActive(toastId)) {
toast({ toast({

View File

@@ -32,10 +32,10 @@ const EventFollowButton = ({
size={size} size={size}
colorScheme="yellow" colorScheme="yellow"
variant="ghost" variant="ghost"
bg="whiteAlpha.500" bg="rgba(113, 128, 150, 0.6)"
boxShadow="sm" boxShadow="sm"
_hover={{ _hover={{
bg: 'whiteAlpha.800', bg: 'rgba(113, 128, 150, 0.8)',
boxShadow: 'md' boxShadow: 'md'
}} }}
icon={ icon={
@@ -47,8 +47,7 @@ const EventFollowButton = ({
) : ( ) : (
<AiOutlineStar <AiOutlineStar
size={iconSize} size={iconSize}
color="#718096" color="gold"
strokeWidth="1"
/> />
) )
} }