From 8f526fbf0d8fe16d1b396f3fce710b9e7f64e353 Mon Sep 17 00:00:00 2001 From: yiming <m13691596795@163.com> Date: 星期四, 15 八月 2024 14:27:33 +0800 Subject: [PATCH] 体育与健康pdf修改3 --- src/books/sportsAndHealth/view/components/chapter003.vue | 149 ++++++++++++++++++------------------------------- 1 files changed, 56 insertions(+), 93 deletions(-) diff --git a/src/books/sportsAndHealth/view/components/chapter003.vue b/src/books/sportsAndHealth/view/components/chapter003.vue index ac5b2b7..bc76b9d 100644 --- a/src/books/sportsAndHealth/view/components/chapter003.vue +++ b/src/books/sportsAndHealth/view/components/chapter003.vue @@ -7520,7 +7520,7 @@ </div> </div> </div> - <el-dialog :visible.sync="dialogVisible" width="60vw" top="2vh" append-to-body lock-scroll :show-close="false" + <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> @@ -7583,13 +7583,10 @@ isShowXyx13: false, isShowXyx14: false, - - isShowXyx15: false, isShowXyx16: false, isShowXyx17: false, isShowXyx18: false, - score1: 0, score2: 0, @@ -8273,10 +8270,7 @@ }, created() { - if (!this.isSearch) { - - this.getVideo(this.chapter003.videoMd5.v8.md5, 'v8') this.getVideo(this.chapter003.videoMd5.v9.md5, 'v9') this.getVideo(this.chapter003.videoMd5.v10.md5, 'v10') @@ -8290,7 +8284,6 @@ this.getVideo(this.chapter003.videoMd5.v18.md5, 'v18') this.getVideo(this.chapter003.videoMd5.v19.md5, 'v19') this.getVideo(this.chapter003.videoMd5.v20.md5, 'v20') - } const localData = JSON.parse(localStorage.getItem('chapter003')) @@ -8311,13 +8304,7 @@ }, activityXyx1() { this.isShowXyx01 = !this.isShowXyx01 - - - this.videoShow3 = true - - - }, async getVideo(md5, val) { const data = await getResourcePath(md5) @@ -8353,9 +8340,7 @@ activityXyx2() { this.isShowXyx02 = !this.isShowXyx02 - if (!this.isSearch && !this.chapter003.videoShow1) { - this.getVideo(this.chapter003.videoMd5.v1.md5, 'v1') this.getVideo(this.chapter003.videoMd5.v2.md5, 'v2') this.getVideo(this.chapter003.videoMd5.v3.md5, 'v3') @@ -8363,9 +8348,6 @@ this.getVideo(this.chapter003.videoMd5.v5.md5, 'v5') this.getVideo(this.chapter003.videoMd5.v6.md5, 'v6') this.getVideo(this.chapter003.videoMd5.v7.md5, 'v7') - - - } this.chapter003.videoShow1 = true @@ -8376,11 +8358,7 @@ activityXyx20() { this.isShowXyx020 = !this.isShowXyx020 - if (!this.isSearch && !this.chapter003.isShowXyx12) { - - - this.getVideos(this.chapter003.video2Md5.v1.md5, 'v1') this.getVideos(this.chapter003.video2Md5.v2.md5, 'v2') this.getVideos(this.chapter003.video2Md5.v3.md5, 'v3') @@ -8415,26 +8393,12 @@ this.getVideos(this.chapter003.video2Md5.v27.md5, 'v27') this.getVideos(this.chapter003.video2Md5.v28.md5, 'v28') this.getVideos(this.chapter003.video2Md5.v29.md5, 'v29') - }, 3000) - - - - - } - - - - - setTimeout(() => { this.chapter003.isShowXyx12 = true }, 1000) - - - setTimeout(() => { this.chapter003.isShowXyx13 = true @@ -8494,7 +8458,6 @@ this.getVideo(this.chapter003.videoMd5.v36.md5, 'v36') this.getVideo(this.chapter003.videoMd5.v37.md5, 'v37') } - this.chapter003.isShowXyx15 = true @@ -8621,69 +8584,69 @@ } </script> -<style lang="less" scoped> -.pdfModal { - width: 100%; - height: 90vh; -} +<style lang="less" scoped> +// .pdfModal { +// width: 100%; +// height: 90vh; +// } -.custom-dialog { - overflow: hidden !important; +// .custom-dialog { +// 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); +// /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'; +// .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; - } - } +// 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; - } +// @media screen and (max-width: 1024px) { +// .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; - } +// @media screen and (max-width: 800px) { +// .pdfModal { +// width: 100%; +// height: 60vh; +// } - .custom-dialog { - /deep/ .el-dialog { - width: 90vw !important; - } - } -} +// .custom-dialog { +// /deep/ .el-dialog { +// width: 90vw !important; +// } +// } +// } </style> -- Gitblit v1.9.1