src/books/sportsAndHealth/css/default.less | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/components/pdfview/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/books/sportsAndHealth/css/default.less
@@ -1936,6 +1936,21 @@ height: 90vh; } @media screen and (max-width:1024px) { .pdfModal { width: 100%; height: 80vh; } .custom-dialog { .el-dialog { width: 90vw !important; } } } @media screen and (max-width:800px) { .pdfModal { width: 100%; src/components/pdfview/index.vue
@@ -81,9 +81,7 @@ let ele = document.getElementById("imageParent"); this.viewerCon = new Viewer(ele, { inline: false, container: this.container ? this.container.querySelector("#app") : "body", container: "body", navbar: true, // 显示导航栏 toolbar: true, // 显示工具栏 title: true, // 显示标题