feat: 实现剧本创作与拆解前端工作台

This commit is contained in:
GouJ committed 2026-08-27 19:33:51 +08:00
1 parent edc003443f
commit 2ee6f049f6
56 files changed
+7597 -2

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
<script setup lang="ts">
import { statusLabels } from '../../lib/format'
import type { ProjectStatus } from '../../features/projects/types'
/** 状态同时提供文字和颜色,避免只依赖色觉。 */
defineProps<{ status: string; label?: string }>()
</script>
<template>
<span class="status-badge" :data-status="status">
<span class="status-dot" aria-hidden="true"></span
>{{ label || statusLabels[status as ProjectStatus] || status }}
</span>
</template>