From 36b6f8d069bf3adf3b1cdc7434003769731b6cf1 Mon Sep 17 00:00:00 2001 From: unknown <qq1940665526@163.com> Date: 星期一, 27 五月 2024 17:26:11 +0800 Subject: [PATCH] 增加icon --- src/books/lifeCare/css/default.less | 142 ++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 138 insertions(+), 4 deletions(-) diff --git a/src/books/lifeCare/css/default.less b/src/books/lifeCare/css/default.less index 68f329b..0e1d440 100644 --- a/src/books/lifeCare/css/default.less +++ b/src/books/lifeCare/css/default.less @@ -18,7 +18,10 @@ } textarea { + width: 100%; text-indent: 2em; + max-width: 653px; + min-height: 100px; } .prefaceImg { @@ -261,6 +264,13 @@ padding: 8px; overflow: hidden; white-space: pre-line; + + textarea { + width: 100%; + min-height: 20px; + min-width: 80px; + border: 0; + } } } @@ -294,24 +304,147 @@ } } + .bk-swdt { + display: flex; + justify-content: flex-start; + align-items: center; + + img { + width: 30px; + cursor: pointer; + } + } + + .bk-iframe { + width: 1200px; + height: 630px; + position: fixed; + left: -25%; + border: 1px solid #f49a4c; + z-index: 111; + background-color: #fff; + + .header-swdt { + height: 30px; + color: #000; + display: flex; + justify-content: space-between; + align-items: center; + background-color: #f49a4c; + + p { + margin: 0; + padding: 0; + padding-left: 10px; + text-indent: 0; + } + + i { + margin-right: 10px; + cursor: pointer; + } + } + } + + .bk-inputUpload { + width: 100%; + height: 200px; + + input { + width: 250px; + margin-left: 15px; + display: none; + } + + .btnUpload { + width: 60px; + height: 60px; + border: 2px dashed #f49a4c; + display: flex; + justify-content: center; + align-items: center; + font-size: 50px; + cursor: pointer; + } + + .btnUpload-list { + width: 40px; + height: 40px; + border: 2px dashed #f49a4c; + display: flex; + justify-content: center; + align-items: center; + font-size: 40px; + cursor: pointer; + } + } + + .upload-list { + width: 100%; + display: flex; + justify-content: flex-start; + align-items: center; + flex-wrap: wrap; + } + + .demo-image__preview-swdt { + width: 100%; + height: 100%; + } + + .demo-image__preview { + width: 200px; + height: 100px; + border: 1px solid #f49a4c; + display: flex; + justify-content: center; + align-items: center; + margin-right: 6px; + margin-bottom: 6px; + overflow: hidden; + } + .bj-tip { + min-width: 269px; display: flex; justify-content: space-around; align-items: center; - padding: 3px 14px; + padding: 4px 14px; box-sizing: border-box; border: 3px solid #f49a4c; border-radius: 30px; position: absolute; - top: -30px; + top: -25px; left: 15px; background-color: #fff; color: #f49a4c; font-weight: bold; font-size: 18px; - img { - margin-left: 15px; + div { + width: 35px; + height: 30px; + border-radius: 5px; + background-color: #f49a4c; + border: 1px solid #f49a4c; + display: flex; + justify-content: center; + align-items: center; + margin-left: 5px; + cursor: pointer; + + svg { + fill: #fff; + } + } + + div:hover { + background-color: #fff; + border: 1px solid #f49a4c; + + svg { + fill: #f49a4c; + } } } @@ -681,6 +814,7 @@ text-indent: 0em; margin-left: 0%; margin-right: 0%; + /* width: 23%; */ } .right { -- Gitblit v1.9.1