Commit bdeee2c4 by linjinhong

修改图片展示问题

parent d9399028
...@@ -420,11 +420,10 @@ export default { ...@@ -420,11 +420,10 @@ export default {
this.getBackFile({ files: [it], size }, (file) => { this.getBackFile({ files: [it], size }, (file) => {
this.imgHistoryList.push(JSON.parse(JSON.stringify(this.imgList))); this.imgHistoryList.push(JSON.parse(JSON.stringify(this.imgList)));
}); });
});
setTimeout(() => {
this.imgDom = document.getElementById("imgBox"); this.imgDom = document.getElementById("imgBox");
if (this.imgDom) this.imgDom.style.webkitClipPath = "none"; if (this.imgDom) this.imgDom.style.webkitClipPath = "none";
}, 300); });
// setTimeout(() => {}, 300);
// this.selectImgIndexList = Array.from(new Set(this.selectImgIndexList)) // this.selectImgIndexList = Array.from(new Set(this.selectImgIndexList))
// this.getBackFile({ files: [it], size }); // this.getBackFile({ files: [it], size });
}, },
...@@ -1058,7 +1057,7 @@ export default { ...@@ -1058,7 +1057,7 @@ export default {
style="border-bottom: 1px solid #ececec;" style="border-bottom: 1px solid #ececec;"
> >
<template #mainContent v-if="detail.imageAry?.length"> <template #mainContent v-if="detail.imageAry?.length">
<div style="display: flex;flex-wrap: nowrap;width: 100%;"> <div style="width: 100%;">
<div <div
v-for="(img, index) in detail.imageAry" v-for="(img, index) in detail.imageAry"
:key="index" :key="index"
...@@ -1579,8 +1578,8 @@ img { ...@@ -1579,8 +1578,8 @@ img {
.img-item { .img-item {
// height: 150px; // height: 150px;
width: 200px; width: 180px;
max-height: 200px; max-height: 215px;
overflow: hidden; overflow: hidden;
padding: 5px; padding: 5px;
box-sizing: border-box; box-sizing: border-box;
...@@ -1674,7 +1673,7 @@ img { ...@@ -1674,7 +1673,7 @@ img {
.information-content { .information-content {
border: 1px solid #ececec; border: 1px solid #ececec;
border-top: none; border-top: none;
width: 100%;
.main { .main {
margin: 5px; margin: 5px;
border: 1px solid #ececec; border: 1px solid #ececec;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment