From ffb938e7a65c0dab30dd8ed00a13c68dcf7bd77c Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期五, 25 十月 2024 16:48:36 +0800 Subject: [PATCH] Merge branch 'master' of http://182.92.203.7:2001/r/testbookLayout --- src/books/sportsAndHealth/view/components/testPp.vue | 83 ++--------------------------------------- 1 files changed, 5 insertions(+), 78 deletions(-) diff --git a/src/books/sportsAndHealth/view/components/testPp.vue b/src/books/sportsAndHealth/view/components/testPp.vue index d368de1..eb14457 100644 --- a/src/books/sportsAndHealth/view/components/testPp.vue +++ b/src/books/sportsAndHealth/view/components/testPp.vue @@ -1036,14 +1036,6 @@ </div> </div> - - - - - - - - <div> <el-dialog :visible.sync="dialogVisible" width="60vw" top="2vh" lock-scroll :show-close="false" class="custom-dialog"> @@ -1281,11 +1273,11 @@ title: this.chapter002.pdfMd5[val].name, }, }; - this.$emit("openPDFChange", obj); + // this.$emit("openPDFChange", obj); - // this.dialogVisible = true; - // this.p_md5 = this.chapter002.pdfMd5[val].md5; - // this.pdfTitle = this.chapter002.pdfMd5[val].name; + this.dialogVisible = true; + this.p_md5 = this.chapter002.pdfMd5[val].md5; + this.pdfTitle = this.chapter002.pdfMd5[val].name; } }, async getVideo(md5, val) { @@ -1323,69 +1315,4 @@ }; </script> -<style lang="less"> -.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> +<style lang="less"></style> -- Gitblit v1.9.1