|
|
|
@ -460,11 +460,33 @@ export default {
|
|
|
|
|
|
|
|
|
|
this.videopath = this.fiveList[this.activeSmall].thumb;
|
|
|
|
|
},
|
|
|
|
|
//点击小图变成大图
|
|
|
|
|
handleBigpic(row, index) {
|
|
|
|
|
console.log(row, index);
|
|
|
|
|
console.log();
|
|
|
|
|
this.activeSmall = index;
|
|
|
|
|
this.bigNum = index;
|
|
|
|
|
this.mediaType = row.mediaType;
|
|
|
|
|
this.bigPicPath = row.path + "!1366x768";
|
|
|
|
|
// this.bgbigPath = row.path + "!1366x768";
|
|
|
|
|
getCoordinate({
|
|
|
|
|
channelId: row.channelId,
|
|
|
|
|
needPic: "1",
|
|
|
|
|
termId: row.termId,
|
|
|
|
|
})
|
|
|
|
|
.then((res) => {
|
|
|
|
|
console.log(res);
|
|
|
|
|
this.localPoints = res.data.list;
|
|
|
|
|
if (this.markEnable === 1) {
|
|
|
|
|
this.drawline();
|
|
|
|
|
}
|
|
|
|
|
// this.drawline();
|
|
|
|
|
})
|
|
|
|
|
.catch((err) => {});
|
|
|
|
|
},
|
|
|
|
|
//大图点击左侧切换图片
|
|
|
|
|
leftClick() {
|
|
|
|
|
this.bigNum--; //执行下一张
|
|
|
|
|
this.mediaType = this.terminalPhoto[this.bigNum].mediaType;
|
|
|
|
|
this.bigPicPath = this.terminalPhoto[this.bigNum].path + "!1366x768";
|
|
|
|
|
|
|
|
|
|
this.activeSmall--;
|
|
|
|
|
console.log("activeSmall", this.activeSmall, "bigNum", this.bigNum);
|
|
|
|
@ -473,11 +495,13 @@ export default {
|
|
|
|
|
this.activeSmall = 9;
|
|
|
|
|
this.smallLeftClick();
|
|
|
|
|
}
|
|
|
|
|
this.mediaType = this.fiveList[this.bigNum].mediaType;
|
|
|
|
|
this.bigPicPath = this.fiveList[this.bigNum].path + "!1366x768";
|
|
|
|
|
console.log(this.terminalPhoto[this.bigNum]);
|
|
|
|
|
getCoordinate({
|
|
|
|
|
channelId: this.terminalPhoto[this.bigNum].channelId,
|
|
|
|
|
channelId: this.fiveList[this.bigNum].channelId,
|
|
|
|
|
needPic: "1",
|
|
|
|
|
termId: this.terminalPhoto[this.bigNum].termId,
|
|
|
|
|
termId: this.fiveList[this.bigNum].termId,
|
|
|
|
|
})
|
|
|
|
|
.then((res) => {
|
|
|
|
|
console.log(res);
|
|
|
|
@ -491,9 +515,6 @@ export default {
|
|
|
|
|
//点击右侧切换图片
|
|
|
|
|
rightClick() {
|
|
|
|
|
this.bigNum++; //执行下一张
|
|
|
|
|
this.mediaType = this.terminalPhoto[this.bigNum].mediaType;
|
|
|
|
|
this.bigPicPath = this.terminalPhoto[this.bigNum].path + "!1366x768";
|
|
|
|
|
|
|
|
|
|
this.activeSmall++;
|
|
|
|
|
console.log("activeSmall", this.activeSmall, "bigNum", this.bigNum);
|
|
|
|
|
if (this.activeSmall > 9) {
|
|
|
|
@ -501,10 +522,12 @@ export default {
|
|
|
|
|
console.log(this.activeSmall);
|
|
|
|
|
this.smallRightClick();
|
|
|
|
|
}
|
|
|
|
|
this.mediaType = this.fiveList[this.bigNum].mediaType;
|
|
|
|
|
this.bigPicPath = this.fiveList[this.bigNum].path + "!1366x768";
|
|
|
|
|
getCoordinate({
|
|
|
|
|
channelId: this.terminalPhoto[this.bigNum].channelId,
|
|
|
|
|
channelId: this.fiveList[this.bigNum].channelId,
|
|
|
|
|
needPic: "1",
|
|
|
|
|
termId: this.terminalPhoto[this.bigNum].termId,
|
|
|
|
|
termId: this.fiveList[this.bigNum].termId,
|
|
|
|
|
})
|
|
|
|
|
.then((res) => {
|
|
|
|
|
console.log(res);
|
|
|
|
@ -515,32 +538,11 @@ export default {
|
|
|
|
|
})
|
|
|
|
|
.catch((err) => {});
|
|
|
|
|
},
|
|
|
|
|
//点击小图变成大图
|
|
|
|
|
handleBigpic(row, index) {
|
|
|
|
|
console.log(row);
|
|
|
|
|
console.log();
|
|
|
|
|
this.activeSmall = index;
|
|
|
|
|
this.mediaType = row.mediaType;
|
|
|
|
|
this.bigPicPath = row.path + "!1366x768";
|
|
|
|
|
// this.bgbigPath = row.path + "!1366x768";
|
|
|
|
|
getCoordinate({
|
|
|
|
|
channelId: row.channelId,
|
|
|
|
|
needPic: "1",
|
|
|
|
|
termId: row.termId,
|
|
|
|
|
})
|
|
|
|
|
.then((res) => {
|
|
|
|
|
console.log(res);
|
|
|
|
|
this.localPoints = res.data.list;
|
|
|
|
|
if (this.markEnable === 1) {
|
|
|
|
|
this.drawline();
|
|
|
|
|
}
|
|
|
|
|
// this.drawline();
|
|
|
|
|
})
|
|
|
|
|
.catch((err) => {});
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
//点击小图切换左侧
|
|
|
|
|
smallLeftClick() {
|
|
|
|
|
this.activeSmall = 0;
|
|
|
|
|
this.bigNum = 0;
|
|
|
|
|
console.log("点击了左侧");
|
|
|
|
|
|
|
|
|
|
this.page--;
|
|
|
|
@ -570,6 +572,7 @@ export default {
|
|
|
|
|
//点击小图切换右侧
|
|
|
|
|
smallRightClick() {
|
|
|
|
|
this.activeSmall = 0;
|
|
|
|
|
this.bigNum = 0;
|
|
|
|
|
console.log("点击了右侧");
|
|
|
|
|
console.log(this.page);
|
|
|
|
|
this.page++;
|
|
|
|
|