feat: 优化生成配置布局与选项控件
This commit is contained in:
1 parent
1c5b1e448a
commit
94ae147250
3 files changed
+108
-8
No files matched your search
@@ -167,7 +167,7 @@ onScopeDispose(() => controller?.abort())
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<NCollapse class="production-tool-section" :default-expanded-names="['creative-profile']">
|
||||
<NCollapse class="production-tool-section creative-profile-settings" :default-expanded-names="['creative-profile']">
|
||||
<NCollapseItem name="creative-profile" title="项目画布与生成模型">
|
||||
<NSpin :show="loading">
|
||||
<NAlert v-if="error" type="error" :show-icon="false" class="mb-3">{{ error }}</NAlert>
|
||||
@@ -220,7 +220,7 @@ onScopeDispose(() => controller?.abort())
|
||||
/>
|
||||
</section>
|
||||
</div>
|
||||
<div class="page-form-actions mt-4">
|
||||
<div class="page-form-actions creative-profile-actions">
|
||||
<NButton
|
||||
type="primary"
|
||||
:loading="saving"
|
||||
@@ -238,11 +238,17 @@ onScopeDispose(() => controller?.abort())
|
||||
<style scoped>
|
||||
@reference "../../../styles/styles.css";
|
||||
.creative-profile-grid {
|
||||
@apply grid grid-cols-[repeat(2,_minmax(0,_1fr))] gap-x-5;
|
||||
@apply grid grid-cols-[repeat(2,_minmax(0,_1fr))] gap-x-5 gap-y-5;
|
||||
}
|
||||
.model-section {
|
||||
@apply min-w-0 p-4 bg-(--app-subtle);
|
||||
}
|
||||
.creative-profile-settings {
|
||||
@apply mb-7;
|
||||
}
|
||||
.creative-profile-actions {
|
||||
@apply mt-5 pt-1;
|
||||
}
|
||||
@media (max-width: 900px) {
|
||||
.creative-profile-grid {
|
||||
@apply grid-cols-[minmax(0,_1fr)];
|
||||
|
||||
Reference in new issue
Block a user