From fbf4bb02ba5aa830281d03b029ee300373b98b64 Mon Sep 17 00:00:00 2001
From: yiming <m13691596795@163.com>
Date: 星期五, 09 八月 2024 16:52:25 +0800
Subject: [PATCH] 体育与健康pdf样式

---
 src/books/sportsAndHealth/view/components/chapter006.vue |   69 ++++++++++++++++++++++++++++++++++
 1 files changed, 68 insertions(+), 1 deletions(-)

diff --git a/src/books/sportsAndHealth/view/components/chapter006.vue b/src/books/sportsAndHealth/view/components/chapter006.vue
index cddec23..fe33f39 100644
--- a/src/books/sportsAndHealth/view/components/chapter006.vue
+++ b/src/books/sportsAndHealth/view/components/chapter006.vue
@@ -5496,4 +5496,71 @@
 }
 </script>
 
-<style lang="less" scoped></style>
\ No newline at end of file
+<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>
\ No newline at end of file

--
Gitblit v1.9.1