perf(short-drama-agent-front): 优化制作工作台交互与移动端布局
This commit is contained in:
1 parent
b5eaed3981
commit
54a381ebd3
37 files changed
+1217
-426
No files matched your search
@@ -140,7 +140,7 @@ const rules = { concurrency: integerRule('批量并发'), maxRepairAttempts: int
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<WorkspacePage split compact class="storyboard-workspace-page">
|
||||
<WorkspacePage split compact mobile-scroll class="storyboard-workspace-page compact-shot-workspace">
|
||||
<template #notice>
|
||||
<NAlert v-if="episodeSourceUnavailable" type="info" :show-icon="false">
|
||||
本集镜头已重新生成。新标题和剧情详情尚未提供,当前只显示正式镜头编号;请按实际生成规格核对内容。
|
||||
@@ -452,7 +452,7 @@ const rules = { concurrency: integerRule('批量并发'), maxRepairAttempts: int
|
||||
</NScrollbar>
|
||||
</nav>
|
||||
<article class="storyboard-detail min-w-0">
|
||||
<NScrollbar v-if="shot" class="panel-scroll" content-class="p-5 lg:p-7">
|
||||
<NScrollbar v-if="shot" class="panel-scroll" content-class="shot-detail-content p-5 lg:p-7">
|
||||
<header class="mb-6">
|
||||
<p class="eyebrow">
|
||||
段落 {{ shot.beatNo }} · 镜头 {{ shot.shotNo }}
|
||||
@@ -562,23 +562,9 @@ const rules = { concurrency: integerRule('批量并发'), maxRepairAttempts: int
|
||||
@apply p-0;
|
||||
}
|
||||
@media (max-width: 760px) {
|
||||
/* 移动端按整行排列剧集、统计和操作,避免 flex 自动换行留下不规则空白。 */
|
||||
.storyboard-workspace-page .workspace-toolbar {
|
||||
@apply grid grid-cols-[minmax(0,_1fr)] gap-2;
|
||||
}
|
||||
.storyboard-workspace-page .toolbar-episode,
|
||||
.storyboard-workspace-page .toolbar-metrics,
|
||||
.storyboard-workspace-page .toolbar-actions {
|
||||
@apply w-full min-w-0 m-0;
|
||||
}
|
||||
.storyboard-workspace-page .toolbar-metrics {
|
||||
@apply justify-between;
|
||||
}
|
||||
.storyboard-workspace-page .toolbar-actions {
|
||||
@apply justify-start;
|
||||
}
|
||||
/* 手机目录按实际内容占高,避免没有状态或短标题时保留整块空白。 */
|
||||
.storyboard-workspace {
|
||||
@apply grid-cols-[minmax(0,_1fr)] grid-rows-[184px_minmax(0,_1fr)] gap-3;
|
||||
@apply grid-cols-[minmax(0,_1fr)] grid-rows-[auto_minmax(0,_1fr)] gap-2;
|
||||
}
|
||||
.storyboard-controls {
|
||||
@apply grid-cols-[minmax(0,_1fr)_minmax(0,_1fr)];
|
||||
|
||||
Reference in new issue
Block a user