Skip to content

🎬 火宝短剧 - 基于AI的一站式短剧生成平台 《一句话生成完整短剧,从剧本到成片全自动化》 Huobao Drama - An AI-Powered End-to-End Short Drama Generator "One Sentence to Complete Drama: Fully Automated from Script to Final Video"

TypeScript
683 B
Raw Blame
<template>
  <button
    type="button"
    class="app-menu-item"
    :class="{ selected, danger }"
    :disabled="disabled"
    role="menuitem"
    :aria-selected="selected || undefined"
  >
    <Check :size="12" class="app-menu-item-check" />
    <span class="app-menu-item-label"><slot /></span>
    <span v-if="$slots.trailing" class="app-menu-item-trailing"><slot name="trailing" /></span>
  </button>
</template>

<script setup lang="ts">
import { Check } from 'lucide-vue-next'

/** AppMenuItem — 统一菜单项:选中左侧勾(占位对齐)、危险项、trailing 徽章槽 */
defineProps<{
  selected?: boolean
  danger?: boolean
  disabled?: boolean
}>()
</script>