From fa2b9ef990cb714493c06c1dc04bf7794f76a066 Mon Sep 17 00:00:00 2001 From: kim131 <1035828775@qq.com> Date: Tue, 15 Dec 2020 16:44:23 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E7=BD=91=E9=A1=B5=E7=AB=AF=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E5=8F=8C=E5=87=BB=E9=A2=84=E8=A7=88=20=E5=AE=A2?= =?UTF-8?q?=E6=88=B7=E7=AB=AF=E5=8F=8C=E5=87=BB=E6=89=93=E5=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/main_web/workspace/components/file-item.vue | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/views/main_web/workspace/components/file-item.vue b/src/views/main_web/workspace/components/file-item.vue index f432d261..77ed509c 100644 --- a/src/views/main_web/workspace/components/file-item.vue +++ b/src/views/main_web/workspace/components/file-item.vue @@ -7,7 +7,7 @@ effect="light" >
@@ -346,12 +346,15 @@ export default { methods: { oneOf, dblclickFile() { - if(!this.isClient || this.isLocalIpfsCidValidate) { + if(this.isClient && this.isLocalIpfsCidValidate) { this.$emit('dblclickFile'); + return; + } + if(!this.isClient) { + this.filePreview(); } }, fileRightBtnClick(e) { - console.log(this.isLocalIpfsCidValidate); if(this.isLocalIpfsCidValidate || !this.isClient) { this.isFileRightMenuVisible = true; this.fileRightMenuLeft = e.offsetX; From 410f9eda40917a92e63ea3234e6692920dd99c29 Mon Sep 17 00:00:00 2001 From: kim131 <1035828775@qq.com> Date: Tue, 15 Dec 2020 16:49:17 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=A8=A1=E6=9D=BF?= =?UTF-8?q?=E6=A6=82=E5=86=B5=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/static/css/main.css | 8 +- .../projDetail/components/personnel-list.vue | 9 +- .../components_web/projDetail/projDetail.vue | 162 +++++++++++++----- 3 files changed, 128 insertions(+), 51 deletions(-) diff --git a/public/static/css/main.css b/public/static/css/main.css index 4eb86bd9..1a652c63 100644 --- a/public/static/css/main.css +++ b/public/static/css/main.css @@ -8922,7 +8922,9 @@ h5.dulilabel{ /* 新项目人员列表超出部分滚动条样式 */ /* 滚动条样式 */ .personnel-list .content-wrap::-webkit-scrollbar, - .right-part .part-wrap::-webkit-scrollbar, + .proj-detail .right-part .part-wrap::-webkit-scrollbar, + .proj-detail .proj-desc-wrap::-webkit-scrollbar, + .proj-detail .summary-wrap::-webkit-scrollbar, .new-proj .template_select_content::-webkit-scrollbar { width: 8px; height: 8px; @@ -8934,6 +8936,8 @@ h5.dulilabel{ /*滑块样式*/ .personnel-list .content-wrap::-webkit-scrollbar-thumb, .right-part .part-wrap::-webkit-scrollbar-thumb, + .proj-detail .proj-desc-wrap::-webkit-scrollbar-thumb, + .proj-detail .summary-wrap::-webkit-scrollbar-thumb, .new-proj .template_select_content::-webkit-scrollbar-thumb { -webkit-border-radius: 4px; border-radius: 4px; @@ -8944,6 +8948,8 @@ h5.dulilabel{ /*当前窗口失去焦点时的滑块样式*/ .personnel-list .content-wrap::-webkit-scrollbar-thumb:window-inactive, .right-part .part-wrap::-webkit-scrollbar-thumb:window-inactive, + .proj-detail .proj-desc-wrap::-webkit-scrollbar-thumb:window-inactive, + .proj-detail .summary-wrap::-webkit-scrollbar-thumb:window-inactive, .new-proj .template_select_content::-webkit-scrollbar-thumb:window-inactive { background-color: #adadad; } diff --git a/src/views/components_web/projDetail/components/personnel-list.vue b/src/views/components_web/projDetail/components/personnel-list.vue index c6b61903..380a5b45 100644 --- a/src/views/components_web/projDetail/components/personnel-list.vue +++ b/src/views/components_web/projDetail/components/personnel-list.vue @@ -21,7 +21,7 @@ {{ dept.deptName }} 全选 -