Commit 3fd59c74 authored by zhengke's avatar zhengke

优化样式

parent 7bead4a4
......@@ -6,10 +6,12 @@
class="fz14" label="" v-model="item.check" @click.stop="item.check=!item.check"/>
<div class="CloudDisk-R-Box cursor-pointer" :key="index">
<div class="CloudDisk-R-Img">
<el-image class="row items-center" :src="item.FilePath" style="width: 100%; height: 100%;"
<el-image class="row items-center flex-center" :src="item.FilePath" style="width: 100%; height: 100%;"
fit="cover">
<template #error>
<div class="row items-center flex-center" style="height: 100%;">
<el-image :src="errImg"></el-image>
</div>
</template>
</el-image>
</div>
......
......@@ -70,10 +70,10 @@
<div class="CloudDisk-R-Box cursor-pointer"
:class="[ImgId==item.DetailsId?'active':'active2']" @click="setImg(item)">
<div class="CloudDisk-R-Img">
<el-image class="row items-center" :src="item.FilePath" style="width: 100%; height: 100%;"
<el-image class="row items-center flex-center" :src="item.FilePath" style="width: 100%; height: 100%;"
fit="cover">
<template #error>
<div class="row items-center" style="height: 100%;">
<div class="row items-center flex-center" style="height: 100%;">
<el-image :src="errImg"></el-image>
</div>
</template>
......
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