Compare commits
2 Commits
8c3fea8a24
...
f2463da8cc
| Author | SHA1 | Date | |
|---|---|---|---|
| f2463da8cc | |||
| 6b8027f449 |
@@ -155,7 +155,7 @@
|
|||||||
<textarea
|
<textarea
|
||||||
ref="textareaRef"
|
ref="textareaRef"
|
||||||
class="textarea"
|
class="textarea"
|
||||||
:placeholder="$t('Generate.inputContent1')"
|
:placeholder="inputPlaceholder"
|
||||||
@input="ifMaximumLength"
|
@input="ifMaximumLength"
|
||||||
@keydown.enter.prevent="getPrductimg()"
|
@keydown.enter.prevent="getPrductimg()"
|
||||||
v-model="productimgSearchName"
|
v-model="productimgSearchName"
|
||||||
@@ -379,7 +379,10 @@
|
|||||||
<div class="mark_loading" v-show="loadingShow">
|
<div class="mark_loading" v-show="loadingShow">
|
||||||
<a-spin size="large" />
|
<a-spin size="large" />
|
||||||
</div>
|
</div>
|
||||||
<Prompt v-model:showModal="showPromptAssist" isDesignPage />
|
<template>
|
||||||
|
<Prompt v-if="scaleImageList[scaleImageIndex]?.resultType === 'ToProductImage'" v-model:showModal="showPromptAssist" isDesignPage />
|
||||||
|
<PromptEditProduct v-if="scaleImageList[scaleImageIndex]?.resultType === 'Relight'" v-model:showModal="showPromptAssist" />
|
||||||
|
</template>
|
||||||
<Product
|
<Product
|
||||||
v-model:showModal="showProductList"
|
v-model:showModal="showProductList"
|
||||||
:frameList="fullProductImages"
|
:frameList="fullProductImages"
|
||||||
@@ -411,13 +414,14 @@ import { useStore } from 'vuex'
|
|||||||
import Prompt from '@/component/home/tools/toProduct/Prompt.vue'
|
import Prompt from '@/component/home/tools/toProduct/Prompt.vue'
|
||||||
import promptInput from '@/component/home/tools/poseTransfer/promptInput.vue'
|
import promptInput from '@/component/home/tools/poseTransfer/promptInput.vue'
|
||||||
import Product from '@/component/home/tools/poseTransfer/Product.vue'
|
import Product from '@/component/home/tools/poseTransfer/Product.vue'
|
||||||
|
import PromptEditProduct from '@/component/home/tools/toProduct/PromptEditProduct.vue'
|
||||||
import {
|
import {
|
||||||
getFirstFrame,
|
getFirstFrame,
|
||||||
getFirstAndLastFrame
|
getFirstAndLastFrame
|
||||||
} from '@/component/home/tools/poseTransfer/prompt'
|
} from '@/component/home/tools/poseTransfer/prompt'
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
components: { Prompt, promptInput, Product },
|
components: { Prompt, promptInput, Product, PromptEditProduct },
|
||||||
props: {
|
props: {
|
||||||
productData: {
|
productData: {
|
||||||
type: Object,
|
type: Object,
|
||||||
@@ -1288,6 +1292,15 @@ export default defineComponent({
|
|||||||
'PoseTransfer'
|
'PoseTransfer'
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
|
const inputPlaceholder = computed(() => {
|
||||||
|
if (
|
||||||
|
productimg.scaleImageList[productimg.scaleImageIndex]?.resultType === 'Relight'
|
||||||
|
) {
|
||||||
|
return t('ProductImg.relightInput')
|
||||||
|
} else {
|
||||||
|
return t('ProductImg.productInput')
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
const showCompare = computed(() => {
|
const showCompare = computed(() => {
|
||||||
// isComparison.value
|
// isComparison.value
|
||||||
@@ -1360,7 +1373,8 @@ export default defineComponent({
|
|||||||
setNewVideoRef,
|
setNewVideoRef,
|
||||||
handlePlayNewVideo,
|
handlePlayNewVideo,
|
||||||
isNewVideoPlaying,
|
isNewVideoPlaying,
|
||||||
showDropdown
|
showDropdown,
|
||||||
|
inputPlaceholder
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
|
|||||||
Reference in New Issue
Block a user