소스 검색

[VersionBeta] V.1.0.0.0

[Adds]
1.优化回收站
new-cli
zxm 4 년 전
부모
커밋
44d90604f9
1개의 변경된 파일32개의 추가작업 그리고 4개의 파일을 삭제
  1. +32
    -4
      src/views/main_web/recycle.vue

+ 32
- 4
src/views/main_web/recycle.vue 파일 보기

@@ -16,7 +16,7 @@
v-if="!isShowRecycleTip"
v-for="(folder, index) in filesList"
:key="index">
<div class="yinyong_warpBox hidescollbar">
<div class="yinyong_warpBox hidescollbar" @click="clickYinyongWarpBox()">
<div class="yiyun_section_top" id="bignav">
<!-- 系统时间 -->
<div class="section_item fl section_item_aside_fl ">
@@ -78,7 +78,8 @@
<div class="yiyun_wenjian_list"
v-for="foldergroup in folder.listFoldergroup"
:key="foldergroup.folderGroupID"
@contextmenu.prevent="rightFoldergroupShowMenu($event, foldergroup)">
@contextmenu.prevent="rightFoldergroupShowMenu($event, foldergroup)"
@click="clickFoldergroup(foldergroup)">
<div class="defultImage-mid foldernew-mid" >
</div>
<strong class="yiyunwenjian_name" >
@@ -230,6 +231,14 @@
.catch(function (error) {
console.log(error);
});
}).catch(()=>{
thisApp.$notify({
title: "温馨提示",
message: "已取消操作",
type: "info",
offset: 100,
duration: 2500
});
});
},
/**
@@ -270,6 +279,14 @@
.catch(error => {
console.log(error);
});
}).catch(()=>{
thisApp.$notify({
title: "温馨提示",
message: "已取消操作",
type: "info",
offset: 100,
duration: 2500
});
});
},
/**
@@ -299,6 +316,16 @@
this.rightMenuvisible = false;
},
/******* 右键文件分组菜单 *********/
clickYinyongWarpBox:function(){
this.rightMenuvisible = false;
this.rightFoldergroupMenuvisible = false;
},
/**
* 单机分组
*/
clickFoldergroup:function(foldergroup){
this.rightFoldergroupMenuvisible = false;
},
/**
* 右键文件分组
*/
@@ -363,7 +390,7 @@
offset: 100,
duration: 2500
});
}); ;
});
},
/**
* 彻底删除
@@ -407,13 +434,14 @@
},
},
watch: {
rightMenuvisible(value) {
rightMenuvisiblerightMenuvisible(value) {
if (value) {
document.body.addEventListener("click", this.closeShowMenu);
} else {
document.body.removeEventListener("click", this.closeShowMenu);
}
}
}
};
</script>


불러오는 중...
취소
저장