|
@@ -162,7 +162,7 @@
|
|
this.tabData[0].checkedIndex = 0;
|
|
this.tabData[0].checkedIndex = 0;
|
|
this.optionIndex = 0;
|
|
this.optionIndex = 0;
|
|
this.options = this.tabData[0].options; //选项数据
|
|
this.options = this.tabData[0].options; //选项数据
|
|
- this.AIImg = this.tabData[0].options[0].imageUrl;//AI生成所需的垫图
|
|
|
|
|
|
+ this.AIImg = this.tabData[0].options[0].imageUrl2;//AI生成所需的垫图
|
|
this.aiImagesList = this.tabData[0].options[0].hardboundEffect;
|
|
this.aiImagesList = this.tabData[0].options[0].hardboundEffect;
|
|
if(envData && envData.length>0){
|
|
if(envData && envData.length>0){
|
|
removeItem('envData');//用完后删除
|
|
removeItem('envData');//用完后删除
|
|
@@ -215,7 +215,7 @@
|
|
this.optionIndex = id;
|
|
this.optionIndex = id;
|
|
this.tabData[this.tabIndex].checkedIndex = this.optionIndex;
|
|
this.tabData[this.tabIndex].checkedIndex = this.optionIndex;
|
|
this.allSelect = !this.tabData.some(it=>it.checkedIndex==-1);
|
|
this.allSelect = !this.tabData.some(it=>it.checkedIndex==-1);
|
|
- this.AIImg = this.options[this.optionIndex].imageUrl;//AI生成图的垫图
|
|
|
|
|
|
+ this.AIImg = this.options[this.optionIndex].imageUrl2;//AI生成图的垫图
|
|
//替换对应的队列为选中的选项的数组对象
|
|
//替换对应的队列为选中的选项的数组对象
|
|
this.aiImagesList = this.options[this.optionIndex].hardboundEffect;
|
|
this.aiImagesList = this.options[this.optionIndex].hardboundEffect;
|
|
this.currentIndex = 0;
|
|
this.currentIndex = 0;
|
|
@@ -272,6 +272,16 @@
|
|
catchTouchMove: function() {
|
|
catchTouchMove: function() {
|
|
return false;
|
|
return false;
|
|
},
|
|
},
|
|
|
|
+ //预览图片
|
|
|
|
+ previewImg(img){
|
|
|
|
+ if(window.__wxjs_environment === 'miniprogram'){
|
|
|
|
+ this.pvCloseHandle();//小程序跳转会主动杀死关闭当前页面-不经过vue跳转关闭逻辑-所以需要主动触发关闭埋点
|
|
|
|
+ wx.miniProgram.navigateTo({url: '/activityPackage/pages/scale-img/scaleImg?imgPath=' + img + "&locusValue=" + img + "&houseId=" + this.houseId})
|
|
|
|
+ }else{
|
|
|
|
+ this.$message.warning("请在小程序中使用");
|
|
|
|
+ // this.showPop();
|
|
|
|
+ }
|
|
|
|
+ },
|
|
//提交结果数据处理
|
|
//提交结果数据处理
|
|
async resultDataHandle(){
|
|
async resultDataHandle(){
|
|
let otherlist = [];
|
|
let otherlist = [];
|