|
@@ -60,6 +60,7 @@
|
|
|
checked:false, //是否喜欢
|
|
|
subDataList:[], //提交的数据对象
|
|
|
queryObj:null,
|
|
|
+ noMore:false,
|
|
|
}
|
|
|
},
|
|
|
/**
|
|
@@ -85,6 +86,12 @@
|
|
|
console.log("***swiperChangeImg***", e);
|
|
|
this.currentIndex = e.detail ? e.detail.current : e;
|
|
|
this.checked = this.aiImagesList[this.currentIndex].checked;
|
|
|
+ //不存在提示词,则没有
|
|
|
+ if(!this.options[this.optionIndex].remark || !this.options[this.optionIndex].tips){
|
|
|
+ this.noMore = false;
|
|
|
+ }else{
|
|
|
+ this.noMore = true;
|
|
|
+ }
|
|
|
// this.optionIndex = this.currentIndex;
|
|
|
// this.tabData[0].checkedIndex = this.currentIndex;
|
|
|
},
|
|
@@ -110,7 +117,9 @@
|
|
|
tabIndex:this.tabIndex,
|
|
|
optionIndex:this.optionIndex,
|
|
|
}
|
|
|
- this.startServer(obj);//继续生成下一张
|
|
|
+ if(obj.prompt && obj.negativePrompt){//有提示词
|
|
|
+ this.startServer(obj);//继续生成下一张
|
|
|
+ }
|
|
|
},
|
|
|
//点赞喜欢
|
|
|
changeAIImg() {
|
|
@@ -195,7 +204,14 @@
|
|
|
if(this.optionIndex>-1){
|
|
|
this.aiImagesList = this.options[this.optionIndex].hardboundEffect;
|
|
|
this.checked = this.aiImagesList[this.currentIndex].checked;
|
|
|
- }
|
|
|
+ if(!this.options[this.optionIndex].remark || !this.options[this.optionIndex].tips){
|
|
|
+ this.noMore = false;
|
|
|
+ }else{
|
|
|
+ this.noMore = true;
|
|
|
+ }
|
|
|
+ }else{
|
|
|
+ this.noMore = false;
|
|
|
+ }
|
|
|
// let param = {
|
|
|
// type: 'CLK', //埋点类型
|
|
|
// clkId: 'clk_2cmina_24012601', //点击ID
|
|
@@ -222,6 +238,11 @@
|
|
|
this.$refs.carousel.setActiveItem(0); //切换到第一张
|
|
|
this.checked = this.aiImagesList[this.currentIndex].checked;
|
|
|
console.warn("***changeOption***", this.tabData,this.AIImg,this.subDataList)
|
|
|
+ if(!this.options[this.optionIndex].remark || !this.options[this.optionIndex].tips){
|
|
|
+ this.noMore = false;
|
|
|
+ }else{
|
|
|
+ this.noMore = true;
|
|
|
+ }
|
|
|
// let param = {
|
|
|
// type: 'CLK', //埋点类型
|
|
|
// clkId: 'clk_2cmina_24012602', //点击ID
|