|
@@ -60,8 +60,8 @@
|
|
|
.sticker-styles .ant-checkbox-wrapper + .ant-checkbox-wrapper {
|
|
|
margin-left: 0;
|
|
|
}
|
|
|
-.display-none-selset{
|
|
|
- display: none!important;
|
|
|
+.display-none-selset {
|
|
|
+ display: none !important;
|
|
|
}
|
|
|
</style>
|
|
|
<style scoped lang="scss">
|
|
@@ -1153,14 +1153,14 @@ export default {
|
|
|
okTitleCun(item) {
|
|
|
if (this.guanggao.length > 0) {
|
|
|
if (this.guanggao[0].captions) {
|
|
|
- if(this.guanggao.length>3){
|
|
|
+ if (this.guanggao.length > 3) {
|
|
|
this.$message.error('广告语最多选择3条')
|
|
|
return
|
|
|
}
|
|
|
this.captionsList = []
|
|
|
this.captionsList.push(...this.guanggao)
|
|
|
} else {
|
|
|
- if(this.guanggao.length>6){
|
|
|
+ if (this.guanggao.length > 6) {
|
|
|
this.$message.error('封面广告语最多选择6条')
|
|
|
return
|
|
|
}
|
|
@@ -1517,7 +1517,7 @@ export default {
|
|
|
var params = {
|
|
|
// dataJson: allJson,
|
|
|
...values,
|
|
|
- creativeCategory:values.creativeCategory?values.creativeCategory.pop():null,
|
|
|
+ creativeCategory: values.creativeCategory ? values.creativeCategory.pop() : null,
|
|
|
unitId: this.pansKey,
|
|
|
accountId: localStorage.getItem('accountId'),
|
|
|
content: this.content,
|
|
@@ -1525,9 +1525,12 @@ export default {
|
|
|
return item.captions
|
|
|
}),
|
|
|
stickerStyles: this.stickerStylesValue,
|
|
|
- coverSlogans: this.coverSlogansList.map((item) => {
|
|
|
- return item.coverSlogans
|
|
|
- }),
|
|
|
+ coverSlogans:
|
|
|
+ this.stickerStylesValue.length > 0
|
|
|
+ ? this.coverSlogansList.map((item) => {
|
|
|
+ return item.coverSlogans
|
|
|
+ })
|
|
|
+ : [],
|
|
|
horizontalPhotoIds: this.horizontalPhoto[0].videoList.map((item) => {
|
|
|
return item.photoId
|
|
|
}),
|
|
@@ -2081,8 +2084,8 @@ export default {
|
|
|
},
|
|
|
},
|
|
|
watch: {
|
|
|
- cunTitleVisible(n,o){
|
|
|
- if(!n){
|
|
|
+ cunTitleVisible(n, o) {
|
|
|
+ if (!n) {
|
|
|
this.guanggao = []
|
|
|
this.cunTitleList = []
|
|
|
}
|
|
@@ -2184,7 +2187,6 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
|
|
|
-
|
|
|
getAction('/kuaishou/batch/getCreativeCategory', {
|
|
|
accountId: localStorage.getItem('accountId'),
|
|
|
}).then((res) => {
|