|
@@ -1695,11 +1695,12 @@
|
|
|
testJson.testJson[index1].checkList[checkIndex]
|
|
|
.imgType == 1
|
|
|
">
|
|
|
- <div class="inImg">
|
|
|
- <img :src="
|
|
|
+ <div class="inImg" @click.stop="previewImg(testJson.testJson[index1].checkList[checkIndex].src)">
|
|
|
+ <el-image :src="testJson.testJson[index1].checkList[checkIndex].src" lazy />
|
|
|
+ <!-- <img :src="
|
|
|
testJson.testJson[index1].checkList[checkIndex]
|
|
|
.src
|
|
|
- " alt="" />
|
|
|
+ " alt="" /> -->
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
@@ -1711,7 +1712,7 @@
|
|
|
placeholder="请输入选项..."
|
|
|
style="width: 300px; margin-right: 10px"
|
|
|
></el-input>
|
|
|
- <div class="xzUpImg" @click="addImg($event)">
|
|
|
+ <div class="xzUpImg" @click.stop="addImg($event)">
|
|
|
<img src="../../assets/icon/xzUpImg.png" alt="">
|
|
|
<input
|
|
|
type="file"
|
|
@@ -1743,11 +1744,12 @@
|
|
|
.imgType == 1
|
|
|
"
|
|
|
>
|
|
|
- <div class="inImg">
|
|
|
- <img :src="
|
|
|
+ <div class="inImg" @click.stop="previewImg(testJson.testJson[index1].checkList[checkIndex1].src)">
|
|
|
+ <el-image :src="testJson.testJson[index1].checkList[checkIndex1].src" lazy />
|
|
|
+ <!-- <img :src="
|
|
|
testJson.testJson[index1].checkList[checkIndex1]
|
|
|
.src
|
|
|
- " alt="" />
|
|
|
+ " alt="" /> -->
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
@@ -1759,7 +1761,7 @@
|
|
|
placeholder="请输入选项..."
|
|
|
style="width: 300px; margin-right: 10px"
|
|
|
></el-input>
|
|
|
- <div class="xzUpImg" @click="addImg($event)">
|
|
|
+ <div class="xzUpImg" @click.stop="addImg($event)">
|
|
|
<img src="../../assets/icon/xzUpImg.png" alt="">
|
|
|
<input
|
|
|
type="file"
|
|
@@ -2621,6 +2623,9 @@ export default {
|
|
|
console.error(err);
|
|
|
});
|
|
|
},
|
|
|
+ previewImg(url) {
|
|
|
+ this.$hevueImgPreview(url);
|
|
|
+ },
|
|
|
scrollChange() {
|
|
|
this.rightBoxHeight = $(".rightBox")[0].scrollHeight
|
|
|
},
|