|
@@ -190,7 +190,7 @@ VueLikePage([], {
|
|
|
this.setData({
|
|
this.setData({
|
|
|
titleDatas: [...this.data.titleDatas, currentTitle],
|
|
titleDatas: [...this.data.titleDatas, currentTitle],
|
|
|
})
|
|
})
|
|
|
-
|
|
|
|
|
|
|
+ // 添加标签
|
|
|
this.selectIp(e)
|
|
this.selectIp(e)
|
|
|
|
|
|
|
|
console.log(this.data.titleDatas)
|
|
console.log(this.data.titleDatas)
|
|
@@ -261,9 +261,9 @@ VueLikePage([], {
|
|
|
if (type == "0") {
|
|
if (type == "0") {
|
|
|
link = `${VIDEO_BASE_URL}4dvedio/${rdw}.mp4`;
|
|
link = `${VIDEO_BASE_URL}4dvedio/${rdw}.mp4`;
|
|
|
} else {
|
|
} else {
|
|
|
- // link = `${VIDEO_BASE_URL}4dpic/${rdw}.jpg`;
|
|
|
|
|
|
|
+ link = `${VIDEO_BASE_URL}4dpic/${rdw}.jpg`;
|
|
|
// test
|
|
// test
|
|
|
- link = 'https://pic.616pic.com/phototwo/00/06/02/618e27a7290161785.jpg'
|
|
|
|
|
|
|
+ // link = 'https://pic.616pic.com/phototwo/00/06/02/618e27a7290161785.jpg'
|
|
|
this.loadDate()
|
|
this.loadDate()
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -821,7 +821,8 @@ VueLikePage([], {
|
|
|
});
|
|
});
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+ // 选中即确定
|
|
|
|
|
+ this.confirmIp(e)
|
|
|
|
|
|
|
|
},
|
|
},
|
|
|
|
|
|
|
@@ -942,8 +943,13 @@ VueLikePage([], {
|
|
|
},
|
|
},
|
|
|
confirmIp(e) {
|
|
confirmIp(e) {
|
|
|
const selectedItem2 = e.currentTarget.dataset.item
|
|
const selectedItem2 = e.currentTarget.dataset.item
|
|
|
- console.log(this.data,'12112')
|
|
|
|
|
- if(this.data.tabIndex=='2')this.saveTitle(e)
|
|
|
|
|
|
|
+ console.log(this.data.tabIndex=='2')
|
|
|
|
|
+ // 为了修改内容后保存能生效,需要重新设置追加最新title到titleDatas
|
|
|
|
|
+ if(this.data.tabIndex=='2'){
|
|
|
|
|
+ this.setData({
|
|
|
|
|
+ titleDatas: [...this.data.titleDatas, this.data.title],
|
|
|
|
|
+ })
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
if (!this.data.selectedIp) return;
|
|
if (!this.data.selectedIp) return;
|
|
|
const overlayItem = {
|
|
const overlayItem = {
|