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/chapter004.vue |   77 ++++++++++++++++++++++++++++++++++++--
 1 files changed, 73 insertions(+), 4 deletions(-)

diff --git a/src/books/sportsAndHealth/view/components/chapter004.vue b/src/books/sportsAndHealth/view/components/chapter004.vue
index 8ce1732..ac67b11 100644
--- a/src/books/sportsAndHealth/view/components/chapter004.vue
+++ b/src/books/sportsAndHealth/view/components/chapter004.vue
@@ -1,5 +1,5 @@
 <template>
-    <div class="chapter" num="5">
+    <div class="chapter" num="3">
         <!-- 124 -->
         <div class="page-box" page="135">
             <div v-if="showPageList.indexOf(135) > -1">
@@ -1944,7 +1944,7 @@
                     <p>锛�1锛夊姩浣滆棰�</p>
                     <p>鎸侀ゼ鎵嬭嚜鐒跺垎寮�锛屾媷鎸囧拰鎵嬫帉骞抽潬閾侀ゼ锛屽叾浣欏洓鎸囨湯鑺傛墸浣忛搧楗肩殑杈圭紭锛屾墜鑵曞井灞堬紝閾侀ゼ涓婄紭寰井闈犱簬鍓嶈噦銆傛彙濂介搧楗煎悗锛屾寔楗艰噦鑷劧鏀炬澗涓嬪瀭浜庝綋渚с�傞鎽嗘椂锛屽乏鎵嬫墭楗间簬鑳稿墠锛屽彸鎵嬭嚜鐒舵彙楗硷紝鐒跺悗鎵╄兏锛屾寔楗艰噦绋嶅仛澶栨棆鍚戝悗鎷夐ゼ鑷虫瀬闄愪綅锛岀◢鍋氬仠椤胯繕鍘熻嚦鑳稿墠锛屽弻鎵嬩笂涓嬪浐瀹氶ゼ銆傚彲鐢ㄩ鎸囨垨涓寚鎷ㄩゼ锛屾憜楗艰繃绋嬩腑淇濇寔鑲╅儴鏀炬澗銆�
                     </p>
-          
+
 
 
                     <div class="imgBox-003 openImgBox">
@@ -2660,18 +2660,87 @@
         },
         toUrl(val) {
             if (val) {
-
-
                 this.dialogVisible = true;
                 this.p_md5 = this.chapter004.pdfMd5[val].md5;
                 this.pdfTitle = this.chapter004.pdfMd5[val].name;
             }
         },
 
+
+
+
+
+
+
     },
 };
 </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;
+        }
+    }
+}
+
 .img {
     font-family: "FZLTXIHJW";
     text-align: center;

--
Gitblit v1.9.1