Commit 93b8a7c8 authored by zhengke's avatar zhengke

no message

parent 2697be2a
......@@ -62,8 +62,7 @@
<template v-for="(item,index) in dataList">
<div class="CloudDisk-R-Box cursor-pointer"
:class="[ImgId==item.DetailsId?'active':'']" @click="setImg(item)"
v-right-click="handleRightClick">
:class="[ImgId==item.DetailsId?'active':'active2']" @click="setImg(item)">
<div class="CloudDisk-R-Img">
<el-image :src="item.FilePath" style="width: 80px; height: 80px;"
fit="cover"/>
......@@ -185,9 +184,6 @@ watch(() => props.show, () => {
if(!props.show) ImgId.value = ''
})
const handleRightClick = (event:any,item:any) => {
console.log('右键被点击', event);
}
const setImg = (item:any) => {
ImgId.value = item.DetailsId
emit('getImg',item.FilePath)
......@@ -509,7 +505,7 @@ onMounted(()=>{
z-index: 3;
opacity: 0;
}
.CloudDisk-R-Box:hover .close-btn{
.CloudDisk-R-Box.active2:hover .close-btn{
opacity: 1;
}
</style>
\ No newline at end of file
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