Commit d0e5b45b by 黄冷

update: dist

parent fd0741ea
......@@ -146,7 +146,8 @@ export default {
backMusicFlag: 0,
adsFlag: 0,
bulletFlag: 0,
backMusicUrlObj: ''
backMusicUrlObj: '',
addMomentsCard: false
},
gameExt: {},
adsImageUrl: { imgUrl: '', code: '' },
......@@ -246,6 +247,9 @@ export default {
this.backMusicOptions.push(item);
} else if (!keys.includes(item.materialKey)) {
obj[item.materialKey] = item;
if (item.materialKey == 'momentsCard') {
this.baseForm.addMomentsCard = true;
}
}
});
if (initTemp) {
......@@ -372,6 +376,7 @@ export default {
}
}
});
console.log(this.baseForm);
},
handleListen() {
this.isPlay = !this.isPlay;
......
......@@ -224,7 +224,7 @@ export default {
});
},
handleBaseConfigChange(data) {
const { backMusicFlag, adsFlag, backImageUrl, noticeImageUrl, adsImageUrl, bulletImageUrl, bulletFlag, gameName, templateId, shareCard, momentsCard, shareReport, gameTime, shareCardSize0, shareCardSize1, shareReportSize1, shareReportSize0, momentsCardSize0, momentsCardSize1 } = data;
const { addMomentsCard, backMusicFlag, adsFlag, backImageUrl, noticeImageUrl, adsImageUrl, bulletImageUrl, bulletFlag, gameName, templateId, shareCard, momentsCard, shareReport, gameTime, shareCardSize0, shareCardSize1, shareReportSize1, shareReportSize0, momentsCardSize0, momentsCardSize1 } = data;
this.previewData = { backMusicFlag, backImageUrl, noticeImageUrl, adsImageUrl, bulletImageUrl, bulletFlag, adsFlag };
this.previewData.boxImg = data.prizeStyleJson[0].imageNoSelectUrl;
this.previewData = Object.assign({}, this.previewData);
......@@ -239,7 +239,8 @@ export default {
shareReportSize0,
momentsCard,
momentsCardSize0,
momentsCardSize1
momentsCardSize1,
addMomentsCard
};
this.gameTime = gameTime;
},
......
......@@ -251,7 +251,9 @@ export default {
momentsCardSize0: '',
momentsCardSize1: 1,
shareReportSize1: 1,
shareReportSize0: ''
shareReportSize0: '',
addMomentsCard: false,
momentsCard: ''
};
},
props: {
......@@ -273,8 +275,7 @@ export default {
},
watch: {
shareImgData(val) {
console.log(val.shareCard);
const { shareCard, shareReport, shareCardSize0, shareCardSize1, shareReportSize1, shareReportSize0, momentsCard, momentsCardSize0, momentsCardSize1 } = val;
const { addMomentsCard, shareCard, shareReport, shareCardSize0, shareCardSize1, shareReportSize1, shareReportSize0, momentsCard, momentsCardSize0, momentsCardSize1 } = val;
this.ruleForm.gameRuleConditionList[2].conditionJson.shareCard = shareCard;
this.ruleForm.gameRuleConditionList[2].conditionJson.momentsCard = momentsCard;
this.ruleForm.gameRuleConditionList[2].conditionJson.shareReport = shareReport;
......@@ -285,6 +286,8 @@ export default {
this.momentsCardSize1 = momentsCardSize1;
this.shareReportSize1 = shareReportSize1;
this.shareReportSize0 = shareReportSize0;
this.addMomentsCard = addMomentsCard;
this.momentsCard = momentsCard;
this.ruleForm.gameRuleConditionList = this.ruleForm.gameRuleConditionList.splice(0);
},
echoData(val) {
......@@ -301,6 +304,9 @@ export default {
item.conditionId = obj[item.type].conditionId;
}
});
if (this.addMomentsCard) {
this.ruleForm.gameRuleConditionList[2].conditionJson.momentsCard = this.momentsCard;
}
}
if (this.isEdit) {
if (memberType == 1) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment