From c27262311b2ffed7ece046cf41fc7a914af03374 Mon Sep 17 00:00:00 2001 From: yiming <m13691596795@163.com> Date: 星期二, 13 八月 2024 15:42:04 +0800 Subject: [PATCH] 体育与健康页面修改2 --- src/books/sportsAndHealth/view/components/chapter006.vue | 94 ++++++++++++++++++++++++----------------------- 1 files changed, 48 insertions(+), 46 deletions(-) diff --git a/src/books/sportsAndHealth/view/components/chapter006.vue b/src/books/sportsAndHealth/view/components/chapter006.vue index e00013b..fe33f39 100644 --- a/src/books/sportsAndHealth/view/components/chapter006.vue +++ b/src/books/sportsAndHealth/view/components/chapter006.vue @@ -1,5 +1,5 @@ <template> - <div class="chapter" num="3"> + <div class="chapter" num="7"> <div class="page-box" page="202"> <div v-if="showPageList.indexOf(202) > -1"> <div class="bodystyle textHeader"> @@ -5497,68 +5497,70 @@ </script> <style lang="less" scoped> + .pdfModal { - width: 100%; - height: 90vh; + width: 100%; + height: 90vh; } .custom-dialog { - overflow: hidden !important; + overflow: hidden !important; - /deep/ .el-dialog__body { - padding: 0; + /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__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'; - } + /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; - } + .pdfModal { + width: 100%; + height: 80vh; + } - .custom-dialog { - /deep/ .el-dialog { - width: 90vw !important; - } + .custom-dialog { + /deep/ .el-dialog { + width: 90vw !important; } + } } @media screen and (max-width: 800px) { - .pdfModal { - width: 100%; - height: 60vh; - } + .pdfModal { + width: 100%; + height: 60vh; + } - .custom-dialog { - /deep/ .el-dialog { - width: 90vw !important; - } + .custom-dialog { + /deep/ .el-dialog { + width: 90vw !important; } + } } + </style> \ No newline at end of file -- Gitblit v1.9.1