Commit 87fd70fa authored by “yiyousong”'s avatar “yiyousong”

fix:修改材料列表图片展示

parent 53f1a9eb
......@@ -23,7 +23,9 @@
@click="handleWrite"
>
<div class="pic-box">
<img class="pic" :src="api + v.preViewPath" />
<div class="pic-img-box">
<img class="pic" :src="api + v.preViewPath" />
</div>
</div>
<div class="for-short">{{ v.materialName }}</div>
<div class="matterDatumList-name">
......@@ -141,10 +143,16 @@ export default {
padding: 16px 24px;
background: #f4f6fc;
border-radius: 16px;
img {
.pic-img-box {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 4px;
overflow: hidden;
}
img {
width: 100%;
min-height: 100%;
border-radius: inherit;
}
}
.for-short {
......
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