Fix styles of input and margins (#188)

Co-authored-by: AceDataCloud <office@acedata.cloud>
This commit is contained in:
GermeyandAceDataCloud authored and GitHub committed 2025-02-23 02:50:21 +08:00
1 parent 2cf4d81b1a
commit 73fe1656f1
172 files changed
+4886 -4966

No files matched your search

@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "fix styles",
"packageName": "@acedatacloud/nexior",
"email": "office@acedata.cloud",
"dependentChangeType": "patch"
}
+1
View File
@@ -34,5 +34,6 @@ export default defineComponent({
<style lang="scss" scoped>
.el-menu {
justify-content: center;
height: 40px;
}
</style>
+1
View File
@@ -37,5 +37,6 @@ export default defineComponent({
<style lang="scss" scoped>
.el-menu {
justify-content: center;
height: 40px;
}
</style>
+2 -1
View File
@@ -56,10 +56,11 @@ export default defineComponent({
<style lang="scss" scoped>
.panel {
height: 100%;
padding: 15px;
display: flex;
flex-direction: column;
flex: 1;
height: calc(100% - 40px);
.config {
width: 100%;
height: calc(100% - 50px);
@@ -1,6 +1,6 @@
<template>
<div class="field">
<h2 class="title">{{ $t('pika.name.effect') }}</h2>
<h2 class="title font-bold">{{ $t('pika.name.effect') }}</h2>
<el-select v-model="value" class="value" :placeholder="$t('pika.placeholder.select')" clearable>
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value">
<span class="float-left">{{ item.label }}</span>
+1 -1
View File
@@ -1,6 +1,6 @@
<template>
<div class="field">
<h2 class="title">{{ $t('flux.name.model') }}</h2>
<h2 class="title font-bold">{{ $t('flux.name.model') }}</h2>
<el-select v-model="value" class="value" :placeholder="$t('flux.placeholder.select')">
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value" />
</el-select>
+1 -1
View File
@@ -1,7 +1,7 @@
<template>
<div class="field">
<div class="box">
<h2 class="title">{{ $t('flux.name.prompt') }}</h2>
<h2 class="title font-bold">{{ $t('flux.name.prompt') }}</h2>
<info-icon :content="$t('flux.description.prompt')" class="info" />
</div>
<el-input
+1 -1
View File
@@ -1,6 +1,6 @@
<template>
<div>
<h2 class="title">{{ $t('flux.name.ratio') }}</h2>
<h2 class="title font-bold">{{ $t('flux.name.ratio') }}</h2>
<div class="items">
<div
v-for="(option, optionKey) in options"
+2
View File
@@ -60,6 +60,8 @@ export default defineComponent({
padding: 15px;
display: flex;
flex-direction: column;
flex: 1;
height: calc(100% - 40px);
.config {
width: 100%;
height: calc(100% - 50px);
@@ -1,6 +1,6 @@
<template>
<div class="field">
<h2 class="title">{{ $t('hailuo.name.model') }}</h2>
<h2 class="title font-bold">{{ $t('hailuo.name.model') }}</h2>
<el-select v-model="value" class="value" :placeholder="$t('hailuo.placeholder.select')" clearable>
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value">
<span class="float-left">{{ item.label }}</span>
+1 -1
View File
@@ -1,7 +1,7 @@
<template>
<div class="field">
<div class="box">
<h2 class="title">{{ $t('hailuo.name.prompt') }}</h2>
<h2 class="title font-bold">{{ $t('hailuo.name.prompt') }}</h2>
<info-icon :content="$t('hailuo.description.prompt')" class="info" />
</div>
<el-input
@@ -1,6 +1,6 @@
<template>
<div class="field">
<h2 class="title">{{ $t('hailuo.name.startImageUrl') }}</h2>
<h2 class="title font-bold">{{ $t('hailuo.name.startImageUrl') }}</h2>
<div class="upload-wrapper">
<el-upload
v-model:file-list="fileList"
+5
View File
@@ -343,6 +343,11 @@ $left-width: 70px;
.failure {
background: var(--el-fill-color-light);
width: 100%;
.el-alert__content {
p {
margin-bottom: 10px;
}
}
}
}
</style>
@@ -1,6 +1,6 @@
<template>
<div class="field">
<h2 class="title">{{ $t('headshots.name.endImageUrls') }}</h2>
<h2 class="title font-bold">{{ $t('headshots.name.endImageUrls') }}</h2>
<div class="upload-wrapper">
<el-upload
v-model:file-list="fileList"
@@ -1,6 +1,6 @@
<template>
<div class="field">
<h2 class="title">{{ $t('headshots.name.mode') }}</h2>
<h2 class="title font-bold">{{ $t('headshots.name.mode') }}</h2>
<el-radio-group v-model="value" size="small" class="mode">
<el-radio-button v-for="item in options" :key="item.value" :label="item.value">
{{ item.label }}
+2
View File
@@ -76,6 +76,8 @@ export default defineComponent({
padding: 15px;
display: flex;
flex-direction: column;
flex: 1;
height: calc(100% - 40px);
.config {
width: 100%;
height: calc(100% - 50px);
@@ -1,6 +1,6 @@
<template>
<div class="field">
<h2 class="title">{{ $t('luma.name.custom') }}</h2>
<h2 class="title font-bold">{{ $t('luma.name.custom') }}</h2>
<el-switch v-model="value" class="value" />
<info-icon :content="$t('luma.description.custom')" class="info" />
</div>
@@ -1,6 +1,6 @@
<template>
<div class="field">
<h2 class="title">{{ $t('luma.name.endImageUrl') }}</h2>
<h2 class="title font-bold">{{ $t('luma.name.endImageUrl') }}</h2>
<div class="upload-wrapper">
<el-upload
v-model:file-list="fileList"
@@ -1,6 +1,6 @@
<template>
<div class="field">
<h2 class="title">{{ $t('luma.name.enhancement') }}</h2>
<h2 class="title font-bold">{{ $t('luma.name.enhancement') }}</h2>
<el-switch v-model="value" class="value" />
<info-icon :content="$t('luma.description.enhancement')" class="info" />
</div>
@@ -1,7 +1,7 @@
<template>
<div class="field">
<div class="box">
<h2 class="title">{{ $t('luma.name.extend') }}</h2>
<h2 class="title font-bold">{{ $t('luma.name.extend') }}</h2>
</div>
<div class="task">
<div>
+1 -1
View File
@@ -1,6 +1,6 @@
<template>
<div class="field">
<h2 class="title">{{ $t('luma.name.loop') }}</h2>
<h2 class="title font-bold">{{ $t('luma.name.loop') }}</h2>
<el-switch v-model="value" class="value" />
<info-icon :content="$t('luma.description.loop')" class="info" />
</div>
+1 -1
View File
@@ -1,7 +1,7 @@
<template>
<div class="field">
<div class="box">
<h2 class="title">{{ $t('luma.name.prompt') }}</h2>
<h2 class="title font-bold">{{ $t('luma.name.prompt') }}</h2>
<info-icon :content="$t('luma.description.prompt')" class="info" />
</div>
<el-input
@@ -1,6 +1,6 @@
<template>
<div class="field">
<h2 class="title">{{ $t('luma.name.startImageUrl') }}</h2>
<h2 class="title font-bold">{{ $t('luma.name.startImageUrl') }}</h2>
<div class="upload-wrapper">
<el-upload
v-model:file-list="fileList"
+1 -1
View File
@@ -1,6 +1,6 @@
<template>
<div class="field">
<h2 class="title">{{ $t('luma.name.videoUrl') }}</h2>
<h2 class="title font-bold">{{ $t('luma.name.videoUrl') }}</h2>
<div class="upload-wrapper">
<el-upload
v-model:file-list="fileList"
+5
View File
@@ -334,6 +334,11 @@ $left-width: 70px;
.failure {
background: var(--el-fill-color-light);
width: 100%;
.el-alert__content {
p {
margin-bottom: 10px;
}
}
}
}
</style>
+3 -1
View File
@@ -1,5 +1,5 @@
<template>
<div class="panel flex flex-col h-full">
<div class="panel flex flex-col">
<div class="flex-1 overflow-y-scroll p-4">
<model-selector class="mb-2" />
<prompt-input class="mb-2" />
@@ -72,5 +72,7 @@ export default defineComponent({
<style lang="scss" scoped>
.panel {
border-right: 1px solid var(--el-border-color);
flex: 1;
height: calc(100% - 40px);
}
</style>
@@ -1,7 +1,7 @@
<template>
<div class="field">
<div class="box">
<h2 class="title">{{ $t('midjourney.name.prompt') }}</h2>
<span class="text-sm font-bold">{{ $t('midjourney.name.prompt') }}</span>
<info-icon :content="$t('midjourney.description.prompt')" class="info" />
</div>
<el-input
@@ -1,6 +1,6 @@
<template>
<div class="field">
<h2 class="title">{{ $t('midjourney.name.quality') }}</h2>
<span class="text-sm font-bold">{{ $t('midjourney.name.quality') }}</span>
<el-radio-group v-model="value" size="small" class="quality">
<el-radio-button v-for="item in options" :key="item.value" :label="item.value">
{{ item.label }}
@@ -1,6 +1,6 @@
<template>
<div>
<h2 class="title">{{ $t('midjourney.name.ratio') }}</h2>
<span class="text-sm font-bold mb-2 block">{{ $t('midjourney.name.ratio') }}</span>
<div class="items">
<div
v-for="(option, optionKey) in options"
@@ -1,6 +1,6 @@
<template>
<div class="field">
<h2 class="title">{{ $t('midjourney.name.style') }}</h2>
<span class="text-sm font-bold title">{{ $t('midjourney.name.style') }}</span>
<el-select v-model="value" class="value" :placeholder="$t('midjourney.placeholder.select')" clearable>
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value">
<span class="float-left">{{ item.label }}</span>
@@ -1,6 +1,6 @@
<template>
<div class="field">
<h2 class="title">{{ $t('midjourney.name.version') }}</h2>
<span class="text-sm font-bold">{{ $t('midjourney.name.version') }}</span>
<el-select v-model="value" class="value" :placeholder="$t('midjourney.placeholder.select')">
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value" />
</el-select>
+2
View File
@@ -69,6 +69,8 @@ export default defineComponent({
padding: 15px;
display: flex;
flex-direction: column;
flex: 1;
height: calc(100% - 40px);
.config {
width: 100%;
height: calc(100% - 50px);
@@ -1,6 +1,6 @@
<template>
<div class="field">
<h2 class="title">{{ $t('pika.name.effect') }}</h2>
<h2 class="title font-bold">{{ $t('pika.name.effect') }}</h2>
<el-select v-model="value" class="value" :placeholder="$t('pika.placeholder.select')" clearable>
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value">
<span class="float-left">{{ item.label }}</span>
+1 -1
View File
@@ -1,6 +1,6 @@
<template>
<div class="field">
<h2 class="title">{{ $t('pika.name.imageUrl') }}</h2>
<h2 class="title font-bold">{{ $t('pika.name.imageUrl') }}</h2>
<div class="upload-wrapper">
<el-upload
v-model:file-list="fileList"
@@ -1,6 +1,6 @@
<template>
<div class="field">
<h2 class="title">{{ $t('pika.name.ingredientsModel') }}</h2>
<h2 class="title font-bold">{{ $t('pika.name.ingredientsModel') }}</h2>
<el-radio-group v-model="value" size="small" class="quality">
<el-radio-button v-for="item in options" :key="item.value" :label="item.value">
{{ item.label }}
@@ -1,6 +1,6 @@
<template>
<div class="field">
<h2 class="title">{{ $t('pika.name.ingredients') }}</h2>
<h2 class="title font-bold">{{ $t('pika.name.ingredients') }}</h2>
<el-switch v-model="value" class="value" />
<info-icon :content="$t('pika.description.ingredients')" class="info" />
</div>
+1 -1
View File
@@ -1,6 +1,6 @@
<template>
<div class="field">
<h2 class="title">{{ $t('pika.name.model') }}</h2>
<h2 class="title font-bold">{{ $t('pika.name.model') }}</h2>
<el-select v-model="value" class="value" :placeholder="$t('pika.placeholder.select')">
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value" />
</el-select>
+1 -1
View File
@@ -1,7 +1,7 @@
<template>
<div class="field">
<div class="box">
<h2 class="title">{{ $t('pika.name.prompt') }}</h2>
<h2 class="title font-bold">{{ $t('pika.name.prompt') }}</h2>
<info-icon :content="$t('pika.description.prompt')" class="info" />
</div>
<el-input
+5
View File
@@ -333,6 +333,11 @@ $left-width: 70px;
.failure {
background: var(--el-fill-color-light);
width: 100%;
.el-alert__content {
p {
margin-bottom: 10px;
}
}
}
}
</style>
@@ -1,6 +1,6 @@
<template>
<div class="field">
<h2 class="title">{{ $t('qrart.name.advanced') }}</h2>
<span class="title font-bold">{{ $t('qrart.name.advanced') }}</span>
<el-switch v-model="value" class="value" />
</div>
</template>
@@ -1,6 +1,6 @@
<template>
<div>
<h2 class="title">{{ $t('qrart.name.aspectRatio') }}</h2>
<span class="text-sm font-bold block mb-2">{{ $t('qrart.name.aspectRatio') }}</span>
<div class="items">
<div
v-for="(option, optionKey) in options"
+1 -3
View File
@@ -1,9 +1,7 @@
<template>
<div class="field">
<div class="flex justify-between items-center mb-4">
<div>
<span>{{ $t('qrart.name.content') }}</span>
</div>
<span class="text-sm font-bold title">{{ $t('qrart.name.content') }}</span>
<div class="flex items-center">
<el-radio-group v-model="inputWay">
<el-radio-button label="input">{{ $t('qrart.inputWay.input') }} </el-radio-button>
+1 -1
View File
@@ -1,6 +1,6 @@
<template>
<div class="field">
<h2 class="title">{{ $t('qrart.name.ecl') }}</h2>
<span class="text-sm font-bold block mb-2">{{ $t('qrart.name.ecl') }}</span>
<el-select v-model="value" clearable class="value" :placeholder="$t('qrart.placeholder.ecl')">
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value" />
</el-select>
@@ -1,6 +1,6 @@
<template>
<div class="field">
<h2 class="title">{{ $t('qrart.name.markerShape') }}</h2>
<span class="text-sm font-bold block mb-2">{{ $t('qrart.name.markerShape') }}</span>
<el-select v-model="value" clearable class="value" :placeholder="$t('qrart.placeholder.markerShape')">
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value" />
</el-select>
@@ -1,6 +1,6 @@
<template>
<div class="field">
<h2 class="title">{{ $t('qrart.name.paddingLevel') }}</h2>
<span class="text-sm font-bold block mb-2">{{ $t('qrart.name.paddingLevel') }}</span>
<el-select v-model="value" clearable class="value" :placeholder="$t('qrart.placeholder.paddingLevel')">
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value" />
</el-select>
@@ -1,6 +1,6 @@
<template>
<div class="field">
<h2 class="title">{{ $t('qrart.name.paddingNoise') }}</h2>
<span class="text-sm font-bold block mb-2">{{ $t('qrart.name.paddingNoise') }}</span>
<el-select v-model="value" clearable class="value" :placeholder="$t('qrart.placeholder.paddingNoise')">
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value" />
</el-select>
@@ -1,6 +1,6 @@
<template>
<div class="field">
<h2 class="title">{{ $t('qrart.name.pixelStyle') }}</h2>
<span class="text-sm font-bold block mb-2">{{ $t('qrart.name.pixelStyle') }}</span>
<el-select v-model="value" clearable class="value" :placeholder="$t('qrart.placeholder.pixelStyle')">
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value" />
</el-select>
@@ -1,6 +1,6 @@
<template>
<div class="field">
<h2 class="title">{{ $t('qrart.name.position') }}</h2>
<span class="title font-bold">{{ $t('qrart.name.position') }}</span>
<el-select v-model="value" clearable class="value" :placeholder="$t('qrart.placeholder.position')">
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value" />
</el-select>
@@ -1,6 +1,6 @@
<template>
<div class="field">
<h2 class="title">{{ $t('qrart.name.preset') }}</h2>
<span class="text-sm font-bold block mb-2">{{ $t('qrart.name.preset') }}</span>
<el-select v-model="value" clearable class="value" :placeholder="$t('qrart.placeholder.preset')">
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value" />
</el-select>
@@ -1,6 +1,6 @@
<template>
<div class="field">
<h2 class="title">{{ $t('qrart.name.preset') }}</h2>
<span class="text-sm font-bold block mb-2">{{ $t('qrart.name.preset') }}</span>
<div class="pane">
<div
v-for="(option, optionKey) in options"
+1 -1
View File
@@ -1,6 +1,6 @@
<template>
<div class="field">
<h2 class="title">{{ $t('qrart.name.prompt') }}</h2>
<span class="text-sm font-bold block mb-2">{{ $t('qrart.name.prompt') }}</span>
<el-input
v-model="value"
:rows="3"
+1 -1
View File
@@ -1,6 +1,6 @@
<template>
<div class="field">
<h2 class="title">{{ $t('qrart.name.qrw') }}</h2>
<span class="text-sm font-bold title mb-2">{{ $t('qrart.name.qrw') }}</span>
<el-slider v-model="value" :min="1.5" :max="3" :step="0.1" class="value" />
<info-icon :content="$t('qrart.description.qrw')" class="info" />
</div>
@@ -1,6 +1,6 @@
<template>
<div class="field">
<h2 class="title">{{ $t('qrart.name.rawurl') }}</h2>
<span class="text-sm font-bold block mb-2">{{ $t('qrart.name.rawurl') }}</span>
<el-switch v-model="value" class="value" />
</div>
</template>
@@ -1,6 +1,6 @@
<template>
<div class="field">
<h2 class="title">{{ $t('qrart.name.rotate') }}</h2>
<span class="text-sm font-bold block mb-2">{{ $t('qrart.name.rotate') }}</span>
<el-select v-model="value" clearable class="value" :placeholder="$t('qrart.placeholder.rotate')">
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value" />
</el-select>
+1 -1
View File
@@ -1,6 +1,6 @@
<template>
<div class="field">
<h2 class="title">{{ $t('qrart.name.seed') }}</h2>
<span class="text-sm font-bold block mb-2">{{ $t('qrart.name.seed') }}</span>
<el-input v-model="value" class="value" :placeholder="$t('qrart.placeholder.seed')" />
</div>
</template>
@@ -1,6 +1,6 @@
<template>
<div class="field">
<h2 class="title">{{ $t('qrart.name.steps') }}</h2>
<span class="text-sm font-bold block mb-2">{{ $t('qrart.name.steps') }}</span>
<el-slider v-model="value" :min="10" :max="20" :step="1" class="value" />
<info-icon :content="$t('qrart.description.steps')" class="info" />
</div>
@@ -1,6 +1,6 @@
<template>
<div class="field">
<h2 class="title">{{ $t('qrart.name.subMarker') }}</h2>
<span class="text-sm font-bold block mb-2">{{ $t('qrart.name.subMarker') }}</span>
<el-select v-model="value" clearable class="value" :placeholder="$t('qrart.placeholder.subMarker')">
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value" />
</el-select>
+1 -1
View File
@@ -1,6 +1,6 @@
<template>
<div class="field">
<h2 class="title">{{ $t('qrart.name.type') }}</h2>
<span class="text-sm font-bold title">{{ $t('qrart.name.type') }}</span>
<el-select v-model="value" class="value" :placeholder="$t('qrart.placeholder.select')">
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value" />
</el-select>
@@ -1,10 +1,10 @@
<template>
<div class="field">
<div class="box">
<h2 class="title">{{ $t('suno.name.cover') }}</h2>
<h2 class="title font-bold">{{ $t('suno.name.cover') }}</h2>
</div>
<div class="task">
<div class="audio" @click="onClick(audio)">
<div v-if="audio" class="audio" @click="onClick(audio)">
<div v-loading="!audio?.audio_url || !audio?.video_url" class="left">
<el-image :src="audio?.image_url" class="cover" fit="cover" />
<div
@@ -1,7 +1,7 @@
<template>
<div class="field">
<div class="box">
<h2 class="title">{{ $t('suno.name.extend') }}</h2>
<h2 class="title font-bold">{{ $t('suno.name.extend') }}</h2>
<div class="input-wrapper">
<el-input-number
v-model="value"
+1 -1
View File
@@ -1,7 +1,7 @@
<template>
<div class="field">
<div class="box">
<h2 class="title">{{ $t('suno.name.lyrics') }}</h2>
<h2 class="title font-bold">{{ $t('suno.name.lyrics') }}</h2>
<info-icon :content="$t('suno.description.lyrics')" class="info" />
</div>
<el-input
+1 -1
View File
@@ -2,7 +2,7 @@
<div class="field">
<div class="box">
<div class="title-info">
<h2 class="title">{{ $t('suno.name.prompt') }}</h2>
<h2 class="title font-bold">{{ $t('suno.name.prompt') }}</h2>
<info-icon :content="$t('suno.description.prompt')" class="info" />
</div>
<div class="instrumental">
+1 -1
View File
@@ -1,7 +1,7 @@
<template>
<div class="field">
<div class="title-container">
<h2 class="title">{{ $t('suno.name.style') }}</h2>
<h2 class="titlefont-bold">{{ $t('suno.name.style') }}</h2>
<info-icon :content="$t('suno.description.style')" class="info" />
</div>
<el-input
+1 -1
View File
@@ -1,7 +1,7 @@
<template>
<div class="field">
<div class="title-container">
<h2 class="title">{{ $t('suno.name.title') }}</h2>
<h2 class="title font-bold">{{ $t('suno.name.title') }}</h2>
<info-icon :content="$t('suno.description.title')" class="info" />
</div>
<el-input
+1 -1
View File
@@ -1,6 +1,6 @@
<template>
<div class="field">
<h2 class="title">{{ $t('suno.name.type') }}</h2>
<h2 class="title font-bold">{{ $t('suno.name.type') }}</h2>
<el-switch v-model="custom" class="value" />
<el-select v-model="model" class="value" :placeholder="$t('suno.placeholder.select')">
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value" />
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Loaded 100 of 172 files, more files were not shown because too many files have changed in this diff. Show more