From f9d49455368b557eb10915d7cc56c4b5e17d338b Mon Sep 17 00:00:00 2001 From: yiming <m13691596795@163.com> Date: 星期二, 13 八月 2024 15:34:11 +0800 Subject: [PATCH] Merge branch 'master' of http://182.92.203.7:2001/r/testbookLayout --- src/books/sportsAndHealth/view/components/chapter009.vue | 69 +++++++++++++++++++++++++++++++++- 1 files changed, 67 insertions(+), 2 deletions(-) diff --git a/src/books/sportsAndHealth/view/components/chapter009.vue b/src/books/sportsAndHealth/view/components/chapter009.vue index 6e639db..780a3b5 100644 --- a/src/books/sportsAndHealth/view/components/chapter009.vue +++ b/src/books/sportsAndHealth/view/components/chapter009.vue @@ -1,7 +1,7 @@ <!-- @format --> <template> - <div class="chapter" num="10"> + <div class="chapter" num="3"> <div class="page-box" page="265"> @@ -5280,4 +5280,69 @@ } </script> -<style lang="less" scoped></style> +<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