From 2670d0e38d9c66265352e339cc1ba24bf78a3855 Mon Sep 17 00:00:00 2001 From: yiming <m13691596795@163.com> Date: 星期五, 16 八月 2024 09:46:53 +0800 Subject: [PATCH] 体育与健康pdf修改5 --- src/books/sportsAndHealth/view/components/chapter003.vue | 97 +++++------------------------------------------- 1 files changed, 11 insertions(+), 86 deletions(-) diff --git a/src/books/sportsAndHealth/view/components/chapter003.vue b/src/books/sportsAndHealth/view/components/chapter003.vue index 9473690..9bb6415 100644 --- a/src/books/sportsAndHealth/view/components/chapter003.vue +++ b/src/books/sportsAndHealth/view/components/chapter003.vue @@ -7523,25 +7523,18 @@ </div> - - <el-dialog - :visible.sync="dialogVisible" - width="60vw" - top="2vh" - append-to-body - lock-scroll - :show-close="false" - class="custom-dialog" - > - <div slot="title" class="header_title"> - <span>{{ pdfTitle }}</span> - <span @click="closeDialog"> x </span> - </div> - <div class="pdfModal" v-if="dialogVisible"> - <preView :isClear="dialogVisible" :md5="p_md5"></preView> - </div> - </el-dialog> + + <el-dialog :visible.sync="dialogVisible" width="60vw" top="2vh" append-to-body lock-scroll :show-close="false" + class="custom-dialog"> + <div slot="title" class="header_title"> + <span>{{ pdfTitle }}</span> + <span @click="closeDialog"> x </span> + </div> + <div class="pdfModal" v-if="dialogVisible"> + <preView :isClear="dialogVisible" :md5="p_md5"></preView> + </div> + </el-dialog> </div> </template> @@ -8594,71 +8587,3 @@ }, } </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> --> -- Gitblit v1.9.1