From 0b17cbbba7c0875a6413361a95b9bef508b27444 Mon Sep 17 00:00:00 2001 From: unknown <qq1940665526@163.com> Date: 星期一, 03 六月 2024 11:23:02 +0800 Subject: [PATCH] 优化 --- src/books/lifeCare/css/default.less | 180 +++++++++++++++++++++++++++++++++++++++++++++++++---------- 1 files changed, 149 insertions(+), 31 deletions(-) diff --git a/src/books/lifeCare/css/default.less b/src/books/lifeCare/css/default.less index 1c96f4b..feb00f4 100644 --- a/src/books/lifeCare/css/default.less +++ b/src/books/lifeCare/css/default.less @@ -4,12 +4,17 @@ overflow: auto; } -.public-books { +.public-lifeCare { max-width: 816px; min-width: 375px; margin: 0 auto; border-color: #f49a4c; height: 100%; + + .swiper-button-prev, + .swiper-button-next { + color: #F49A4C; + } textarea:focus, input:focus { @@ -21,8 +26,15 @@ textarea { width: 100%; text-indent: 2em; - max-width: 653px; - min-height: 100px; + // max-width: 652px; + // min-height: 100px; + font-size: 16px; + } + + .coverImg { + position: absolute; + top: 0; + left: 0; } .prefaceImg { @@ -30,6 +42,46 @@ position: absolute; left: 4%; top: 4%; + } + + + .border-xxfs { + border-radius: 0 !important; + position: relative; + padding: 10px; + padding-top: 20px !important; + border: 2px dotted #00aeef !important; + + + .bj3 { + display: flex; + justify-content: flex-start; + align-items: center; + width: 105px; + height: 30px; + position: absolute; + padding: 0 !important; + padding-left: 5px !important; + box-sizing: border-box; + top: 0; + background-color: #00aeef !important; + color: #fff !important; + border-bottom-right-radius: 25px; + + .cirlce { + width: 40px; + height: 40px; + border: 2px solid #00aeef; + border-radius: 50%; + position: absolute; + left: -38px; + background: url('../image/xxfs.png'); + background-position: center; + background-size: 70% 70%; + background-repeat: no-repeat; + background-color: #fff; + } + } } input { @@ -53,12 +105,11 @@ line-height: 21px; background-color: #f49a4c; font-size: 20px; - } .drawflow-node { background-color: #fff; - border:0px solid #f49a4c; + border: 0px solid #f49a4c; box-shadow: 1px 1px 5px 0 #f49a4c; .contentWall { @@ -99,12 +150,14 @@ .btn-export { float: right; position: absolute; - top: 10px; + top: 4px; right: 10px; - color: white; + color: #333; font-weight: bold; - border: 1px solid #0e5ba3; - background: #4ea9ff; + // 0e5ba3 + border: 1px solid #ccc; + // 4ea9ff + background: #fff; padding: 5px 10px; border-radius: 4px; cursor: pointer; @@ -114,23 +167,46 @@ .btn-clear { float: right; position: absolute; - top: 10px; + top: 4px; right: 85px; color: white; font-weight: bold; - border: 1px solid #96015b; - background: #e3195a; + // 96015b + border: 1px solid #f49a4c; + // e3195a + background: #f49a4c; padding: 5px 10px; border-radius: 4px; cursor: pointer; z-index: 5; + } + + .btn-export:hover { + color: #f49a4c; + border: 1px solid #f49a4c; + } + + .btn-clear:hover { + background-color: #fff; + color: #f49a4c; + border: 1px solid #f49a4c; } } } .drawContent_wall { width: 100%; - height: 890px; + height: 765px; + + .drawflow { + display: flex; + flex-direction: column; + + .content { + border-top-width: 1px; + border-top-style: solid; + } + } } .chapter { @@ -224,7 +300,6 @@ } } - .pageHeader-second { width: 100%; display: flex; @@ -316,6 +391,8 @@ background-color: #a5c24f; } } + + } .textareaInput { @@ -325,7 +402,12 @@ border: 1px solid #999; font-size: 15px; color: #000; - background-color: #eee; + background-color: #f9f9f9; + } + + .imgBox-003 { + width: 100%; + height: 220px; } .chapter01Table { @@ -356,6 +438,10 @@ padding: 8px; overflow: hidden; white-space: pre-line; + + input { + font-size: 14px; + } textarea { width: 100%; @@ -438,9 +524,43 @@ } } + .btnUpload-list { + display: flex; + justify-content: center; + align-items: center; + width: 35px; + height: 30px; + border-radius: 5px; + background-color: #f49a4c; + border: 1px solid #f49a4c; + cursor: pointer; + + svg { + fill: #fff; + } + } + + .btnUpload-list:hover { + background-color: #fff; + + svg { + fill: #F49A4C; + } + } + + .pic-wall { + display: flex; + justify-content: flex-start; + align-items: center; + } + .bk-inputUpload { width: 100%; - height: 200px; + display: flex; + flex-direction: column; + justify-content: flex-start; + align-items: flex-start; + min-height: 100px; input { width: 250px; @@ -449,25 +569,21 @@ } .btnUpload { - width: 60px; - height: 60px; - border: 2px dashed #f49a4c; + width: 30px; + height: 30px; display: flex; justify-content: center; align-items: center; font-size: 50px; cursor: pointer; + margin-left: 10px; } - - .btnUpload-list { - width: 40px; - height: 40px; - border: 2px dashed #f49a4c; - display: flex; - justify-content: center; - align-items: center; - font-size: 40px; - cursor: pointer; + + .upload_text { + color: #000; + font-size: 14px; + font-weight: 700; + font-family: "榛戜綋"; } } @@ -997,7 +1113,7 @@ } .imz { - width: 96%; + width: 100%; text-align: center; } @@ -1379,7 +1495,9 @@ width: 100%; border: 0 !important; font-size: 16px; - border-radius: 20px; + border-radius: 5px; + max-width: 620px; + min-width: 620px; } } -- Gitblit v1.9.1