feat: 实现剧本创作与拆解前端工作台
This commit is contained in:
1 parent
edc003443f
commit
2ee6f049f6
56 files changed
+7597
-2
No files matched your search
@@ -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>
|
||||
Reference in new issue
Block a user