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