Commit eae7048e authored by 汪波's avatar 汪波

修改回复评论框 样式

parent c02be7b8
...@@ -653,6 +653,15 @@ ...@@ -653,6 +653,15 @@
outline: none; outline: none;
font-size: 14px; font-size: 14px;
} }
.reply-root {
margin-top: 15px;
border-top: 1px solid #f3f3f3;
padding: 10px 0;
font-size: 14px;
}
.reply-root a {
color: #2C74E2;
}
.share-box { .share-box {
display: none; display: none;
......
...@@ -75,7 +75,7 @@ function tpl(comment) { ...@@ -75,7 +75,7 @@ function tpl(comment) {
//回复弹窗 //回复弹窗
function popReplyComment(id) { function popReplyComment(id) {
var parent = $('.comment-list').find('> li[data-id='+id+']'); var parent = $('.comment-list').find('> li[data-id='+id+']');
var name = parent.find('> .name').text(); var name = parent.find('> .name').text() + ':';
var content = parent.find('> .comment-main').text(); var content = parent.find('> .comment-main').text();
$('#reply-name').text(name); $('#reply-name').text(name);
$('#reply-content').text(content); $('#reply-content').text(content);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment