Add unified entry (#179)

Co-authored-by: AceDataCloud <office@acedata.cloud>
This commit is contained in:
GermeyandAceDataCloud authored and GitHub committed 2025-02-16 00:32:22 +08:00
1 parent 339bfd4ca8
commit 7948887048
44 files changed
+2369 -2306

No files matched your search

@@ -18,7 +18,6 @@
<div class="flex gap-1">
<mode-selector />
<el-button type="primary" class="btn w-full" round @click="$emit('generate')">
<font-awesome-icon icon="fa-solid fa-magic" class="mr-2" />
{{ $t('midjourney.button.generate') }}
</el-button>
</div>
@@ -42,12 +41,10 @@ import ModeSelector from './config/ModeSelector2.vue';
import PromptInput from './config/PromptInput.vue';
import ReferenceImage from './config/ReferenceImage.vue';
import { ElButton } from 'element-plus';
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome';
export default defineComponent({
name: 'ConfigPanel',
components: {
FontAwesomeIcon,
ElButton,
PromptInput,
ModeSelector,
@@ -104,6 +104,7 @@ export default defineComponent({
color: white;
position: absolute;
text-align: center;
top: 12px;
}
&.active {
@@ -64,7 +64,6 @@ export default defineComponent({
position: relative;
.title {
font-size: 14px;
margin-bottom: 10px;
}
}
}
@@ -31,32 +31,32 @@ export default defineComponent({
{
value: '1:1',
label: '1:1',
width: 15,
height: 15
width: 20,
height: 20
},
{
value: '4:3',
label: '4:3',
width: 16,
height: 12
width: 20,
height: 15
},
{
value: '3:4',
label: '3:4',
width: 12,
height: 16
width: 15,
height: 20
},
{
value: '16:9',
label: '16:9',
width: 16,
height: 9
width: 25,
height: 13
},
{
value: '9:16',
label: '9:16',
width: 9,
height: 16
width: 13,
height: 25
}
]
};
@@ -99,8 +99,8 @@ export default defineComponent({
.item {
width: 48px;
height: 60px;
border: 1px solid var(--el-border-color);
height: 65px;
border: 2px solid var(--el-border-color);
display: flex;
flex-direction: column;
align-items: center;
@@ -117,7 +117,7 @@ export default defineComponent({
justify-content: center;
.rect {
border: 1px solid var(--el-border-color);
border: 2px solid var(--el-border-color);
width: 20px;
height: 20px;
border-radius: 2px;