feat(short-drama-agent-front): 接入人工动作修订与视频版本权限

This commit is contained in:
GJ committed 2026-10-14 13:44:02 +08:00
1 parent 7a60db3ced
commit fa76165960
38 files changed
+2003 -158

No files matched your search

@@ -0,0 +1,39 @@
<script setup lang="ts">
/** 工作区模块标题、说明与右侧操作的统一展示参数。 */
interface Props {
/** 模块标题。 */
title: string
/** 模块说明,可通过 description 插槽补充状态与提示。 */
description?: string
}
/** 标题与说明由业务模块提供,操作通过插槽复用统一对齐方式。 */
defineProps<Props>()
</script>
<template>
<!-- 以下是统一的模块标题与右侧操作模块 -->
<header class="workspace-section-heading">
<div class="workspace-section-heading-row">
<h3 class="text-sm font-semibold">{{ title }}</h3>
<div v-if="$slots.actions" class="workspace-section-heading-actions"><slot name="actions" /></div>
</div>
<!-- 以下是标题下方的说明与状态模块 -->
<div v-if="description || $slots.description" class="workspace-section-description">
<slot name="description">{{ description }}</slot>
</div>
</header>
</template>
<style>
@reference "../../styles/styles.css";
.workspace-section-heading-row {
@apply flex min-w-0 flex-wrap items-center justify-between gap-3;
}
.workspace-section-heading-actions {
@apply flex shrink-0 flex-wrap items-center gap-3;
}
.workspace-section-description {
@apply mt-2 text-xs leading-6 text-muted;
}
</style>