feat(short-drama-agent-front): 优化身份管理与镜头素材布局

This commit is contained in:
GJ committed 2026-10-11 21:41:56 +08:00
1 parent dd0bd79a35
commit 3d2c198e52
14 files changed
+1060 -629

No files matched your search

@@ -45,9 +45,19 @@ const fieldHeights = [80, 96]
</div>
<div class="identity-skeleton-row identity-skeleton-gallery-heading">
<NSkeleton :width="100" :height="14" />
<NSkeleton :width="76" :height="24" />
</div>
<!-- 以下是母版卡片与底部候选操作占位模块,主页面不再显示候选缩略图列表 -->
<div class="identity-skeleton-anchor">
<NSkeleton class="identity-skeleton-picture" />
<NSkeleton :width="'80%'" :height="18" />
<NSkeleton :width="'60%'" :height="12" />
<NSkeleton :height="34" />
</div>
<div class="identity-skeleton-row identity-skeleton-save">
<NSkeleton :width="110" :height="34" />
<NSkeleton :width="126" :height="34" />
</div>
<NSkeleton :height="150" />
<div class="identity-skeleton-field">
<NSkeleton :width="85" :height="12" />
<div class="identity-skeleton-row">
@@ -81,6 +91,14 @@ const fieldHeights = [80, 96]
.identity-skeleton-field {
@apply flex flex-col min-w-0 gap-3;
}
/* 骨架母版尺寸与正式卡片一致,手机仍按内容宽度显示正方形。 */
.identity-skeleton-anchor {
@apply grid w-full max-w-[260px] gap-3;
}
.identity-skeleton-anchor .identity-skeleton-picture {
@apply aspect-square;
height: auto;
}
.identity-skeleton-save {
@apply flex-wrap;
}
@@ -89,6 +107,9 @@ const fieldHeights = [80, 96]
--n-color-end: var(--app-field-hover) !important;
}
@media (max-width: 760px) {
.identity-skeleton-anchor {
@apply max-w-none;
}
.identity-skeleton-next {
@apply items-start flex-col;
}