fix(short-drama-agent-front): 优化拆解引导与质量规则配置
This commit is contained in:
1 parent
c6ef595a8e
commit
2db8549818
13 files changed
+626
-225
No files matched your search
@@ -1,14 +1,19 @@
|
||||
<script setup lang="ts">
|
||||
import { NScrollbar } from 'naive-ui'
|
||||
/** 工作区默认固定标题和操作区,可让手机提示、目录与正文在项目内容区一起滚动。 */
|
||||
defineProps<{
|
||||
/** 是否采用目录与详情分栏。 */
|
||||
split?: boolean
|
||||
/** 是否使用紧凑内容布局。 */
|
||||
compact?: boolean
|
||||
/** 手机是否让提示、工具、目录和正文一起滚动,项目顶栏仍固定。 */
|
||||
mobileScroll?: boolean
|
||||
}>()
|
||||
withDefaults(
|
||||
defineProps<{
|
||||
/** 是否采用目录与详情分栏。 */
|
||||
split?: boolean
|
||||
/** 是否使用紧凑内容布局。 */
|
||||
compact?: boolean
|
||||
/** 手机是否让提示、工具、目录和正文一起滚动,项目顶栏仍固定。 */
|
||||
mobileScroll?: boolean
|
||||
/** 隐藏标题区时保留插槽内已有弹层实例,空状态入口仍能复用它们。 */
|
||||
headerVisible?: boolean
|
||||
}>(),
|
||||
{ headerVisible: true }
|
||||
)
|
||||
</script>
|
||||
<template>
|
||||
<section
|
||||
@@ -17,7 +22,10 @@ defineProps<{
|
||||
>
|
||||
<!-- 以下是统一对齐的页面提示、标题与正文模块 -->
|
||||
<div v-if="$slots.notice" class="workspace-notice"><slot name="notice" /></div>
|
||||
<NScrollbar v-if="$slots.header" class="workspace-heading-scroll"
|
||||
<NScrollbar
|
||||
v-if="$slots.header"
|
||||
:style="headerVisible ? undefined : { display: 'none' }"
|
||||
class="workspace-heading-scroll"
|
||||
><header class="workspace-heading"><slot name="header" /></header
|
||||
></NScrollbar>
|
||||
<div v-if="split" class="workspace-split"><slot /></div>
|
||||
|
||||
Reference in new issue
Block a user