Merge branch 'dev_vite' of ssh://18.167.251.121:10002/aidlab/aida_front into dev_vite
This commit is contained in:
@@ -57,7 +57,7 @@
|
|||||||
style="width: 250px"
|
style="width: 250px"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
{{ currentState }}
|
<!-- {{ currentState }} -->
|
||||||
<div class="admin_state_item">
|
<div class="admin_state_item">
|
||||||
<span>State:</span>
|
<span>State:</span>
|
||||||
<a-select v-model:value="currentState" style="width:250px" optionFilterProp="label" :options="state" placeholder="Please select" allowClear show-search></a-select>
|
<a-select v-model:value="currentState" style="width:250px" optionFilterProp="label" :options="state" placeholder="Please select" allowClear show-search></a-select>
|
||||||
|
|||||||
@@ -287,7 +287,7 @@
|
|||||||
></i>
|
></i>
|
||||||
<div
|
<div
|
||||||
class="icon iconfont icon-xiala"
|
class="icon iconfont icon-xiala"
|
||||||
v-show="scaleImageList[scaleImageIndex]?.resultType != 'Relight'"
|
v-show="showDropdown"
|
||||||
:class="{ active: speedState }"
|
:class="{ active: speedState }"
|
||||||
@click.stop="openSpeed"
|
@click.stop="openSpeed"
|
||||||
></div>
|
></div>
|
||||||
@@ -492,6 +492,14 @@ export default defineComponent({
|
|||||||
scaleImageList: [],
|
scaleImageList: [],
|
||||||
generateCourse: null as any
|
generateCourse: null as any
|
||||||
})
|
})
|
||||||
|
|
||||||
|
const showDropdown = computed(() => {
|
||||||
|
if (isPoseTransfer) {
|
||||||
|
return videoType.value === 1
|
||||||
|
} else {
|
||||||
|
return scaleImageList[scaleImageIndex]?.resultType != 'Relight'
|
||||||
|
}
|
||||||
|
})
|
||||||
let speed = reactive({
|
let speed = reactive({
|
||||||
speedList: [] as any,
|
speedList: [] as any,
|
||||||
speedTypeList: {
|
speedTypeList: {
|
||||||
@@ -683,11 +691,11 @@ export default defineComponent({
|
|||||||
if (videoType.value !== 1) {
|
if (videoType.value !== 1) {
|
||||||
const prompt = promptInputRef.value.getFullText()
|
const prompt = promptInputRef.value.getFullText()
|
||||||
params.prompt = prompt
|
params.prompt = prompt
|
||||||
|
params.modelName = ''
|
||||||
}
|
}
|
||||||
return params
|
return params
|
||||||
}
|
}
|
||||||
let getPrductimg = async () => {
|
let getPrductimg = async () => {
|
||||||
|
|
||||||
let obj = getData()
|
let obj = getData()
|
||||||
// let imageStrength = productimg.productimgSimilarity == 100? 95 :productimg.productimgSimilarity
|
// let imageStrength = productimg.productimgSimilarity == 100? 95 :productimg.productimgSimilarity
|
||||||
let imageStrength = (70 / 100) * productimg.productimgSimilarity
|
let imageStrength = (70 / 100) * productimg.productimgSimilarity
|
||||||
@@ -1337,7 +1345,8 @@ export default defineComponent({
|
|||||||
newVideoList,
|
newVideoList,
|
||||||
setNewVideoRef,
|
setNewVideoRef,
|
||||||
handlePlayNewVideo,
|
handlePlayNewVideo,
|
||||||
isNewVideoPlaying
|
isNewVideoPlaying,
|
||||||
|
showDropdown
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
@@ -1431,6 +1440,7 @@ export default defineComponent({
|
|||||||
overflow: visible !important;
|
overflow: visible !important;
|
||||||
}
|
}
|
||||||
.generalModel.posetransfer {
|
.generalModel.posetransfer {
|
||||||
|
height: calc(67rem * 1.2);
|
||||||
.ant-modal-body {
|
.ant-modal-body {
|
||||||
padding: 4.5rem 7rem;
|
padding: 4.5rem 7rem;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -652,7 +652,7 @@ export default {
|
|||||||
GoldSunflower: '金色向日葵',
|
GoldSunflower: '金色向日葵',
|
||||||
EmrldJungle: '翠绿丛林天幕',
|
EmrldJungle: '翠绿丛林天幕',
|
||||||
PinkSakura: '粉色樱花绽放',
|
PinkSakura: '粉色樱花绽放',
|
||||||
generateLoading: '正在识别文字图片信息请稍等几秒后在试',
|
generateLoading: '正在识别文字图片信息请稍等几秒后再试',
|
||||||
jsContent1: '您只能上传图片文件!',
|
jsContent1: '您只能上传图片文件!',
|
||||||
jsContent2: '图片必须小于5MB',
|
jsContent2: '图片必须小于5MB',
|
||||||
jsContent3: '请输入内容~',
|
jsContent3: '请输入内容~',
|
||||||
|
|||||||
Reference in New Issue
Block a user