|
|
|
@ -200,11 +200,7 @@ export default {
|
|
|
|
|
this.fiveList = this.terminalPhoto.slice(this.page - 1, this.pagesize);
|
|
|
|
|
this.total = this.terminalPhoto.length / this.pagesize;
|
|
|
|
|
console.log("this.bigPicPath");
|
|
|
|
|
this.$nextTick(function () {
|
|
|
|
|
// codeing
|
|
|
|
|
|
|
|
|
|
console.log(localStorage.getItem("piclinePoints"));
|
|
|
|
|
});
|
|
|
|
|
this.localPoints = this.terminalPhoto[0].list;
|
|
|
|
|
console.log(this.localPoints);
|
|
|
|
|
if (this.localPoints !== "") {
|
|
|
|
@ -278,6 +274,8 @@ export default {
|
|
|
|
|
this.activeSmall = 4;
|
|
|
|
|
this.smallLeftClick();
|
|
|
|
|
}
|
|
|
|
|
this.localPoints = this.terminalPhoto[this.bigNum].list;
|
|
|
|
|
this.drawline();
|
|
|
|
|
},
|
|
|
|
|
//点击右侧切换图片
|
|
|
|
|
rightClick() {
|
|
|
|
@ -290,6 +288,8 @@ export default {
|
|
|
|
|
console.log(this.activeSmall);
|
|
|
|
|
this.smallRightClick();
|
|
|
|
|
}
|
|
|
|
|
this.localPoints = this.terminalPhoto[this.bigNum].list;
|
|
|
|
|
this.drawline();
|
|
|
|
|
},
|
|
|
|
|
//点击小图变成大图
|
|
|
|
|
handleBigpic(row, index) {
|
|
|
|
@ -297,6 +297,8 @@ export default {
|
|
|
|
|
console.log();
|
|
|
|
|
this.activeSmall = index;
|
|
|
|
|
this.bigPicPath = row.path;
|
|
|
|
|
this.localPoints = row.list;
|
|
|
|
|
this.drawline();
|
|
|
|
|
},
|
|
|
|
|
//点击小图切换左侧
|
|
|
|
|
smallLeftClick() {
|
|
|
|
|