.
This commit is contained in:
@@ -561,4 +561,5 @@ body .fly-user-main{position: relative; min-height: 600px;}
|
||||
.site-mobile .site-mobile-shade{content: ''; position: fixed; top: 0; bottom: 0; left: 0; right: 0; background-color: rgba(0,0,0,.9); z-index: 999;}
|
||||
}
|
||||
|
||||
.layui-form-select dl{z-index: 10002;}
|
||||
.layui-form-select dl{z-index: 10002;}
|
||||
.at_user{color: #1e9fff;}
|
@@ -156,12 +156,14 @@ layui.define(['fly','laypage'], function(exports){
|
||||
});
|
||||
}
|
||||
,reply: function(li){ //回复
|
||||
var val = dom.content.val();
|
||||
var aite = '@'+ li.find('.fly-detail-user cite').text().replace(/\s/g, '');
|
||||
dom.content.focus()
|
||||
if(val.indexOf(aite) !== -1) return;
|
||||
dom.content.val(aite +' ' + val);
|
||||
//var val = dom.content.val();
|
||||
var aite = '@'+ li.find('.fly-detail-user cite').text().replace(/\s/g, '') + ' ';
|
||||
//dom.content.focus()
|
||||
//if(val.indexOf(aite) !== -1) return;
|
||||
//dom.content.val(aite +' ' + val);
|
||||
$("input[name='pid']").val(li.data('id'));
|
||||
editor.cmd.do('insertHTML', "<p class='at_user'>"+aite+"</p>");
|
||||
//editor.txt.append();
|
||||
}
|
||||
,accept: function(li){ //采纳
|
||||
var othis = $(this);
|
||||
|
Reference in New Issue
Block a user