| | |
| | | </script> |
| | | |
| | | <style lang="less" scoped> |
| | | .pdfModal { |
| | | width: 100%; |
| | | height: 90vh; |
| | | } |
| | | |
| | | .custom-dialog { |
| | | overflow: hidden !important; |
| | | |
| | | /deep/ .el-dialog__body { |
| | | padding: 0; |
| | | } |
| | | |
| | | /deep/ .el-dialog__header { |
| | | background-color: rgba(0, 0, 0, 0.8); |
| | | |
| | | .header_title { |
| | | display: flex; |
| | | justify-content: space-between; |
| | | align-items: center; |
| | | color: #fff; |
| | | font-weight: 900; |
| | | font-size: 16px; |
| | | font-family: 'FZLTXIHJW'; |
| | | |
| | | span:nth-child(2):hover { |
| | | cursor: pointer; |
| | | } |
| | | } |
| | | |
| | | /deep/.el-dialog__title, |
| | | /deep/ .el-dialog__headerbtn .el-dialog__close { |
| | | color: #fff; |
| | | font-weight: 900; |
| | | font-size: 16px; |
| | | font-family: 'FZLTXIHJW'; |
| | | } |
| | | } |
| | | } |
| | | |
| | | @media screen and (max-width: 1024px) { |
| | | .pdfModal { |
| | | width: 100%; |
| | | height: 80vh; |
| | | } |
| | | |
| | | .custom-dialog { |
| | | /deep/ .el-dialog { |
| | | width: 90vw !important; |
| | | } |
| | | } |
| | | } |
| | | |
| | | @media screen and (max-width: 800px) { |
| | | .pdfModal { |
| | | width: 100%; |
| | | height: 60vh; |
| | | } |
| | | |
| | | .custom-dialog { |
| | | /deep/ .el-dialog { |
| | | width: 90vw !important; |
| | | } |
| | | } |
| | | } |
| | | </style> |
| | |
| | | </script> |
| | | |
| | | <style lang="less" scoped> |
| | | |
| | | .pdfModal { |
| | | width: 100%; |
| | | height: 90vh; |
| | |
| | | } |
| | | } |
| | | } |
| | | |
| | | </style> |
| | |
| | | |
| | | // 测试页面跳转 |
| | | setTimeout(() => { |
| | | this.gotoPage(1, 1) |
| | | this.gotoPage(4, 134) |
| | | // setTimeout(() => { |
| | | // this.renderSign("Highlight", { |
| | | // id: "2ACA9359", |
| | |
| | | window.open(await getResourcePath(this.preViewMd5)); |
| | | }, |
| | | domViewer() { |
| | | let ele = (this.container ? this.container : document).getElementById( |
| | | let ele = document.getElementById( |
| | | "imageParent" |
| | | ); |
| | | this.viewerCon = new Viewer(ele, { |