From 23ebc0d9ee7d4b06916478f84b411d0406f11a3a Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期三, 05 六月 2024 18:49:07 +0800 Subject: [PATCH] Merge branch 'master' of http://182.92.203.7:2001/r/testbookLayout --- src/books/sportsAndHealth/css/default.less | 210 +++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 204 insertions(+), 6 deletions(-) diff --git a/src/books/sportsAndHealth/css/default.less b/src/books/sportsAndHealth/css/default.less index 26eec0c..ecfdf66 100644 --- a/src/books/sportsAndHealth/css/default.less +++ b/src/books/sportsAndHealth/css/default.less @@ -44,6 +44,12 @@ font-size: 18px; .chapter { + + .swiper-button-prev, + .swiper-button-next { + color: #5877ba; + } + .page-box { box-sizing: border-box; min-height: 1150px !important; @@ -85,6 +91,116 @@ } } } + } + + .pdf-tips-con { + position: relative; + display: flex; + justify-content: flex-start; + align-items: center; + + .pdf-wall { + max-width: 180px; + position: absolute; + right: 0; + top: 25px; + border: 2px dotted #5d78bb; + display: flex; + flex-direction: column; + justify-content: flex-start; + align-items: flex-start; + border: 2px dotted #5d78bb; + padding: 10px; + box-sizing: border-box; + border-radius: 10px; + + .pdf-item { + display: flex; + flex-direction: column; + justify-content: flex-start; + align-items: center; + + img { + width: 80px; + } + + span { + min-width: 150px; + font-size: 14px; + text-align: center; + font-family: 'FZLTXIHJW'; + line-height: 20px; + } + + span:hover { + color: #5877ba; + cursor: pointer; + text-decoration: underline; + -webkit-user-select: none; + /* Safari 3.1+ */ + -moz-user-select: none; + /* Firefox 2+ */ + -ms-user-select: none; + /* IE 10+ */ + user-select: none; + /* 鏍囧噯璇硶 */ + } + } + } + } + + .leftTable { + table { + tr td { + text-align: left !important; + } + } + } + + .parentVideo { + width: 100%; + display: flex; + justify-content: flex-start; + flex-wrap: wrap; + + .videoItem { + width: 200px; + margin: 3px 4px; + border: 1px dotted #30aad1; + + video { + width: 100%; + } + + video::-webkit-media-text-track-display { + /* 杩欓噷鍙互娣诲姞鑷畾涔夌殑鏍峰紡浠g爜 */ + color: red; + /* 鏂囧瓧棰滆壊 */ + background-color: yellow; + /* 鑳屾櫙棰滆壊 */ + } + + span { + display: flex; + justify-content: center; + font-size: 14px; + text-align: center; + font-family: 'FZLTXIHJW'; + } + } + } + + .gif-Con { + display: flex; + justify-content: center; + align-items: center; + border: 0 !important; + padding: 1px !important; + } + + .imgBox-003 { + width: 100%; + height: 220px; } .tablePublic { @@ -152,8 +268,9 @@ background-color: #d6dbee; color: #f49a4c; text-align: center; - padding: 5px 20px; + padding: 5px 10px; font-size: 16px; + font-family: 'FZLTXIHJW'; } tr td { @@ -162,6 +279,7 @@ padding: 3px 10px; font-size: 14px; line-height: 25px; + font-family: 'FZLTXIHJW'; input { cursor: pointer; @@ -312,8 +430,10 @@ display: flex; justify-content: space-between; align-items: center; + margin-bottom: 20px; p { + margin: 0; margin-right: 10px; } @@ -323,13 +443,14 @@ justify-content: flex-start; align-items: flex-start; border: 2px dotted #5d78bb; - padding: 10px 0; + padding: 10px; box-sizing: border-box; border-radius: 10px; margin-left: 10px; - margin-top: -50px; + margin-top: -140px; .pdf-view { + min-width: 160px; display: flex; flex-direction: column; justify-content: center; @@ -340,9 +461,9 @@ } span { - min-width: 150px; font-size: 14px; text-align: center; + font-family: 'FZLTXIHJW'; } span:hover { @@ -359,6 +480,10 @@ /* 鏍囧噯璇硶 */ } } + } + + .pdf-con-15 { + margin-top: -20px; } } @@ -1424,9 +1549,13 @@ } .bj1-mk { - background-color: #99b4df; + background-image: url('../image/mk.png'); + background-position: center; + background-repeat: no-repeat; + background-size: 100% 100%; color: #ffffff; - padding: 0.3em 0.7em 0.3em 0.7em; + padding: 5px 28px 15px 25px; + // padding: 0.3em 0.7em 0.3em 0.7em; font-weight: bold; font-size: 1em; } @@ -1441,6 +1570,75 @@ font-weight: bold; } } + + @media screen and (max-width: 800px) { + .chapter{ + .pdf-tips-con { + width: 100%; + min-width: 200px; + display: flex; + flex-direction: column; + justify-content: flex-start; + align-items: flex-start; + padding: 20px 0; + + .pdf-wall { + max-width: 180px; + position: relative; + left: 30px; + top: 25px; + border: 2px dotted #5d78bb; + display: flex; + flex-direction: column; + justify-content: flex-start; + align-items: flex-start; + border: 2px dotted #5d78bb; + padding: 10px; + box-sizing: border-box; + border-radius: 10px; + + .pdf-item { + display: flex; + flex-direction: column; + justify-content: flex-start; + align-items: center; + + img { + width: 80px; + } + + span { + min-width: 150px; + font-size: 14px; + text-align: center; + font-family: 'FZLTXIHJW'; + line-height: 20px; + } + + span:hover { + color: #5877ba; + cursor: pointer; + text-decoration: underline; + -webkit-user-select: none; + /* Safari 3.1+ */ + -moz-user-select: none; + /* Firefox 2+ */ + -ms-user-select: none; + /* IE 10+ */ + user-select: none; + /* 鏍囧噯璇硶 */ + } + } + } + } + .parentVideo { + width: 100%; + display: flex; + justify-content: center; + flex-wrap: wrap; + } + } + } } body { -- Gitblit v1.9.1