refactor(icons): 迁移 components 目录图标到 lucide-react

- @chakra-ui/icons → lucide-react
- react-icons → lucide-react
- 涉及 49 个组件文件

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
zdl
2025-12-25 12:23:19 +08:00
parent 5b05ae17c9
commit b2100d6f75
49 changed files with 250 additions and 282 deletions

View File

@@ -19,7 +19,7 @@ import {
useToast,
Icon,
} from '@chakra-ui/react';
import { FiExternalLink, FiCopy, FiCheck } from 'react-icons/fi';
import { ExternalLink, Copy, Check } from 'lucide-react';
import { isIOSDevice } from './hooks/useWechatEnvironment';
// 小程序 AppID
@@ -145,7 +145,7 @@ const UrlSchemeLauncher = ({
isLoading={loading}
loadingText="正在跳转..."
colorScheme="green"
leftIcon={<Icon as={FiExternalLink} />}
leftIcon={<Icon as={ExternalLink} />}
style={buttonStyle}
{...buttonProps}
>
@@ -186,7 +186,7 @@ const UrlSchemeLauncher = ({
colorScheme="green"
width="100%"
onClick={handleRetry}
leftIcon={<Icon as={FiExternalLink} />}
leftIcon={<Icon as={ExternalLink} />}
>
打开微信
</Button>
@@ -194,7 +194,7 @@ const UrlSchemeLauncher = ({
variant="outline"
width="100%"
onClick={handleCopy}
leftIcon={<Icon as={copied ? FiCheck : FiCopy} />}
leftIcon={<Icon as={copied ? Check : Copy} />}
>
{copied ? '已复制' : '复制链接'}
</Button>