|
@@ -323,6 +323,7 @@
|
|
|
type: 'CLK', //埋点类型
|
|
|
clkId: 'clk_2cmina_23080417', //点击ID
|
|
|
clkName: 'changeangle_clk', //点击前往的页面名称
|
|
|
+ behaviorName:"空间切换",
|
|
|
clkParams: {
|
|
|
locusName: "空间切换",
|
|
|
locusValue:item.text,
|
|
@@ -343,9 +344,11 @@
|
|
|
type: 'CLK', //埋点类型
|
|
|
clkId: 'clk_2cmina_23080417', //点击ID
|
|
|
clkName: 'changeangle_clk', //点击前往的页面名称
|
|
|
+ behaviorName:"视角切换",
|
|
|
clkParams: {
|
|
|
locusName: "视角切换",
|
|
|
- type:this.$parent.actors[nextIndex].actorEum
|
|
|
+ type:this.$parent.actors[nextIndex].actorEum,
|
|
|
+ locusValue:this.$parent.actors[nextIndex].actorEum,
|
|
|
}
|
|
|
};
|
|
|
util.trackRequest(param);
|
|
@@ -357,8 +360,10 @@
|
|
|
type: 'CLK', //埋点类型
|
|
|
clkId: 'clk_2cmina_23080415', //点击ID
|
|
|
clkName: 'contrast_clk', //点击前往的页面名称
|
|
|
+ behaviorName:"对比",
|
|
|
clkParams: {
|
|
|
locusName: "对比",
|
|
|
+ locusValue:this.showAIImage?"显示生成图":"隐藏生成图"
|
|
|
}
|
|
|
};
|
|
|
util.trackRequest(param);
|
|
@@ -375,9 +380,11 @@
|
|
|
type: 'CLK', //埋点类型
|
|
|
clkId: 'clk_2cmina_23112701', //点击ID
|
|
|
clkName: 'AIstyle_theme_clk', //点击前往的页面名称
|
|
|
+ behaviorName:"主题切换",
|
|
|
clkParams: {
|
|
|
locusName: "AI 主题",
|
|
|
- type:this.themeList[this.themeIndex].text
|
|
|
+ type:this.themeList[this.themeIndex].text,
|
|
|
+ locusValue:this.themeList[this.themeIndex].text,
|
|
|
}
|
|
|
};
|
|
|
util.trackRequest(param);
|
|
@@ -402,9 +409,10 @@
|
|
|
type: 'CLK', //埋点类型
|
|
|
clkId: 'clk_2cmina_56', //点击ID,固定
|
|
|
clkName: "share-savepic", //点击名称
|
|
|
- expand: {
|
|
|
- "resultImg": (_resultImg || ""),
|
|
|
- },
|
|
|
+ behaviorName:"保存到相册",
|
|
|
+ clkParams: {
|
|
|
+ locusValue: (_resultImg || ""),
|
|
|
+ }
|
|
|
}
|
|
|
util.trackRequest(para);
|
|
|
if(navigator.userAgent.toLocaleLowerCase().includes('micromessenger')){
|
|
@@ -439,9 +447,11 @@
|
|
|
type: 'CLK', //埋点类型
|
|
|
clkId: 'clk_2cmina_23080414', //点击ID
|
|
|
clkName: 'download_clk', //点击前往的页面名称
|
|
|
+ behaviorName:"下载",
|
|
|
clkParams: {
|
|
|
locusName: "下载",
|
|
|
- img:_resultImg
|
|
|
+ img:_resultImg,
|
|
|
+ locusValue:_resultImg,
|
|
|
}
|
|
|
};
|
|
|
util.trackRequest(param);
|
|
@@ -467,10 +477,12 @@
|
|
|
type: 'CLK', //埋点类型
|
|
|
clkId: 'clk_2cmina_23080418', //点击ID
|
|
|
clkName: 'chooseprogramme_clk', //点击前往的页面名称
|
|
|
+ behaviorName:"点赞喜欢",
|
|
|
clkParams: {
|
|
|
locusName: "选定风格/视角",
|
|
|
style:this.styleList[this.curStyleIndex].styleName,
|
|
|
img:this.aiImagesList[this.currentIndex].image,
|
|
|
+ locusValue:this.aiImagesList[this.currentIndex].image,
|
|
|
}
|
|
|
};
|
|
|
util.trackRequest(param);
|
|
@@ -544,6 +556,10 @@
|
|
|
if (res.success) {
|
|
|
let list = res.list;
|
|
|
this.styleList = list;
|
|
|
+ if(this.styleList.length < (Number(this.curStyleIndex) + 1)){//空间切换后的风格数量小于上次选的风格的序号
|
|
|
+ this.curStyleIndex = 0;
|
|
|
+ console.warn("***curStyleIndex-change***",)
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
//风格选择
|
|
@@ -556,9 +572,10 @@
|
|
|
type: 'CLK', //埋点类型
|
|
|
clkId: 'clk_2cmina_23080416', //点击ID
|
|
|
clkName: 'AIstyle_ret_clk', //点击前往的页面名称
|
|
|
+ behaviorName:"风格选择",
|
|
|
clkParams: {
|
|
|
locusName: "AI 风格",
|
|
|
- type:this.styleList[this.curStyleIndex].styleName
|
|
|
+ locusValue:this.styleList[this.curStyleIndex].styleName,
|
|
|
}
|
|
|
};
|
|
|
util.trackRequest(param);
|
|
@@ -712,7 +729,7 @@
|
|
|
"cfgScale":12,
|
|
|
"denoising":0.9,
|
|
|
image:this.shottingImg,
|
|
|
- styleImage:imgUrl,
|
|
|
+ style:imgUrl,
|
|
|
keyword: "elabSd",
|
|
|
model: this.modelType==1? "lucataco/ssd-1b" : 'catio-apps/controlnet-interior-design',
|
|
|
};
|
|
@@ -732,7 +749,7 @@
|
|
|
// }
|
|
|
}
|
|
|
parmas.keyword = "liblibai";
|
|
|
- parmas.model = "img2img_canny_ipadapter";
|
|
|
+ parmas.model = "text2img";
|
|
|
parmas.loraModel = "98333991fc8744af8b162948ae33b15b";
|
|
|
this.curSpaceId = this.spaceObj.spaceId;//生成时的空间id
|
|
|
let result = await this.prevHandle(parmas);
|