From 0666fdb0323770ace8dce31225c7d6d45979f352 Mon Sep 17 00:00:00 2001 From: unknown <qq1940665526@163.com> Date: 星期五, 07 六月 2024 15:05:28 +0800 Subject: [PATCH] Merge branch 'master' of http://182.92.203.7:2001/r/testbookLayout --- src/books/lifeCare/css/default.less | 221 +++++++++++++++++++++++++++++++++++++++++++++++-------- 1 files changed, 189 insertions(+), 32 deletions(-) diff --git a/src/books/lifeCare/css/default.less b/src/books/lifeCare/css/default.less index 060fc08..e9bbb61 100644 --- a/src/books/lifeCare/css/default.less +++ b/src/books/lifeCare/css/default.less @@ -4,7 +4,7 @@ overflow: auto; } -.public-lifeCare { +.public-bookInnerContent { max-width: 816px; min-width: 375px; margin: 0 auto; @@ -13,7 +13,7 @@ .swiper-button-prev, .swiper-button-next { - color: #F49A4C; + color: #f49a4c; } textarea:focus, @@ -26,9 +26,23 @@ textarea { width: 100%; text-indent: 2em; - max-width: 630px; - min-height: 100px; + // max-width: 652px; + // min-height: 100px; font-size: 16px; + } + + /* 閽堝Firefox */ + textarea::-webkit-scrollbar { + width: 0; + height: 0; + } + + /* 閽堝IE, Edge鍜孋hrome */ + textarea { + -ms-overflow-style: none; + /* IE 鍜� Edge */ + scrollbar-width: none; + /* Firefox */ } .coverImg { @@ -44,6 +58,21 @@ top: 4%; } + .zt-yy-brd { + padding: 5px 15px; + border: 3px dotted #f49a4c; + border-radius: 10px; + } + + .chapter-006 { + position: relative; + + .btn { + position: absolute; + top: 65%; + left: 35%; + } + } .border-xxfs { border-radius: 0 !important; @@ -51,7 +80,6 @@ padding: 10px; padding-top: 20px !important; border: 2px dotted #00aeef !important; - .bj3 { display: flex; @@ -75,7 +103,7 @@ border-radius: 50%; position: absolute; left: -38px; - background: url('../image/xxfs.png'); + background: url("../image/xxfs.png"); background-position: center; background-size: 70% 70%; background-repeat: no-repeat; @@ -150,7 +178,7 @@ .btn-export { float: right; position: absolute; - top: 5px; + top: 4px; right: 10px; color: #333; font-weight: bold; @@ -162,13 +190,12 @@ border-radius: 4px; cursor: pointer; z-index: 5; - font-size: 16px; } .btn-clear { float: right; position: absolute; - top: 5px; + top: 4px; right: 85px; color: white; font-weight: bold; @@ -180,7 +207,6 @@ border-radius: 4px; cursor: pointer; z-index: 5; - font-size: 16px; } .btn-export:hover { @@ -241,7 +267,7 @@ } .content { - background-color: #F49A4C; + background-color: #f49a4c; width: 91%; height: 32%; display: flex; @@ -286,17 +312,16 @@ border-bottom-color: #a5c24f; } - @media (max-width: 756px) { .content { margin-top: -12%; .title { - font-size: 18px; + font-size: 16px; } .pageStr { - font-size: 18px; + font-size: 16px; } } } @@ -366,16 +391,15 @@ @media (max-width: 756px) { .second-con { - font-size: 18px; + font-size: 16px; .pageNum { - font-size: 18px !important; + font-size: 16px !important; } } } @media (max-width: 1024px) { - .second-con { right: 20px; top: 75px; @@ -393,8 +417,6 @@ background-color: #a5c24f; } } - - } .textareaInput { @@ -436,13 +458,22 @@ tr td { border: 1px solid #999; - text-align: center; + text-align: left; padding: 8px; overflow: hidden; white-space: pre-line; + font-family: "FZLTXIHJW"; + font-weight: normal; + font-size: 14px; + line-height: 23px; - input { - font-size: 14px; + div { + width: 100%; + min-height: 23px; + } + + div:focus { + outline: none; } textarea { @@ -450,6 +481,10 @@ min-height: 20px; min-width: 80px; border: 0; + font-size: 14px; + text-indent: 0em; + min-width: 200px; + max-width: 330px; } } } @@ -546,7 +581,7 @@ background-color: #fff; svg { - fill: #F49A4C; + fill: #f49a4c; } } @@ -558,7 +593,10 @@ .bk-inputUpload { width: 100%; - display: block; + display: flex; + flex-direction: column; + justify-content: flex-start; + align-items: flex-start; min-height: 100px; input { @@ -575,6 +613,14 @@ align-items: center; font-size: 50px; cursor: pointer; + margin-left: 10px; + } + + .upload_text { + color: #000; + font-size: 14px; + font-weight: 700; + font-family: "榛戜綋"; } } @@ -658,17 +704,17 @@ padding: 12px 10px; box-sizing: border-box; padding-top: 30px; - font-family: '浠垮畫'; + font-family: "浠垮畫"; font-weight: 700; - p { margin-top: 0px; } .p-text { - p { + padding: 5px 10px; + p { line-height: 22px; font-weight: 700; color: #666; @@ -888,7 +934,7 @@ text-align: justify; padding: 10% 10%; box-sizing: border-box; - font-family: '瀹嬩綋'; + font-family: "瀹嬩綋"; } div.bj { @@ -977,7 +1023,7 @@ .tip-specail { border: 1px solid #f49a4c !important; - padding: 15px 15px; + padding: 10px 15px; } p { @@ -1487,6 +1533,8 @@ border: 0 !important; font-size: 16px; border-radius: 5px; + max-width: 620px; + min-width: 500px; } } @@ -1512,7 +1560,7 @@ } div.bk-qjms { - font-family: 'FZLTXIHJW'; + font-family: "FZLTXIHJW"; border: 3px dotted #f49a4c; padding: 15px; margin-bottom: 2em; @@ -1520,10 +1568,10 @@ position: relative; .block { - font-size: 18px; + font-size: 16px; line-height: 25px; font-family: "浠垮畫"; - font-weight: 600; + font-weight: 700; color: #666; } } @@ -1543,6 +1591,115 @@ top: -2em; } } + + @media screen and (max-width: 800px) { + .public-bookInnerContent .coverImg { + position: absolute; + top: 25%; + left: 0; + } + + .chapter { + .prefaceImg { + width: 100% !important; + position: absolute; + left: 0%; + top: 4%; + } + + .pdf-content { + padding: 20% 5%; + box-sizing: border-box; + } + + div.bk-tx { + textarea { + min-width: 275px; + } + } + + p { + margin-top: 0; + line-height: 25px; + font-size: 16px; + font-family: "FZLTXIHJW"; + } + + .header .pageHeader-second .second-con .second-right img { + height: 30px; + position: absolute; + left: -35px; + top: 0; + } + + div.bj1 { + padding: 0.01em 1em 0.01em 1em; + margin-top: -2em; + margin-left: -4em; + margin-right: -1em; + } + + .img-gn { + height: 40px; + margin-bottom: -0.4em; + } + + h3 { + font-family: "FZLTZHJW"; + font-weight: bold; + font-size: 16px; + margin-top: 2em; + /* margin-bottom: 2em; */ + text-indent: 0em; + } + + h4 { + text-align: left; + font-family: "FZLTZHJW"; + font-weight: bold; + color: #f49a4c; + font-size: 16px; + margin-top: 0.2em; + margin-bottom: 2em; + text-indent: 0em; + + .fontsz1 { + width: auto; + } + } + + .bj-tip { + top: -25px; + left: 10px; + font-size: 16px; + font-weight: normal; + font-family: "FZLTZHJW"; + + div { + width: 30px; + height: 27px; + } + } + + p.bj1-qjms { + top: -1em; + } + + .table111, + .table112 { + width: 100%; + border-collapse: collapse; + + tr th { + width: auto !important; + } + } + + .drawContent_wall { + margin-bottom: 2em; + } + } + } } body { -- Gitblit v1.9.1