Commit 20ac961b authored by 夏彬's avatar 夏彬

修改评论弹出款js

parent 3ff3d5ad
......@@ -74,6 +74,11 @@ function tpl(comment) {
//回复弹窗
function popReplyComment(id) {
var parent = $('.comment-list').find('> li[data-id='+id+']');
var name = parent.find('> .name').text();
var content = parent.find('> .comment-main').text();
$('#reply-name').text(name);
$('#reply-content').text(content);
$("#maskCommon").show();
$(".comment-reply").show();
$("input[name='plid']").val(id);
......
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