From 41f7a899937cdcf388dab5ea8b2e60d3bfcddfc5 Mon Sep 17 00:00:00 2001 From: truthhun <1272881215@qq.com> Date: Wed, 22 Feb 2023 20:56:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=AA=E6=98=BE=E7=A4=BA=E6=94=BE=E5=A4=A7?= =?UTF-8?q?=E7=BC=A9=E5=B0=8F=E5=92=8C=E5=85=A8=E5=B1=8F=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/pages/document/_id.vue | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/web/pages/document/_id.vue b/web/pages/document/_id.vue index 05c5203..1d1561f 100644 --- a/web/pages/document/_id.vue +++ b/web/pages/document/_id.vue @@ -971,14 +971,24 @@ export default { } @media screen and (max-width: $mobile-width) { - .el-image-viewer__canvas { - display: block; - overflow: auto; - padding-top: 20px; - .el-image-viewer__img { - transform-origin: 50% 50% !important; + .el-image-viewer__wrapper { + .el-image-viewer__actions { + .el-icon-refresh-left, + .el-image-viewer__actions__divider, + .el-icon-refresh-right { + display: none; + } + } + .el-image-viewer__canvas { + display: block; + overflow: auto; + padding-top: 20px; + .el-image-viewer__img { + transform-origin: 0 0 !important; + } } } + .page-document { .doc-left { width: 100% !important;