Commit 5dbcf4af authored by 姬鋆屾's avatar 姬鋆屾

tui

parent 126d669b
...@@ -131,9 +131,10 @@ ...@@ -131,9 +131,10 @@
> >
<el-image <el-image
v-if=" v-if="
val.filePath.includes( val.filePath.includes('.png') ||
'.png' || '.jpg' || '.jpeg' || 'bmp' val.filePath.includes('.jpg') ||
) val.filePath.includes('.jpeg') ||
val.filePath.includes('.bmp')
" "
style="width: 100px; height: 100px" style="width: 100px; height: 100px"
:src=" :src="
...@@ -156,7 +157,7 @@ ...@@ -156,7 +157,7 @@
alt="" alt=""
@click="hanldeDownloadFile(val)" @click="hanldeDownloadFile(val)"
/> />
{{ val.fileName }} <p>{{ val.fileName }}</p>
</div> </div>
</div> </div>
</el-col> </el-col>
...@@ -780,14 +781,22 @@ export default { ...@@ -780,14 +781,22 @@ export default {
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
width: 60px; width: 100px;
height: 80px; height: 100px;
cursor: pointer; cursor: pointer;
margin-right: 10px;
img { img {
width: 50px; width: 100%;
height: 50px; height: 80px;
margin-top: 10px; margin-top: 10px;
} }
p {
width: 100%;
text-align: center;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
} }
} }
} }
......
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