Feat(送礼):支持AI的文生图-4

This commit is contained in:
lifizer
2026-09-09 14:32:51 +08:00
parent 3523ce5599
commit a59d10e7dc
2 changed files with 13 additions and 0 deletions
@@ -64,6 +64,11 @@ export default {
watch: {
index(val) {
this.currentIndex = val
},
show(val) {
if (val) {
this.currentIndex = this.index
}
}
},
methods: {
+8
View File
@@ -49,6 +49,7 @@
}"
mode="heightFix"
class="img-image"
@click="handleSelectAiCover(item)"
/>
</view>
</view>
@@ -793,6 +794,13 @@ export default {
this.aiDefaultIndex = this.aiCoverImgsList.findIndex(item => item.id === cover.id)
}
},
handleSelectAiCover(cover) {
this.selectedAiCoverImage = cover
this.aiDefaultIndex = this.aiCoverImgsList.findIndex(item => item.id === cover.id)
this.selectedCover = cover.cover
this.giftImage = cover.image
this.templateId = cover.id
},
showTips() {
this.$refs.giftTips.showTips = true
},