diff --git a/assets/css/details.css b/assets/css/details.css index 2f177f6..89cb533 100644 --- a/assets/css/details.css +++ b/assets/css/details.css @@ -477,6 +477,54 @@ padding-top: 40px; padding-left: 45px; } +.content .right .comment-box .edit-comment { + position: fixed; + top: 0; + left: 0; + width: 100vw; + height: 100vh; + background-color: rgba(0, 0, 0, 0.5); + z-index: 12; +} +.content .right .comment-box .edit-comment .box { + width: 650px; + border-radius: 10px; + background: #fff; + padding: 20px 15px; +} +.content .right .comment-box .edit-comment .box .text { + font-size: 18px; + font-weight: 650; + margin-bottom: 15px; + color: #000; +} +.content .right .comment-box .edit-comment .box .input-box { + margin-right: 0; +} +.content .right .comment-box .edit-comment .box .input-box .bottom { + border-top: 1px solid #ebebeb; +} +.content .right .comment-box .edit-comment .box .btn-list { + padding: 15px 0; + justify-content: flex-end; +} +.content .right .comment-box .edit-comment .box .btn-list .btn { + font-size: 14px; + color: #333; + width: 80px; + height: 28px; + line-height: 28px; + text-align: center; + border-radius: 43px; + cursor: pointer; + background-color: #fff; + border: 1px solid #ebebeb; + margin-left: 20px; +} +.content .right .comment-box .edit-comment .box .btn-list .btn.send { + background-color: #fddf6d; + border: 1px solid #fddf6d; +} .content .right .comment-box .comment-title { font-size: 16px; line-height: 20px; diff --git a/assets/css/details.less b/assets/css/details.less index ad909fd..8d860d6 100644 --- a/assets/css/details.less +++ b/assets/css/details.less @@ -565,6 +565,62 @@ .comment-box { padding-top: 40px; padding-left: 45px; + + .edit-comment { + position: fixed; + top: 0; + left: 0; + width: 100vw; + height: 100vh; + background-color: rgba(0, 0, 0, 0.5); + z-index: 12; + .box { + width: 650px; + // height: 500px; + border-radius: 10px; + background: #fff; + padding: 20px 15px; + + .text { + font-size: 18px; + font-weight: 650; + margin-bottom: 15px; + color: #000; + } + + .input-box { + margin-right: 0; + .bottom { + border-top: 1px solid #ebebeb; + } + } + + .btn-list { + padding: 15px 0; + justify-content: flex-end; + + .btn { + font-size: 14px; + color: #333; + width: 80px; + height: 28px; + line-height: 28px; + text-align: center; + border-radius: 43px; + cursor: pointer; + background-color: #fff; + border: 1px solid #ebebeb; + margin-left: 20px; + + &.send { + background-color: #fddf6d; + border: 1px solid #fddf6d; + } + } + } + } + } + .comment-title { font-size: 16px; line-height: 20px; @@ -1874,3 +1930,4 @@ } } } + diff --git a/components/Item.vue b/components/Item.vue index 63acd32..4d3d77b 100644 --- a/components/Item.vue +++ b/components/Item.vue @@ -31,10 +31,11 @@ {{ formatNumberWithCommas(item["views"] || 0) }}