Commit 88fd24ee authored by zhengke's avatar zhengke

优化云盘

parent f4049579
......@@ -115,7 +115,11 @@
:class="[currentSearchType==2?'DiskRHActive':'']" class="cusor-pointer">
<div style="position: relative;width: 95px;height: 34px;">
<el-button color="#EFEFEF" style="position:absolute;left: 0;right: 0;z-index: 2;">
<span class="cusor-pointer">添加时间</span> <el-icon color="#9DA2AA" class="el-icon--right"><arrow-down /></el-icon>
<span class="cusor-pointer">添加时间</span>
<el-icon v-if="dateArr.length==0" color="#9DA2AA" class="el-icon--right"><arrow-down /></el-icon>
<el-icon v-else color="#9DA2AA" class="el-icon--right">
<CircleClose @click.stop="dateArr=[],ClearOption(),getDate()"/>
</el-icon>
</el-button>
<div class="CloudDisk-R-Date">
<el-date-picker
......
......@@ -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 :src="item.FilePath" style="width: 100%; height: 100%;"
fit="cover">
<template #error>
<el-image :src="errImg"></el-image>
<div class="row items-center" style="height: 100%;">
<el-image :src="errImg"></el-image>
</div>
</template>
</el-image>
</div>
......@@ -25,7 +27,7 @@
</template>
<div class="MoreClickCenter column" @mousedown.stop="handleChildMouseDown">
<div class="cloudDownName microsoft">
<div class="col row items-center user-nickname" style="color:#000;" v-if="editorTarget!=item.DetailsId">
<div class="col row items-center user-nickname q-pl-sm" style="color:#000;" v-if="editorTarget!=item.DetailsId">
<span class="grow text-left">{{item.FileName}}</span>
<IconPencli size="14" class="q-ml-md cusor-pointer editor-pencli" @click.stop="setNameHandler(item)"></IconPencli>
</div>
......
......@@ -18,7 +18,9 @@
@click.stop="getImg(scope.row,scope.$index)"
>
<template #error>
<el-image :src="errImg"></el-image>
<div class="row items-center" style="height: 100%;">
<el-image :src="errImg"></el-image>
</div>
</template>
</el-image>
<div class="cloudDownName microsoft q-pl-md">
......
......@@ -32,7 +32,7 @@
</template>
<div class="MoreClickCenter column" @mousedown.stop="handleChildMouseDown">
<div class="cloudDownName microsoft">
<div class="col row items-center user-nickname" style="color:#000;" v-if="editorTarget!=item.DetailsId">
<div class="col row items-center user-nickname q-pl-sm" style="color:#000;" v-if="editorTarget!=item.DetailsId">
<span class="grow text-left">{{item.FileName}}</span>
<IconPencli size="14" class="q-ml-md cusor-pointer editor-pencli" @click.stop="setNameHandler(item)"></IconPencli>
</div>
......
......@@ -154,7 +154,6 @@
<el-table-column label="封面图">
<template #default="scope" width="110">
<el-image
class="row items-center"
style="width: 50px; height: auto"
:src="scope.row.CoverImg"
:zoom-rate="1.2"
......@@ -165,7 +164,9 @@
fit="contain"
>
<template #error>
<el-image :src="errImg"></el-image>
<div class="row items-center" style="height: 100%;">
<el-image :src="errImg"></el-image>
</div>
</template>
</el-image>
</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