From 29758f3657c62d4317bcb54050d4b860abeb184e Mon Sep 17 00:00:00 2001 From: yiming <m13691596795@163.com> Date: 星期三, 14 八月 2024 14:57:17 +0800 Subject: [PATCH] 体育与健康视频修改 --- src/books/sportsAndHealth/css/default.less | 379 ++++++++++++++++++++++++++++++++++------------------- 1 files changed, 242 insertions(+), 137 deletions(-) diff --git a/src/books/sportsAndHealth/css/default.less b/src/books/sportsAndHealth/css/default.less index 17120c4..3b6fdf8 100644 --- a/src/books/sportsAndHealth/css/default.less +++ b/src/books/sportsAndHealth/css/default.less @@ -1,3 +1,5 @@ +/** @format */ + .temp-bookInnerContentSports { width: 100%; height: 100%; @@ -9,7 +11,7 @@ overflow: auto; .public-sportsAndHealth { - font-family: "瀹嬩綋"; + font-family: '瀹嬩綋'; max-width: 816px; min-width: 375px; margin: 0 auto; @@ -19,69 +21,69 @@ .chapter { //new - .fl{ + .fl { display: flex; } - .fd-c{ + .fd-c { flex-direction: column; } - .al-c{ + .al-c { align-items: center; } - .w50{ + .w50 { width: 50%; } - .w56{ + .w56 { width: 56%; } - .w13{ + .w13 { width: 13%; } - .w24{ + .w24 { width: 24%; } - .w22{ + .w22 { width: 22%; } - .w32{ + .w32 { width: 32%; } - .w34{ + .w34 { width: 34%; } - .span-P{ - font-family: "FZLTXIHJW"; + .span-P { + font-family: 'FZLTXIHJW'; font-size: 14px; - color:#F79447 ; + color: #f79447; } - .span-S{ - color:#F79447 ; + .span-S { + color: #f79447; } - .tl{ + .tl { text-align: left !important; } - .tw-no{ + .tw-no { text-wrap: nowrap; } - .table-p{ + .table-p { margin: 0%; text-indent: 0; font-size: 14px; line-height: 25px; - font-family: "FZLTXIHJW"; + font-family: 'FZLTXIHJW'; } - .imgBox{ - display: flex; + .imgBox { + display: flex; flex-direction: column-reverse; position: relative; - .img{ + .img { position: absolute; left: 40%; - bottom:-10%; + bottom: -10%; } } - .table-text{ + .table-text { border: none; background-color: transparent; resize: none; @@ -93,7 +95,7 @@ //over textarea { width: 100%; - font-family: "FZLTXIHJW"; + font-family: 'FZLTXIHJW'; padding: 2px 5px; box-sizing: border-box; } @@ -159,7 +161,7 @@ span { margin-right: 28px; - font-family: "FZLTXIHJW"; + font-family: 'FZLTXIHJW'; font-size: 18px; } span:nth-child(3) { @@ -200,7 +202,7 @@ align-items: flex-end; span { margin-left: 28px; - font-family: "FZLTXIHJW"; + font-family: 'FZLTXIHJW'; font-size: 18px; } @@ -245,7 +247,7 @@ span { font-size: 14px; text-align: center; - font-family: "FZLTXIHJW"; + font-family: 'FZLTXIHJW'; display: flex; align-items: center; justify-content: flex-start; @@ -298,6 +300,7 @@ video { width: 100%; + height: 150px; } video::-webkit-media-text-track-display { @@ -313,7 +316,7 @@ justify-content: center; font-size: 14px; text-align: center; - font-family: "FZLTXIHJW"; + font-family: 'FZLTXIHJW'; } } } @@ -337,7 +340,7 @@ justify-content: center; align-items: center; padding-top: 20px; - font-family: "FZLTXIHJW"; + font-family: 'FZLTXIHJW'; .table-bottom { width: 100%; @@ -399,7 +402,7 @@ text-align: center; padding: 5px 10px; font-size: 14px; - font-family: "FZLTXIHJW"; + font-family: 'FZLTXIHJW'; font-weight: 900; min-width: 35px; } @@ -410,7 +413,7 @@ padding: 3px 10px; font-size: 14px; line-height: 25px; - font-family: "FZLTXIHJW"; + font-family: 'FZLTXIHJW'; input { cursor: pointer; @@ -429,7 +432,7 @@ top: 0; width: 100%; height: 100%; - background: url("../image/dy1.jpg"); + background: url('../image/dy1.jpg'); background-position: top; background-size: 100% 50%; background-repeat: no-repeat; @@ -457,7 +460,7 @@ top: 0; width: 100%; height: 100%; - background: url("../image/dy2.jpg"); + background: url('../image/dy2.jpg'); background-position: top; background-size: 100% 50%; background-repeat: no-repeat; @@ -471,7 +474,7 @@ top: 0; width: 100%; height: 98%; - background: url("../image/dy3.jpg"); + background: url('../image/dy3.jpg'); background-position: top; background-size: 100% 45%; background-repeat: no-repeat; @@ -485,21 +488,21 @@ top: 0; width: 100%; height: 98%; - background: url("../image/dy4.jpg"); + background: url('../image/dy4.jpg'); background-position: top; background-size: 100% 45%; background-repeat: no-repeat; display: flex; justify-content: flex-start; } - + .bj-img05 { position: absolute; left: 0; top: 0; width: 100%; height: 98%; - background: url("../image/dy5.jpg"); + background: url('../image/dy5.jpg'); background-position: top; background-size: 100% 45%; background-repeat: no-repeat; @@ -512,7 +515,7 @@ top: 0; width: 100%; height: 98%; - background: url("../image/dy6.jpg"); + background: url('../image/dy6.jpg'); background-position: top; background-size: 100% 45%; background-repeat: no-repeat; @@ -520,13 +523,12 @@ justify-content: flex-start; } .bj-img07 { - position: absolute; left: 0; top: 0; width: 100%; height: 98%; - background: url("../image/dy7.jpg"); + background: url('../image/dy7.jpg'); background-position: top; background-size: 100% 45%; background-repeat: no-repeat; @@ -535,13 +537,12 @@ } .bj-img08 { - position: absolute; left: 0; top: 0; width: 100%; height: 98%; - background: url("../image/dy8.jpg"); + background: url('../image/dy8.jpg'); background-position: top; background-size: 100% 45%; background-repeat: no-repeat; @@ -550,13 +551,12 @@ } .bj-img09 { - position: absolute; left: 0; top: 0; width: 100%; height: 98%; - background: url("../image/dy9.jpg"); + background: url('../image/dy9.jpg'); background-position: top; background-size: 100% 45%; background-repeat: no-repeat; @@ -569,14 +569,14 @@ box-sizing: border-box; .byb-title { - font-family: "STKaiti"; + font-family: 'STKaiti'; text-align: center; color: #cd141c; } p { font-size: 16px; - font-family: "FZLTXIHJW"; + font-family: 'FZLTXIHJW'; } } @@ -592,7 +592,7 @@ outline: none; } } - + .publicxbc { min-width: 100px; display: flex; @@ -606,11 +606,11 @@ padding: 2px 8px 3px 2px; box-sizing: border-box; color: #5877ba; - font-family: "FZLTXIHJW"; + font-family: 'FZLTXIHJW'; font-size: 16px; font-weight: 700; border-radius: 15px; - + .icon { width: 25px; height: 25px; @@ -739,7 +739,7 @@ span { font-size: 14px; text-align: center; - font-family: "FZLTXIHJW"; + font-family: 'FZLTXIHJW'; display: flex; align-items: center; justify-content: flex-start; @@ -784,7 +784,7 @@ } .xyx-title { - font-family: "FZLTXIHJW"; + font-family: 'FZLTXIHJW'; text-align: center; color: #cd141c; padding: 5px 0; @@ -794,7 +794,7 @@ .xyx-text { p { font-size: 16px; - font-family: "FZLTXIHJW"; + font-family: 'FZLTXIHJW'; padding: 0 10px; margin: 0; } @@ -841,7 +841,7 @@ } .xyx-fu-title { - font-family: "STKaiti"; + font-family: 'STKaiti'; text-align: center; color: #cd141c; } @@ -859,7 +859,7 @@ .xyx-ul { font-size: 16px; - font-family: "FZLTXIHJW"; + font-family: 'FZLTXIHJW'; color: #555; li { @@ -885,7 +885,7 @@ background-color: transparent; border-bottom: 1px solid #000; font-size: 18px; - font-family: "瀹嬩綋"; + font-family: '瀹嬩綋'; } .assess:focus { @@ -895,19 +895,19 @@ } .ls1 { - font-family: "HiFont Hei GB"; + font-family: 'HiFont Hei GB'; color: #30aad1; font-weight: bold; } .hs { - font-family: "HiFont Hei GB"; + font-family: 'HiFont Hei GB'; color: #ea6b00; font-weight: bold; } .zs1 { - font-family: "HiFont Hei GB"; + font-family: 'HiFont Hei GB'; color: #857eb4; font-weight: bold; } @@ -918,7 +918,7 @@ } div.bodycontent-div-center { - font-family: "DK-HEITI", "鏂规鍏颁涵榛戠畝浣�", "榛戜綋"; + font-family: 'DK-HEITI', '鏂规鍏颁涵榛戠畝浣�', '榛戜綋'; margin: 1em 1em 1em 1em; font-weight: normal; border-width: 1.5px; @@ -934,7 +934,7 @@ } div.bodycontent-div-left1 { - font-family: "DK-HEITI", "鏂规鍏颁涵榛戠畝浣�", "榛戜綋"; + font-family: 'DK-HEITI', '鏂规鍏颁涵榛戠畝浣�', '榛戜綋'; margin: 1em 1em 1em 1em; font-weight: normal; border-width: 1.5px; @@ -944,7 +944,7 @@ } div.bodycontent-div-left { - font-family: "DK-HEITI", "鏂规鍏颁涵榛戠畝浣�", "榛戜綋"; + font-family: 'DK-HEITI', '鏂规鍏颁涵榛戠畝浣�', '榛戜綋'; margin: 1em 1em 1em 1em; font-weight: normal; border-width: 1.5px; @@ -967,7 +967,7 @@ } div.bodystyle { - font-family: "瀹嬩綋"; + font-family: '瀹嬩綋'; font-size: 18px; text-align: justify; padding: 6% 10% 10% 10%; @@ -1035,11 +1035,11 @@ .note { font-size: 0.8em !important; - font-family: "FZLTXIHJW"; + font-family: 'FZLTXIHJW'; } .img-right { - font-family: "FZLTXIHJW"; + font-family: 'FZLTXIHJW'; text-align: right; font-size: 0.85em; color: #5d78bb; @@ -1049,27 +1049,26 @@ } .img { - font-family: "FZLTXIHJW"; + font-family: 'FZLTXIHJW'; text-align: center; font-size: 0.8em; - color: #F79447; + color: #f79447; margin-left: 0%; margin-right: 0%; text-indent: 0em; } - - .img-2{ - font-family: "FZLTXIHJW"; + .img-2 { + font-family: 'FZLTXIHJW'; text-align: center; font-size: 0.8em; - color: #457EBA; + color: #457eba; margin-left: 0%; margin-right: 0%; text-indent: 0em; } .img1 { - font-family: "FZLTXIHJW"; + font-family: 'FZLTXIHJW'; text-align: right; font-size: 0.85em; margin-left: 0%; @@ -1098,7 +1097,7 @@ } .center1 { - font-family: "STKaiti"; + font-family: 'STKaiti'; text-align: center; margin-left: 0%; margin-right: 0%; @@ -1118,7 +1117,7 @@ } .right1 { - font-family: "STKaiti"; + font-family: 'STKaiti'; text-align: right; margin-left: 0%; margin-right: 0%; @@ -1130,11 +1129,11 @@ margin-left: 1em; margin-right: 1em; text-align: justify; - font-family: "cnepub", serif; + font-family: 'cnepub', serif; } h1 { - font-family: "FZLTZHJW"; + font-family: 'FZLTZHJW'; text-align: center; font-size: 2em; margin-bottom: 0.5cm; @@ -1142,7 +1141,7 @@ } h1.front { - font-family: "FZLTZHJW"; + font-family: 'FZLTZHJW'; color: #ac92c4; text-align: center; font-size: 1.8em; @@ -1151,7 +1150,7 @@ } h1.lefth1 { - font-family: "FZLTZHJW"; + font-family: 'FZLTZHJW'; text-align: right; font-size: 2em; margin-bottom: 0.5cm; @@ -1159,7 +1158,7 @@ } h2 { - font-family: "FZLTZHJW"; + font-family: 'FZLTZHJW'; font-weight: bold; font-size: 1.2em; margin-top: 0.2em; @@ -1168,7 +1167,7 @@ } h3 { - font-family: "FZLTZHJW"; + font-family: 'FZLTZHJW'; color: #5877ba; font-weight: bold; font-size: 1.15em; @@ -1179,7 +1178,7 @@ } h3.lefth3 { - font-family: "FZLTZHJW"; + font-family: 'FZLTZHJW'; color: #5877ba; font-weight: bold; font-size: 1.15em; @@ -1191,7 +1190,7 @@ } h4 { - font-family: "FZLTZHJW"; + font-family: 'FZLTZHJW'; font-weight: bold; color: #5877ba; font-size: 1.1em; @@ -1201,7 +1200,7 @@ } h4.h4-zt { - font-family: "FZLTZHJW"; + font-family: 'FZLTZHJW'; font-weight: bold; color: #7bb4e3; font-size: 1.1em; @@ -1211,7 +1210,7 @@ } h5 { - font-family: "FZLTZHJW"; + font-family: 'FZLTZHJW'; font-weight: bold; color: #c96653; font-size: 1em; @@ -1221,8 +1220,8 @@ } h6 { - font-family: "cnepub", serif; - font-family: "FZHTJW"; + font-family: 'cnepub', serif; + font-family: 'FZHTJW'; color: #36c3f4; font-size: 1.1em; margin-top: 10px; @@ -1361,13 +1360,13 @@ } .block1 { - font-family: "浠垮畫"; + font-family: '浠垮畫'; text-align: right; font-weight: 600; } .block2 { - font-family: "瀹嬩綋"; + font-family: '瀹嬩綋'; text-align: center; text-indent: 0em; font-size: 16px; @@ -1377,13 +1376,13 @@ } .block3 { - font-family: "STKaiti"; + font-family: 'STKaiti'; text-align: left; text-indent: 0em; } .kaiti { - font-family: "STKaiti"; + font-family: 'STKaiti'; } .em_dot { @@ -1406,7 +1405,7 @@ margin-bottom: 1em; padding: 1em 0.5em 1em 1em; color: #666666; - font-family: "锟斤拷锟斤拷", "锟斤拷锟斤拷"; + font-family: '锟斤拷锟斤拷', '锟斤拷锟斤拷'; } span.linethrough { @@ -1421,7 +1420,7 @@ /* 鏂板鏍峰紡 */ .custom_title1 { - font-family: "FZLTZHJW"; + font-family: 'FZLTZHJW'; background-color: rgb(125, 164, 64); width: 70vw; position: relative; @@ -1443,7 +1442,7 @@ } .custom_chapter { - font-family: "FZHTJW"; + font-family: 'FZHTJW'; color: rgb(108, 152, 65); padding: 15px 10px; background-color: rgb(202, 217, 180); @@ -1458,8 +1457,8 @@ } .custom_chapter::before { - font-family: "FZHTJW"; - content: ""; + font-family: 'FZHTJW'; + content: ''; width: 12px; height: 60%; background-color: rgb(125, 164, 64); @@ -1470,8 +1469,8 @@ } .custom_chapter::after { - font-family: "FZHTJW"; - content: ""; + font-family: 'FZHTJW'; + content: ''; width: 12px; height: 60%; background-color: rgb(125, 164, 64); @@ -1490,7 +1489,7 @@ font-size: 21px; margin-bottom: 0.2cm; margin-top: 0.2cm; - font-family: "FZHTJW"; + font-family: 'FZHTJW'; } .img-gn { @@ -1573,7 +1572,7 @@ } .lvz { - font-family: "HiFont Hei GB"; + font-family: 'HiFont Hei GB'; color: #6eb92c; font-weight: bold; } @@ -1609,7 +1608,7 @@ } p.block-hs { - font-family: "STKaiti"; + font-family: 'STKaiti'; // font-size: "1.2em"; font-size: 16px; color: #cd141c; @@ -1731,7 +1730,7 @@ border: 1px solid #89a0d0; border-radius: 5px; font-size: 14px; - font-family: "FZLTXIHJW"; + font-family: 'FZLTXIHJW'; text-indent: 2em; line-height: 22px; padding: 2px 5px; @@ -1852,7 +1851,7 @@ } h4.h4-dy3 { - font-family: "FZLTZHJW"; + font-family: 'FZLTZHJW'; font-weight: bold; color: #b898c7; font-size: 1.1em; @@ -1870,7 +1869,7 @@ } .bj1-mk { - background-image: url("../image/mk.png"); + background-image: url('../image/mk.png'); background-position: center; background-repeat: no-repeat; background-size: 100% 100%; @@ -1890,6 +1889,66 @@ .zt-cs { color: #e99a4f; font-weight: bold; + } + } + + .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; + } } } @@ -1938,7 +1997,7 @@ span { font-size: 14px; text-align: center; - font-family: "FZLTXIHJW"; + font-family: 'FZLTXIHJW'; line-height: 20px; } @@ -2104,25 +2163,79 @@ } } - -.tablePublic input[type="checkbox"]:checked + .checkmark { +.tablePublic input[type='checkbox']:checked + .checkmark { background: #000 !important; /* 閫変腑鏃剁殑鑳屾櫙鑹� */ } -@font-face { - font-family: "FZLTZHJW"; - src: url("../Fonts/FZLTZHJW.ttf"); +.pdfModal { + width: 100%; + height: 90vh; + + .pdfBox-component { + width: 100%; + height: 100%; + position: relative; + + .preview { + width: 100%; + height: 100%; + + .imageBox { + height: calc(100% - 30px); + overflow-x: hidden; + overflow-y: auto; + background: #ccc; + box-sizing: border-box; + } + + .imageBox:hover { + cursor: zoom-in !important; + } + + .bottom_tool { + height: 30px; + background-color: rgba(0, 0, 0, 0.8); + display: flex; + justify-content: flex-end; + align-items: center; + + svg { + margin-right: 15px; + fill: #d1d1d1; + } + + svg:hover { + fill: #fff; + cursor: pointer; + } + } + } + + .notBox { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: calc(100% - 30px); + min-height: 300px; + } + } } @font-face { - font-family: "FZLTXIHJW"; - src: url("../Fonts/FZLTXIHJW.ttf"); + font-family: 'FZLTZHJW'; + src: url('../Fonts/FZLTZHJW.ttf'); } @font-face { - font-family: "FZHTJW"; - src: url("../Fonts/FZHTJW.ttf"); + font-family: 'FZLTXIHJW'; + src: url('../Fonts/FZLTXIHJW.ttf'); +} + +@font-face { + font-family: 'FZHTJW'; + src: url('../Fonts/FZHTJW.ttf'); } br { @@ -2139,31 +2252,28 @@ background-color: #e6e6e6; } - -.promptLeftBox{ - width: 200px; - float: left; +.promptLeftBox { + width: 200px; + float: left; } - -.promptRightBox{ +.promptRightBox { width: 200px; float: right; } - -.learnOneMore{ +.learnOneMore { width: 100px; display: flex; justify-content: center; align-items: center; - background-color:#b898c7; + background-color: #b898c7; border: 0.15em dotted #b898c7; padding: 2px 8px 3px 2px; box-sizing: border-box; - color:#ffffff; - font-family: "FZLTXIHJW"; + color: #ffffff; + font-family: 'FZLTXIHJW'; font-size: 16px; font-weight: 700; border-radius: 15px; @@ -2195,27 +2305,24 @@ } } - -.smallTitle{ +.smallTitle { text-indent: 1em; } - -.subsectionContent{ +.subsectionContent { text-indent: 2em; } -.imgp{ - color: #ac92c4; font-size: 14px; +.imgp { + color: #ac92c4; + font-size: 14px; display: flex; justify-content: center; align-items: center; - } -.learningObjectives{ +.learningObjectives { color: #8da2d7; } - .header_title { display: flex; @@ -2224,11 +2331,9 @@ // color: #fff; font-weight: 900; font-size: 16px; - font-family: "FZLTXIHJW"; + font-family: 'FZLTXIHJW'; span:nth-child(2):hover { cursor: pointer; } } - - -- Gitblit v1.9.1