|
@@ -10,8 +10,25 @@
|
|
|
:key="index"
|
|
|
>
|
|
|
<div class="a_add_head">
|
|
|
- <div>
|
|
|
+ <div style="display: flex; align-items: center">
|
|
|
<span>{{ index + 1 + "、" + item.teststitle }}</span>
|
|
|
+ <div
|
|
|
+ class="timuImgBox"
|
|
|
+ v-if="
|
|
|
+ askJSONC.testJson.testJson[index].timuList &&
|
|
|
+ askJSONC.testJson.testJson[index].timuList.length
|
|
|
+ "
|
|
|
+ >
|
|
|
+ <div
|
|
|
+ v-for="(timg, tIndex) in askJSONC.testJson.testJson[index]
|
|
|
+ .timuList"
|
|
|
+ :key="tIndex"
|
|
|
+ class="timuImg"
|
|
|
+ @click.stop="previewImg(timg.src)"
|
|
|
+ >
|
|
|
+ <img :src="timg.src" alt="" />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<el-button
|
|
|
type="primary"
|
|
@@ -45,7 +62,10 @@
|
|
|
item.checkList[checkIndex].imgType == 1
|
|
|
"
|
|
|
>
|
|
|
- <div class="inImg" @click.stop="previewImg(item.checkList[checkIndex].src)">
|
|
|
+ <div
|
|
|
+ class="inImg"
|
|
|
+ @click.stop="previewImg(item.checkList[checkIndex].src)"
|
|
|
+ >
|
|
|
<img :src="item.checkList[checkIndex].src" alt="" />
|
|
|
</div>
|
|
|
</div>
|
|
@@ -389,4 +409,23 @@ export default {
|
|
|
height: 100%;
|
|
|
object-fit: cover;
|
|
|
}
|
|
|
+
|
|
|
+.timuImgBox {
|
|
|
+ margin: 10px 0 10px 20px;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: row;
|
|
|
+ flex-wrap: wrap;
|
|
|
+ align-items: center;
|
|
|
+}
|
|
|
+.timuImg {
|
|
|
+ width: 100%;
|
|
|
+ margin-right: 10px;
|
|
|
+ cursor: pointer;
|
|
|
+}
|
|
|
+
|
|
|
+.timuImg > img {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ object-fit: cover;
|
|
|
+}
|
|
|
</style>
|