feat: design页面高级工具转产品图的Prompt assist弹窗
This commit is contained in:
@@ -379,7 +379,7 @@
|
||||
<div class="mark_loading" v-show="loadingShow">
|
||||
<a-spin size="large" />
|
||||
</div>
|
||||
<Prompt v-model:showModal="showPromptAssist" :promptList="promptTextList" />
|
||||
<Prompt v-model:showModal="showPromptAssist" isDesignPage />
|
||||
<Product
|
||||
v-model:showModal="showProductList"
|
||||
:frameList="fullProductImages"
|
||||
@@ -574,6 +574,13 @@ export default defineComponent({
|
||||
})
|
||||
const showPromptAssist = ref(false)
|
||||
const handleClickAssistBtn = () => {
|
||||
const { httpType } = store.state.Workspace.probjects
|
||||
const isSingleDesign = httpType === 'SINGLE_DESIGN'
|
||||
if (!isSingleDesign) {
|
||||
const promptText = t('ProductImg.Series')
|
||||
productimg.productimgSearchName = promptText
|
||||
return
|
||||
}
|
||||
showPromptAssist.value = true
|
||||
}
|
||||
|
||||
@@ -635,9 +642,7 @@ export default defineComponent({
|
||||
const params: any = {
|
||||
poseId: productimg.selectPose,
|
||||
projectId: productimg.selectObject.id,
|
||||
productImage: getMinioUrl(
|
||||
currentImage.sourceUrl || currentImage.productImage
|
||||
),
|
||||
productImage: getMinioUrl(currentImage.sourceUrl || currentImage.productImage),
|
||||
modelName: speed.speedData.value,
|
||||
mode: videoType.value,
|
||||
parentId:
|
||||
@@ -1325,11 +1330,11 @@ export default defineComponent({
|
||||
showProductList,
|
||||
fullProductImages,
|
||||
isPoseTransfer,
|
||||
showCompare,
|
||||
newVideoList,
|
||||
setNewVideoRef,
|
||||
handlePlayNewVideo,
|
||||
isNewVideoPlaying
|
||||
showCompare,
|
||||
newVideoList,
|
||||
setNewVideoRef,
|
||||
handlePlayNewVideo,
|
||||
isNewVideoPlaying
|
||||
}
|
||||
},
|
||||
data() {
|
||||
@@ -1826,7 +1831,7 @@ export default defineComponent({
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
&.new-video-container{
|
||||
&.new-video-container {
|
||||
margin-left: 2rem;
|
||||
column-gap: 2rem;
|
||||
}
|
||||
@@ -1995,7 +2000,7 @@ export default defineComponent({
|
||||
}
|
||||
}
|
||||
}
|
||||
.posetransfer{
|
||||
.posetransfer {
|
||||
.loadBox {
|
||||
.imgBox {
|
||||
overflow-x: auto;
|
||||
|
||||
Reference in New Issue
Block a user