|
@@ -437,7 +437,7 @@
|
|
|
var sel = document.selection.createRange()
|
|
|
sel.text = v
|
|
|
sel.select()
|
|
|
- item.textIds.push(tag.creative_word_id)
|
|
|
+ item.creativeWordIds.push(tag.creative_word_id)
|
|
|
} else if (node.selectionStart || node.selectionStart == '0') {
|
|
|
//MOZILLA/GOOGLE
|
|
|
var startPos = node.selectionStart
|
|
@@ -448,14 +448,14 @@
|
|
|
node.scrollTop = restoreTop
|
|
|
}
|
|
|
item.text = node.value
|
|
|
- item.textIds.push(tag.creative_word_id)
|
|
|
+ item.creativeWordIds.push(tag.creative_word_id)
|
|
|
node.focus()
|
|
|
node.selectionStart = startPos + v.length
|
|
|
node.selectionEnd = startPos + v.length
|
|
|
} else {
|
|
|
//OTHER
|
|
|
node.value += v
|
|
|
- item.textIds.push(tag.creative_word_id)
|
|
|
+ item.creativeWordIds.push(tag.creative_word_id)
|
|
|
item.text = node.value
|
|
|
node.focus()
|
|
|
}
|
|
@@ -472,7 +472,7 @@
|
|
|
}
|
|
|
var node = document.getElementsByClassName('rending-all')[index]
|
|
|
var v = '{' + tag.name + '}'
|
|
|
- item.textIds.push(tag.name)
|
|
|
+ item.creativeWordIds.push(tag.name)
|
|
|
if (document.selection) {
|
|
|
//IE
|
|
|
node.focus()
|
|
@@ -576,11 +576,11 @@
|
|
|
this.getTags()
|
|
|
if (type === 'CREATIVE_IMAGE_MODE_SMALL') {
|
|
|
this.HorizontalLargeImageListSmall.push({
|
|
|
- typeCode: type,
|
|
|
+ ImageMode: type,
|
|
|
imageUrl: '',
|
|
|
imageId: '',
|
|
|
text: '',
|
|
|
- textIds: [],
|
|
|
+ creativeWordIds: [],
|
|
|
vadioUrl: '',
|
|
|
videoId: '',
|
|
|
multiple: [],
|
|
@@ -592,11 +592,11 @@
|
|
|
}
|
|
|
if (type === 'CREATIVE_IMAGE_MODE_LARGE') {
|
|
|
this.HorizontalLargeImageListBig.push({
|
|
|
- typeCode: type,
|
|
|
+ imageMode: type,
|
|
|
imageUrl: '',
|
|
|
imageId: '',
|
|
|
text: '',
|
|
|
- textIds: [],
|
|
|
+ creativeWordIds: [],
|
|
|
vadioUrl: '',
|
|
|
videoId: '',
|
|
|
multiple: [],
|
|
@@ -609,11 +609,11 @@
|
|
|
if (type === 'CREATIVE_IMAGE_MODE_GROUP') {
|
|
|
this.HorizontalLargeImageListZu.push({
|
|
|
creativeType: this.creativeType,
|
|
|
- typeCode: type,
|
|
|
+ imageMode: type,
|
|
|
imageUrl: '',
|
|
|
imageId: '',
|
|
|
text: '',
|
|
|
- textIds: [],
|
|
|
+ creativeWordIds: [],
|
|
|
vadioUrl: '',
|
|
|
videoId: '',
|
|
|
multiple: [],
|
|
@@ -626,11 +626,11 @@
|
|
|
if (type === 'CREATIVE_IMAGE_MODE_VIDEO') {
|
|
|
this.HorizontalLargeImageListShu.push({
|
|
|
creativeType: this.creativeType,
|
|
|
- typeCode: type,
|
|
|
+ imageMode: type,
|
|
|
imageUrl: '',
|
|
|
imageId: '',
|
|
|
text: '',
|
|
|
- textIds: [],
|
|
|
+ creativeWordIds: [],
|
|
|
vadioUrl: '',
|
|
|
videoId: '',
|
|
|
multiple: [],
|
|
@@ -643,11 +643,11 @@
|
|
|
if (type === 'CREATIVE_IMAGE_MODE_LARGE_VERTICAL') {
|
|
|
this.HorizontalLargeImageListBigShu.push({
|
|
|
creativeType: this.creativeType,
|
|
|
- typeCode: type,
|
|
|
+ imageMode: type,
|
|
|
imageUrl: '',
|
|
|
imageId: '',
|
|
|
text: '',
|
|
|
- textIds: [],
|
|
|
+ creativeWordIds: [],
|
|
|
vadioUrl: '',
|
|
|
videoId: '',
|
|
|
multiple: [],
|
|
@@ -660,11 +660,11 @@
|
|
|
if (type === 'CREATIVE_IMAGE_MODE_VIDEO_VERTICAL') {
|
|
|
this.HorizontalLargeImageListHeng.push({
|
|
|
creativeType: this.creativeType,
|
|
|
- typeCode: type,
|
|
|
+ imageMode: type,
|
|
|
imageUrl: '',
|
|
|
imageId: '',
|
|
|
text: '',
|
|
|
- textIds: [],
|
|
|
+ creativeWordIds: [],
|
|
|
vadioUrl: '',
|
|
|
videoId: '',
|
|
|
multiple: [],
|
|
@@ -698,7 +698,7 @@
|
|
|
this.titleData.push({
|
|
|
text: '',
|
|
|
titleMany: 0,
|
|
|
- textIds: []
|
|
|
+ creativeWordIds: []
|
|
|
})
|
|
|
},
|
|
|
tetleDetele(index) {
|