refactor: 将 @iconify/vue 图标替换为 lucide-vue-next 本地组件
- 所有 lucide: 前缀的图标字符串替换为 lucide-vue-next 组件直接引用
- 动态图标绑定改为 <component :is> 渲染
- h(Icon, { icon: 'lucide:xxx' }) 改为 h(Xxx, { class: ... })
- app-card.vue 的 icon_url 改为 <img> 标签(实际是图片路径)
- 修复 Webhook 标识符冲突(重命名为 WebhookIcon)
- payment-channels 保留 @iconify/vue 用于品牌图标(支付宝、微信、Stripe、PayPal、USDT)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<script setup lang="ts">
|
||||
import type { HTMLAttributes } from 'vue'
|
||||
import { cn } from '@/lib/utils'
|
||||
import { Icon } from '@iconify/vue'
|
||||
import { Clock } from 'lucide-vue-next'
|
||||
import { computed } from 'vue'
|
||||
import UiButton from '@/components/ui/button/Button.vue'
|
||||
import UiPopover from '@/components/ui/popover/Popover.vue'
|
||||
@@ -53,7 +53,7 @@ function handleTimeChange(time: string | number) {
|
||||
)"
|
||||
:disabled="disabled"
|
||||
>
|
||||
<Icon icon="lucide:clock" class="mr-2 h-4 w-4" />
|
||||
<Clock class="mr-2 h-4 w-4" />
|
||||
{{ formattedTime || placeholder || '选择时间' }}
|
||||
</UiButton>
|
||||
</UiPopoverTrigger>
|
||||
|
||||
Reference in New Issue
Block a user